aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | [ticket/11538] Add optional switch as argument to hex colour validationMarc Alexander2013-05-193-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of $optional will decide whether an empty string will be treated as incorrect input or if it is allowed. The optional argument will default to false and therefore treat an empty string as incorrect unless explicitly told to not do so. PHPBB3-11538
| | | * | | [ticket/11538] Limit comment in acp_groups to 80 characters per lineMarc Alexander2013-05-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11538
| | | * | | [ticket/11538] Merge calls to validate_data() in acp_groupsMarc Alexander2013-05-191-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11538
| | | * | | [ticket/11538] Rename phpbb_validate_colour to phpbb_validate_hex_colourMarc Alexander2013-05-193-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11538
| | | * | | Merge branch 'develop-olympus' of https://github.com/phpbb/phpbb3 into ↵Marc Alexander2013-05-171-1/+1
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | ticket/11538
| | | * | | | [ticket/11538] Add function phpbb_validate_colour for validating coloursMarc Alexander2013-05-163-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will be possible to use this function via the validate_data() function interface that has already been used previously. Thus, this new function will extend the capabilities of validate_data() to checking hex color values. PHPBB3-11538
| | | * | | | [ticket/11538] Make sure regex doesn't allow multiple color valuesMarc Alexander2013-05-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will now make sure that 'AAFF00' will be matched but strings like 'AAFF00 AABB00' will not. PHPBB3-11538
| | | * | | | [ticket/11538] Simplify colour value check and remove support for '#'Marc Alexander2013-05-142-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The input length for the hex color is now limited to 6 characters and the support for colors starting with a '#' has been dropped. The allowed input length of 7 in prosilver seems to have been a relict from old ages of phpBB3. In order to have proper support for correct checking of the colour value, the new code was also ported to the ACP groups manage page. The tests have been modified to reflect the changes to the behavior of the color check. Tests for the ACP will follow. PHPBB3-11538
| | | * | | | [ticket/11538] Fix incorrect regex and test for duplicate # in color stringMarc Alexander2013-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11538
| | | * | | | [ticket/11538] Use regex for testing color value and improve testsMarc Alexander2013-05-141-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are now using a regex with preg_match() in order to properly check if the entered color value is in hex color format or not. A proper error message is triggered if an incorrect color value is entered and the prepended '#' is removed if necessary. PHPBB3-11538
| | | * | | | [ticket/11538] Make sure group color can't exceed maximum of 6 charactersMarc Alexander2013-05-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to prevent future issues with this, a basic set of functional tests for the UCP groups manage page have been added. PHPBB3-11538
| * | | | | | Merge remote-tracking branch 'EXreaction/ticket/11435-2' into developDavid King2013-05-222-30/+78
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/11435-2: [ticket/11435] Enable spacing test as it should now pass [ticket/11435] Create new template filter option (cleanup)
| | * | | | | | [ticket/11435] Create new template filter option (cleanup)Nathan Guse2013-05-202-30/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to only run cleanup on the last run of template compilation and not cleanup during event parsing PHPBB3-11435
| * | | | | | | Merge remote-tracking branch 'remotes/Senky/ticket/11010' into developNathaniel Guse2013-05-219-83/+116
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Senky (19) and others # Via Senky * remotes/Senky/ticket/11010: (32 commits) [ticket/11010] properly tabifying 'max_autologin_time' [ticket/11010] resolving latest comments [ticket/11010] Fixes for number input in acp [ticket/11010] Fix input type for urls [ticket/11010] Fix email inputs [ticket/11010] updating tests [ticket/11010] dealing with dimensions problem, removing extra code [ticket/11010] Change input type to search for search forms [ticket/11010] Add all HTML5 input types to ACP [ticket/11010] Add HTML5 input types to installer [ticket/11010] validation to match type [ticket/11010] displaying min and max only if they are set [ticket/11010] fixing tests [ticket/11010] replacing maxlenght with max [ticket/11010] applying some of EXreaction notes [ticket/11010] Try to keep min < max. [ticket/11010] Mock user in order for the test to run standalone. [ticket/11010] Progress toward fixing the test suite. [ticket/11010] adding type="url" to 'site_home_url' [ticket/11010] fixing inputs types in memberlist_search.html ...
| | * | | | | | | [ticket/11010] properly tabifying 'max_autologin_time'Senky2013-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] resolving latest commentsSenky2013-05-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] Fixes for number input in acpVjacheslav Trushkin2013-05-205-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] updating testsSenky2013-05-201-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] dealing with dimensions problem, removing extra codeSenky2013-05-202-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] Add all HTML5 input types to ACPVjacheslav Trushkin2013-05-201-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add all new HTML5 input types to functions_acp.php, handle them as text for now PHPBB3-11010
| | * | | | | | | [ticket/11010] validation to match typeSenky2013-05-202-48/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] displaying min and max only if they are setSenky2013-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] replacing maxlenght with maxSenky2013-05-203-62/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] applying some of EXreaction notesSenky2013-05-202-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] adding type="url" to 'site_home_url'Senky2013-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] adding type="number" to inputs in functions_profile_fields.phpSenky2013-05-201-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] fixing problems with 4th parameter in number typeSenky2013-05-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] adding type="number" in ACP; adding type="email" in installSenky2013-05-203-59/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] changing email and url input types in php filesSenky2013-05-203-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| | * | | | | | | [ticket/11010] adding new input types into build_cfg_template()Senky2013-05-201-0/+2
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11010
| * | | | | | | Merge remote-tracking branch 'remotes/upstream/develop-olympus' into developNathan Guse2013-05-202-2/+2
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| / / / / / | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | # By David King # Via David King (1) and Nathan Guse (1) * remotes/upstream/develop-olympus: [ticket/11551] Fix error in system tab if get_remote_file returns empty string
| | * | | | | [ticket/11551] Fix error in system tab if get_remote_file returns empty stringDavid King2013-05-202-2/+2
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently a debug error is thrown. With this patch, it fails without keeping the admin from being able to access the rest of the System modules by showing a nicer error "Failed to obtain latest version information." PHPBB3-11551
| * | | | | Merge remote-tracking branch 'EXreaction/ticket/11413' into developDavid King2013-05-208-119/+306
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/11413: (23 commits) [ticket/11413] Revert some cache service related changes from earlier [ticket/11413] Use phpbb_user in test [ticket/11413] $user should have been $this->user [ticket/11413] Fix unit tests [ticket/11413] Translate the error [ticket/11413] Rename file to something more helpful [ticket/11413] Remove remaining irrelevant code to this PR [ticket/11413] Remove mock sql_insert_buffer.php (not relevant to PR) [ticket/11413] Remove conversion of user_notifications [ticket/11413] Correct copyright year [ticket/11413] Remove changes for ticket 11420 from this branch [ticket/11413] Include mock class [ticket/11413] Don't use the database for the convert test [ticket/11413] Test get_notification_type_id and _ids functions [ticket/11413] Use sql_insert_buffer [ticket/11413] Create test for notification conversion [ticket/11413] Fix test fixtures and tests [ticket/11413] Fix some more tests [ticket/11413] Fix notification tests [ticket/11413] Prevent recursive function calls ...
| | * | | | | [ticket/11413] Revert some cache service related changes from earlierNathaniel Guse2013-05-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] $user should have been $this->userNathaniel Guse2013-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Translate the errorNathan Guse2013-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Rename file to something more helpfulNathan Guse2013-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Remove remaining irrelevant code to this PRNathaniel Guse2013-05-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Remove conversion of user_notificationsNathaniel Guse2013-05-021-90/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Correct copyright yearNathaniel Guse2013-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Remove changes for ticket 11420 from this branchNathaniel Guse2013-05-021-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Don't use the database for the convert testNathaniel Guse2013-04-301-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Different databases seem to work slightly differently here and are causing errors PHPBB3-11413
| | * | | | | [ticket/11413] Use sql_insert_bufferNathaniel Guse2013-04-301-19/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Fix notification testsNathaniel Guse2013-04-293-4/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Send types/methods the cache service, not the driver (not sure why the driver was sent before) PHPBB3-11413
| | * | | | | [ticket/11413] Prevent recursive function callsNathaniel Guse2013-04-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Undo editing the user_notifications tableNathaniel Guse2013-04-296-70/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | item_type is not equivalent to notification_type_name, it can be a generic string (typically used to be able to subscribe to multiple notification types while only subscribing to one item PHPBB3-11413
| | * | | | | [ticket/11413] Rename columns in notification/manager.phpNathaniel Guse2013-04-281-111/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11413
| | * | | | | [ticket/11413] Schema changes and migration fileNathaniel Guse2013-04-282-64/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notifications tables are dropped because phpBB currently does not have any way to make the necessary changes to the DB schema (and no release has yet been made with these changes). This will fix the following bugs: PHPBB3-11411 PHPBB3-11413 PHPBB3-11414 PHPBB3-11416 PHPBB3-11420 PHPBB3-11413
| * | | | | | Merge remote-tracking branch 'remotes/cyberalien/ticket/11482' into developNathan Guse2013-05-201-0/+28
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Vjacheslav Trushkin # Via Vjacheslav Trushkin * remotes/cyberalien/ticket/11482: [ticket/11482] Use double quotes for code [ticket/11482] Unit tests for advanced DEFINE [ticket/11482] Implementation of advanced DEFINE tag
| | * | | | | | [ticket/11482] Use double quotes for codeVjacheslav Trushkin2013-04-101-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use double quotes for code to avoid excessive escaping PHPBB3-11482