-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add more checks #611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more checks #611
Conversation
| allowClear: false, | ||
| multiple: false, | ||
| placeholder: t('workflowengine', 'Select tag…'), | ||
| query: _.debounce(function(query) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice 👍
|
9a5642a to
008ebd6
Compare
008ebd6 to
4140aea
Compare
| return; | ||
| } | ||
|
|
||
| var placeholder = '["10:00 Europe\\/Berlin","16:00 Europe\\/Berlin"]'; // FIXME need a time picker JS plugin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MorrisJobke can you help with this maybe? I really suck at such stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
|
Pushed again, fixed the exception for missing tag input |
|
I will push my local stuff tomorrow. |
.htaccess
Outdated
| </IfModule> | ||
| #### DO NOT CHANGE ANYTHING ABOVE THIS LINE #### | ||
|
|
||
| ErrorDocument 403 /server/core/templates/403.php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f138b3c to
67eb894
Compare
| class RequestTime implements ICheck { | ||
|
|
||
| const REGEX_TIME = '([0-1][0-9]|2[0-3]):([0-5][0-9])'; | ||
| const REGEX_TIMEZONE = '([a-zA-Z]+(?:\\\\\\/[a-zA-Z\-\_]+)+)'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈 Just let DateTime parse the time stamp and then handle the exceptions that are thrown. This one here is so error prone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normal slashes aren't escaped in JSON BTW ;)
b8f47ae to
6aa5d67
Compare
|
Ready to review @MorrisJobke @schiessle |
| class RequestTime extends Controller { | ||
|
|
||
| /** | ||
| * @NoCSRFRequired |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reason?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
Works 👍 |
|
Counting the resolved comments from Lukas as +1 |
Add more checks
Todo
Fix #617
Fix #576