aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | [feature/new-tz-handling] Move timezone option into its own template fileJoas Schilling2012-06-183-29/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should make it much easier for extensions to change the handling of the timezone selection PHPBB3-9558
| * | | | | | [feature/new-tz-handling] Introduce 2 step timezone selection using javascriptJoas Schilling2012-06-187-21/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | | [feature/new-tz-handling] Remove appearances of board_dst and user_dstJoas Schilling2012-06-1811-17/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | | [feature/new-tz-handling] Replace gmmktime() and mktime() with phpbb_datetimeJoas Schilling2012-06-182-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | | [feature/new-tz-handling] Fix timezone validation in ACP user sectionJoas Schilling2012-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | | [feature/new-tz-handling] Fix timezone selection on registration pageJoas Schilling2012-06-181-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | | [feature/new-tz-handling] Fix handling of timezone and dst in dateformat_selectJoas Schilling2012-06-181-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | | [feature/new-tz-handling] Fix displaying of "All times are" stringJoas Schilling2012-06-182-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | | [feature/new-tz-handling] Fix selecting and validating of timezone in UCPJoas Schilling2012-06-184-12/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | | Merge branch 'feature/new-tz-handling' of https://github.com/p/phpbb3 into ↵Joas Schilling2012-06-0426-210/+394
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/new-tz-handling Conflicts: phpBB/includes/functions_profile_fields.php phpBB/includes/session.php phpBB/install/database_update.php
| | * | | | | | [feature/new-tz-handling] Started on database updater changes.Oleg Pudeyev2012-03-141-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes are tricky since we need to drop user_dst column from users table, but we need it during the data migration process to properly calculate effective timezones for all users. The change here converts user_timezone to vchar and computes timezone identifiers from the offsets. It uses database-specific functions for building SQL conditionals and concatenations which need to be implemented, probably in a separate ticket. As a result the current code is not functional. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Removed DST and numeric timezone-related language.Oleg Pudeyev2012-03-144-90/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Removed DST options from templates.Oleg Pudeyev2012-03-143-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Preselect a timezone in registration.Oleg Pudeyev2012-03-144-2/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Javascript to obtain client's timezone offset and select the first timezone in our list with that offset. Changes for prosilver only. The javascript file should be shared between styles. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Sort timezones in selector by offset.Oleg Pudeyev2012-03-142-10/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the list of timezones is very long, and users are likely to know their current offset but not necessarily which city that is nearby is in the timezone database, sort the list of timezones by offset. UTC is specially handled to show up before other GMT+0 timezones. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Correct a bug preventing multiple formats working.Chris Smith2012-03-141-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Remove case mangling, the identifiers are correct.Chris Smith2012-03-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Update tz_select() to use the PHP timezone database.Chris Smith2012-03-141-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tz_select() now uses the PHP timezone database to generate the timezone selection box, it tries to use a translated language string otherwise falls back to a label produced from the timezone identifier. I've done this so new timezones are available immediately without a new language pack. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Remove code using legacy timezone properties.Chris Smith2012-03-145-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code accessing the legacy user::$timezone and user::$dst properties has been removed and replaced with code utilising user::create_datetime(). Changed by Oleg: in viewtopic, memberlist and index use getTimestamp() + getOffset(). We show members that have birthdays on the specified date. getTimestamp() returns the current date in UTC. We add getOffset() to obtain the current local time in the viewing user's timezone. Then we find members having birthday on this date. Changed by Oleg again: Take leap year status out of the datetime object we have, this seems like it should work as one would expect. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Modify database schemas.Chris Smith2012-03-148-16/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Dropped the user_dst column which is no longer required. - Modified the user_timezone column to take a string, max length 100. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Removed line that was missed in cc312d8.Chris Smith2012-03-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Fix bug from 3.0 formatting future dates.Chris Smith2012-03-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Future dates can get formatted as 'less than a minute ago' if they occur in the future on the same minute as the current minute. PHPBB3-9558 PHPBB3-9712
| | * | | | | | [feature/new-tz-handling] Check the is_short flag stored inside the format ↵Chris Smith2012-03-141-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | array. Reuse the existing check store in the format array to determine if the date time format supports relative formatting. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Fix undefined variable.Chris Smith2012-03-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Explained name of phpbb_datetime::getTimestamp()Chris Smith2012-03-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | phpbb_datetime::getTimestamp() exists purely to support PHP 5.2 which does not implement the method. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Added phpbb_datetime::__toString().Chris Smith2012-03-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New phpbb_datetime::__toString() magic method that formats the datetime according to the users default settings. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Comment and optimise phpbb_datetime::format().Chris Smith2012-03-141-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added comments explaining the complex time computations for rendering relative date times. - Replaced some repeated method invokations with variables. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Correct typo in member comment.Chris Smith2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Fixed bug with signature of user::create_datetime().Chris Smith2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First argument to user::create_datetime() should be optional. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Added a user::create_datetime() method.Chris Smith2012-03-141-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New method which handles instantiating new phpbb_datetime objects in the context of the current user. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Replace user::$timezone with user::$tz.Chris Smith2012-03-141-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user::$tz will store the new DateTimeZone object representing the users timezone instead of the existing user::$timezone and user::$dst combination. PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Remove old user::$dst propertyChris Smith2012-03-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Correct capitalisation of phpbb_datetime.Chris Smith2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Update user methods to use new date processing class.Chris Smith2012-03-141-63/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user::setup() now stores a DateTimeZone object in user::$timezone representing the users timezone. For backwards compatibility a numeric value in user/board_timezone will be converted into one of the legacy Etc/GMT±X timezones. This will be used until the user updates his/her timezone in the UCP. user::format_date() is now basically a legacy wrapper that transforms a UTC UNIX timestamp into a formatted localised date using phpbb_datetime::format(). PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Renamed old variables and removed extra conditional.Chris Smith2012-03-141-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Use phpbb_datetime rather than phpbb_DateTime.Chris Smith2012-03-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| | * | | | | | [feature/new-tz-handling] Wrapper around DateTime for new date time handling.Chris Smith2012-03-141-0/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrapped PHP's DateTime with some extensions for supporting phpBB's relative date formats and provided the DateTime::getTimestamp() method to PHP < 5.3. PHPBB3-9558
* | | | | | | | Merge remote-tracking branch 'Fyorl/ticket/10944' into developAndreas Fischer2012-07-191-6/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fyorl/ticket/10944: [ticket/10944] strpos now stricter and removed superfluous ternary [ticket/10944] Reverted changes in PHPBB3-10963
| * | | | | | | | [ticket/10944] strpos now stricter and removed superfluous ternaryFyorl2012-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10944
| * | | | | | | | [ticket/10944] Reverted changes in PHPBB3-10963Fyorl2012-07-171-6/+9
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is_image now just checks the mimetype reported by the browser and get_mimetype goes back to being unused. PHPBB3-10944
* | | | | | | | Merge remote-tracking branch 'Fyorl/ticket/10992' into developAndreas Fischer2012-07-191-17/+24
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fyorl/ticket/10992: [ticket/10992] Changed octetstream to octet-stream [ticket/10992] test_empty_file() now tries to upload the correct file [ticket/10992] Modified upload tests to work with new version
| * | | | | | | | [ticket/10992] Changed octetstream to octet-streamFyorl2012-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10992
| * | | | | | | | [ticket/10992] test_empty_file() now tries to upload the correct fileFyorl2012-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10992
| * | | | | | | | [ticket/10992] Modified upload tests to work with new versionFyorl2012-07-161-17/+24
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10992
* | | | | | | | Merge branch 'develop-olympus' into developAndreas Fischer2012-07-196-21/+61
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10981] Added check for PHP version before running composer [ticket/10981] Modified travis to use composer with --dev [ticket/10981] Removed setupBeforeClass [ticket/10981] Modified functional framework to account for goutte changes [ticket/10981] Added goutte via composer Conflicts: .travis.yml composer.phar phpBB/composer.json phpBB/composer.lock tests/bootstrap.php
| * | | | | | | Merge remote-tracking branch 'Fyorl/ticket/10981' into develop-olympusAndreas Fischer2012-07-197-13/+85
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fyorl/ticket/10981: [ticket/10981] Added check for PHP version before running composer [ticket/10981] Modified travis to use composer with --dev [ticket/10981] Removed setupBeforeClass [ticket/10981] Modified functional framework to account for goutte changes [ticket/10981] Added goutte via composer
| | * | | | | | | [ticket/10981] Added check for PHP version before running composerFyorl2012-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10981
| | * | | | | | | [ticket/10981] Modified travis to use composer with --devFyorl2012-07-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10981
| | * | | | | | | [ticket/10981] Removed setupBeforeClassFyorl2012-07-171-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10981
| | * | | | | | | [ticket/10981] Modified functional framework to account for goutte changesFyorl2012-07-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10981