Commit graph

18644 commits

Author SHA1 Message Date
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
6500c32362 added missing constant 2018-02-03 11:11:00 +01:00
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
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
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
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
Hypolite Petovan
99eb696386 Remove include/friendica_smarty 2018-02-02 07:46:13 -05:00
Hypolite Petovan
65713f26f4 Remove references to include/friendica_smarty 2018-02-02 07:46:13 -05:00
Hypolite Petovan
42c97db724 Switch register_template_engine() to the only one available
- get_declared_classes() can't be used with autoloading
- Removed killme() to prevent infinite loop during App object
instantiation
2018-02-02 07:46:13 -05:00
Hypolite Petovan
f574528338 Add FriendicaSmarty and FriendicaSmartyEngine classes in src 2018-02-02 07:46:13 -05:00
Michael Vogel
7cf198696e
Merge pull request #4378 from tobiasd/20180202-doc
some additions to the developer-intro docs
2018-02-02 08:44:14 +01:00
efa6b2b9f0 add hook description to automatically update the dependencies via git-hooks to devel docs 2018-02-02 08:08:09 +01:00
5c02e569f1 there is a label, even linked now 2018-02-02 07:53:27 +01:00
efd5bf27e9 name Friendiqa as client in devel docs as the one to help improving 2018-02-02 07:50:22 +01:00
92f0ad0c51
Merge pull request #4376 from MrPetovan/task/3878-move-include-like-to-src
Move include/like to src/
2018-02-02 07:15:26 +01:00
Hypolite Petovan
1ef02bd36b Remove include/like 2018-02-01 14:17:31 -05:00
Hypolite Petovan
974539913c Remove include/like references 2018-02-01 14:17:22 -05:00
Hypolite Petovan
a286e8bf3b Replace do_like() calls 2018-02-01 14:17:08 -05:00