Commit graph

18072 commits

Author SHA1 Message Date
Michael Vogel
3025829040
Merge pull request #4394 from tobiasd/20180204-credits
regen credits
2018-02-04 10:53:16 +01:00
Tobias Diekershoff
3ee201648a regen credits 2018-02-04 09:56:03 +01:00
Hypolite Petovan
ef77a772e5 Remove include/tags.php 2018-02-04 00:00:11 -05:00
Hypolite Petovan
2a486903d1 Remove references to include/tags.php 2018-02-03 23:59:31 -05:00
Hypolite Petovan
9f3acceac7 Replace references to include/tags functions 2018-02-03 23:57:47 -05:00
Hypolite Petovan
d00c6111fd Replace include/tags function content with references to src methods 2018-02-03 23:52:36 -05:00
Hypolite Petovan
507bea0e9f Copy functions from include/tags to src
- Create Content\Widget\TagCloud
- Populate Worker\TagUpdate::execute
- Add Content\Widget::tagCloud
- Add Model\Term::insertFromItemId and Model\Term::insertFromItemUri
2018-02-03 23:51:40 -05:00
Hypolite Petovan
0abe4158d2 Rename Term methods ahead of the move
- Rename createFromItemURI() to insertFromItemFileByUri()
- Rename createFromItem() to insertFromItemFileById()
2018-02-03 22:42:31 -05:00
Hypolite Petovan
16c6806c5b Add documentation for system.dlogip setting 2018-02-03 21:46:42 -05:00
Hypolite Petovan
3dda70baf1 Add system.dlogip setting usage in dlogger() 2018-02-03 21:46:28 -05:00
Hypolite Petovan
7333296b8d Deprecate DBM::date() 2018-02-03 21:39:53 -05:00
Hypolite Petovan
143b453c17 Use DateTimeFormat::utc on Atom feed dates
- Fix some formatting in Protocol\PortableContact
2018-02-03 21:39:35 -05:00
Hypolite Petovan
4050a7b8dc Replace forgotten datetime_convert() instances 2018-02-03 20:47:37 -05:00
Hypolite Petovan
6b50c42de6 Actually delete include/datetime.php 2018-02-03 20:47:37 -05:00
Hypolite Petovan
d037300d3b Remove include/datetime.php 2018-02-03 20:47:37 -05:00
Hypolite Petovan
f020292408 Remove references to include/datetime 2018-02-03 20:47:37 -05:00
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