Commit graph

18006 commits

Author SHA1 Message Date
Hypolite Petovan cea80c78e4 Replace remaining functions in include/datetime by Temporal methods
- Fix uses statements
2018-02-03 20:47:37 -05:00
Michael Vogel d0c9e7939c
Merge pull request #4388 from MrPetovan/develop
Use syntaxic sugar in L10n::t()
2018-02-03 22:12:36 +01:00
Michael Vogel 3a7dd5e891
Merge pull request #4382 from MrPetovan/task/3878-move-session-to-src
Move include/session to src/
2018-02-03 21:02:09 +01:00
Hypolite Petovan 16cab7c6ce Use syntaxic sugar in L10n::t() 2018-02-03 13:46:01 -05:00
Hypolite Petovan 876acd68a0
Merge branch 'develop' into task/3878-move-session-to-src 2018-02-03 11:59:43 -05:00
Tobias Diekershoff e5a5a7dc7b
Merge pull request #4386 from MrPetovan/task/3878-move-friendica_smarty-to-src
Move SMARTY3_TEMPLATE_FOLDER to FriendicaSmarty
2018-02-03 17:01:30 +01:00
Tobias Diekershoff 9b37f5c085
Merge pull request #4327 from MrPetovan/task/3878-move-datetime-to-src
Move include/datetime to src - Part 1
2018-02-03 16:17:02 +01:00
Hypolite Petovan 5cca8562bc Move datetimepicker javascript to field_datetime.tpl
- Add type hint to getDateTimeField() arguments
2018-02-03 09:53:45 -05:00
Hypolite Petovan 1e99cea033 [frio] Fix spacing in field_input.tpl 2018-02-03 09:51:23 -05:00
Hypolite Petovan 7f5af05d25 Fix wrong default format for default date in mod/events 2018-02-03 09:51:05 -05:00
Hypolite Petovan 593774b613 Update moved method Item::performLike() with DateTypeFormat
- Update use list
2018-02-03 08:56:55 -05:00
Hypolite Petovan 59a5b13d2a Remove stray semicolon in Util\Temporal 2018-02-03 08:56:55 -05:00
Hypolite Petovan 0454d0a670 Fix incorrect Temporal reference after Item function move rebase 2018-02-03 08:56:55 -05:00
Hypolite Petovan bb5670016e Fix wrong self references in Util\Temporal 2018-02-03 08:56:55 -05:00
Hypolite Petovan 5518ef2fb4 Fix include/boot uses 2018-02-03 08:56:55 -05:00
Hypolite Petovan 5e7285b9ba Move Temporal::convert() to DateTimeFormat::convert() 2018-02-03 08:56:55 -05:00
Hypolite Petovan b7a7355292 Simplify include/bb2diaspora event format 2018-02-03 08:56:53 -05:00
Hypolite Petovan 0bee706e51 Add Temporal::local() shorthand for Temporal::convert() 2018-02-03 08:56:53 -05:00
Hypolite Petovan 25954314ec Add missing Temporal::utc() 2018-02-03 08:56:53 -05:00
Hypolite Petovan a2ee2b56d2 Add Temporal::localNow() shorthand for Temporal::convert() 2018-02-03 08:56:53 -05:00
Hypolite Petovan 89602e44da Add Temporal::timezoneNow() shorthand for Temporal::convert() 2018-02-03 08:56:53 -05:00
Hypolite Petovan 35d06bd9eb Add Temporal::utc() shorthand to Temporal::convert() 2018-02-03 08:56:53 -05:00
Hypolite Petovan ca8209a2ce Add missing use in DBM 2018-02-03 08:56:53 -05:00
Hypolite Petovan 8aff8a76eb Add Temporal::utcNow() 2018-02-03 08:56:52 -05:00
Hypolite Petovan 38ff1b455b Add Temporal::MYSQL constant
- Rename Temporal::convert() parameter names
2018-02-03 08:56:52 -05:00
Hypolite Petovan b854905150 Move ATOM_TIME to Temporal::ATOM 2018-02-03 08:56:52 -05:00
Hypolite Petovan c0e2ee95c5 Add back missing use in Diaspora 2018-02-03 08:56:51 -05:00
Hypolite Petovan dc366bf1f7 Refactor datetime_convert into Temporal::convert
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Hypolite Petovan d478ef6c6d Add Util\Temporal to src
- Map include/datetime functions to Temporal methods
- Move update_contact_birthdays() to Model\Contact::updateBirthdays()
2018-02-03 08:56:51 -05:00
Hypolite Petovan 7be49913d4 Remove get_template_file function 2018-02-03 08:52:55 -05:00
Hypolite Petovan 411a400472 Move SMARTY3_TEMPLATE_FOLDER to FriendicaSmarty
- Copy get_template_file into only class calling it
2018-02-03 08:52:43 -05:00
Hypolite Petovan 3df7502dcf Use defaults for setting session variables in index.php 2018-02-03 08:42:12 -05:00
Hypolite Petovan 87b19dd9ac Remove include/session file 2018-02-03 08:40:18 -05:00
Hypolite Petovan d5753b21ae Switch to Core\Session
- Remove reference to include/session
- Use new Session::init()
- Prevent variable re-assignation if they're just empty
- Deprecate killme() function
- Correct DOMXPath class spelling
2018-02-03 08:40:18 -05:00
Hypolite Petovan 55c63949c4 Clean up Core\Cache file
- Remove unused use statement
- Use explicit types for Memcache object
2018-02-03 08:40:18 -05:00
Hypolite Petovan ae68196e8d Add new Session classes in src/ 2018-02-03 08:40:18 -05:00
Michael Vogel 2a00ac790f
Merge pull request #4385 from tobiasd/20180203-smarties
added missing constant
2018-02-03 13:38:55 +01:00
Michael Vogel 32008b0397
Merge pull request #4384 from tobiasd/20180203-de
update for DE
2018-02-03 13:36:00 +01:00
Tobias Diekershoff 6500c32362 added missing constant 2018-02-03 11:11:00 +01:00
Tobias Diekershoff e805350ce4
Merge pull request #4375 from MrPetovan/task/3878-move-friendica_smarty-to-src
Move include/friendica_smarty to src/
2018-02-03 10:32:32 +01:00
Tobias Diekershoff 13361a0818 update for DE 2018-02-03 10:17:15 +01:00
Michael Vogel a8e6d145cd
Merge pull request #4383 from MrPetovan/develop
Add phpinfo page only accessible to admins
2018-02-03 08:19:13 +01:00
Hypolite Petovan fb0a21c0a2 Add phpinfo page only accessible to admins 2018-02-03 01:26:28 -05:00
Michael Vogel 8f1f2c8366
Merge pull request #4381 from tobiasd/20180202-doc2
Typo in the docs
2018-02-02 16:56:32 +01:00
Tobias Diekershoff e0996d19a1 Typo 2018-02-02 16:33:55 +01:00
Hypolite Petovan 8bb44c8843
Merge pull request #4380 from annando/nodeinfo2
We now support querying nodeinfo 2.0
2018-02-02 09:56:03 -05:00
Michael Vogel aa0d548106
Merge pull request #4379 from MrPetovan/bug/4377-already-declared-class-oauthconsumer
Remove conditional declaration of OAuthException
2018-02-02 14:59:57 +01:00
Michael 02ed22ba43 We now support querying nodeinfo 2.0 2018-02-02 13:53:40 +00:00
Hypolite Petovan 85ec2775e9 Remove conditional declaration of OAuthException 2018-02-02 08:08:07 -05:00
Hypolite Petovan 03c1f2cbf8 Fix formatting in Render/FriendicaSmarty* 2018-02-02 07:47:42 -05:00