Commit graph

745 commits

Author SHA1 Message Date
Hypolite Petovan 6e53c615c4 Add missing requires in Text\BBCode 2018-02-04 19:33:39 -05:00
Hypolite Petovan 010cf3b1e8 Update references to BBCode methods
- Resolve name conflicts with Util\Network
2018-02-04 19:26:22 -05:00
Hypolite Petovan f91ad28319 Copy include/bbcode functions to src methods
- Add Core\Network class
2018-02-04 19:25:22 -05:00
Hypolite Petovan 2a5431a59e Rename Model\Term methods 2018-02-04 16:48:50 -05:00
Michael Vogel dad58e0f6f
Merge pull request #4387 from MrPetovan/task/3878-move-datetime-to-src
Move include/datetime to src/ - Part 2
2018-02-04 21:05:27 +01:00
Michael Vogel b0e8bedb8b
Merge pull request #4391 from MrPetovan/bug/4390-convert-last-updated-to-mysql
Convert Atom last updated date to MySQL format
2018-02-04 16:46:42 +01:00
Michael 69c851bd6f Don't generate a new guid anymore when moving the account. 2018-02-04 12:32:56 +00: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 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 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 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
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
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 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 5e7285b9ba Move Temporal::convert() to DateTimeFormat::convert() 2018-02-03 08:56:55 -05:00
Hypolite Petovan 0bee706e51 Add Temporal::local() shorthand for Temporal::convert() 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 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 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
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
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 02ed22ba43 We now support querying nodeinfo 2.0 2018-02-02 13:53:40 +00:00
Hypolite Petovan 03c1f2cbf8 Fix formatting in Render/FriendicaSmarty* 2018-02-02 07:47:42 -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
Hypolite Petovan 426fd7045a Add Model\Item::performLike function
- Fix uses
2018-02-01 14:14:11 -05:00
Michael 4949be60a8 Improved query speed 2018-02-01 00:29:47 +00:00
Hypolite Petovan ea01d7078a Remove require calls to library/asn* 2018-01-31 00:49:11 -05:00
Hypolite Petovan 13849299f9 Remove require calls to library/OAuth1 2018-01-31 00:49:11 -05:00
Hypolite Petovan be4c237766 Remove library/slinky 2018-01-31 00:49:11 -05:00
Hypolite Petovan 997b058743 Add missing use for Model\Item in Worker\Delivery 2018-01-30 21:14:44 -05:00
Michael f8526c1664 Some other message 2018-01-30 20:48:12 +00:00
Michael e08be4e921 Improved message 2018-01-30 19:31:57 +00:00
Michael edf7213297 Better message 2018-01-30 19:20:41 +00:00
Michael ae362f01d5 Quit if follow failes because of not configured addon 2018-01-30 18:51:09 +00:00
Michael 9cbc4a7355 Basic forum support for Diaspora 2018-01-30 06:22:09 +00:00
Michael 6d19c780d9 Avoid empty needle warning 2018-01-29 06:03:39 +00:00
Michael Vogel 946fc82c77
Merge pull request #4350 from MrPetovan/task/4116-move-twitteroauth-to-composer
Move TwitterOAuth to composer Part 1
2018-01-28 19:19:21 +01:00
Michael 6871481a78 Moved "limitBodySize" 2018-01-28 17:36:37 +00:00
Michael bdbfffafea Renamed the contact relationship functions 2018-01-28 17:26:39 +00:00
Michael 2cb74909c0 Standards 2018-01-28 16:28:59 +00:00
Michael 630cdaeb96 Added some defaults 2018-01-28 16:16:21 +00:00
Michael e080ea03c0 Function needed to be public, not private 2018-01-28 14:06:02 +00:00
Michael bd9cb4595d Merge remote-tracking branch 'upstream/develop' into item-move 2018-01-28 14:05:39 +00:00
Adam Magness c6443572e3 Fix old function call
Fix missed fetch_url() call
2018-01-28 09:02:19 -05:00
Michael 7b27dda784 Most functions now moved from include/items.php 2018-01-28 11:18:08 +00:00
Hypolite Petovan 17faeca241 Improve addon readme display
- Add maintainer display support
- Remove extra comma after author/maintainer lists
2018-01-28 00:10:22 -05:00
Michael d6af08fb36 FetchUrl is not FetchURL ... 2018-01-27 23:53:56 +00:00
Hypolite Petovan 236616995b Remove references to library/openid 2018-01-27 18:28:04 -05:00
Michael c2a9036145 OEmbed function was called with the wrong class name 2018-01-27 23:17:37 +00:00
Adam Magness 6c80a35953 type
friendica typo
2018-01-27 12:15:42 -05:00
Adam Magness 3220c78d70 Missing uses
missing uses for dom
2018-01-27 12:13:46 -05:00
Adam Magness 275a0aa140 missed function rename
missed rename zfetchurl
2018-01-27 12:05:05 -05:00
Adam Magness 9b8599b619 Move functions to system
move some functions to system
2018-01-27 11:59:10 -05:00
Adam Magness f04d40a37e Review update
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness 0f1be37279 Remove old file
remove network.php and all require_once statements
2018-01-27 08:28:20 -05:00
Adam Magness ca76e49c23 Move remaining functions
update remaining function calls
2018-01-27 08:25:54 -05:00
Adam Magness 1eb7c19c1e Move multiple functions
move multiple smaller functions
2018-01-26 23:51:41 -05:00
Adam Magness cd3643d174 Move xml_status and http_status_exit
move functions
2018-01-26 23:37:55 -05:00
Adam Magness a32ba32ff4 Move post_url
move post_url function
2018-01-26 23:24:23 -05:00
Adam Magness 2f9642392d Move z_fetch_url
move z_fetch_url method
2018-01-26 23:18:38 -05:00
Adam Magness c67452f72e Move fetch_url
move fetch_url function
2018-01-26 23:09:48 -05:00
Adam Magness 1b51777825 Create Network class
Create Network class and copy methods
2018-01-26 22:51:07 -05:00
Adam Magness fb05570c1d Create Plaintext class
create class and move shorten method
2018-01-26 20:26:49 -05:00
Adam Magness 177edd2b6e Rename class to BBCode
Rename Plaintext class to BBCode
2018-01-26 20:01:32 -05:00
Adam Magness 21881f2885 Update function calls
update to new function calls
2018-01-26 19:14:47 -05:00
Adam Magness 792f069c6e Create Plaintext class
create Plaintext class with functions from include/plaintext
2018-01-26 19:04:04 -05:00
Adam Magness 009c4d56c9 Update functions and dba
update some functions and add dba where possible
2018-01-25 11:29:43 -05:00
Adam Magness 1c7fd310d2 Create PostUpdate class
create new class and update call from worker
2018-01-25 11:29:43 -05:00
Tobias Diekershoff 66fe4cc5d6
Merge pull request #4326 from MrPetovan/task/fix-translation-strings
Fix translation strings
2018-01-25 07:02:09 +01:00
Michael 1828f25db8 Function renamed 2018-01-24 22:22:31 +00:00
Hypolite Petovan 9cd3b17743 Fix translation strings for use with util/extract.php
- Change parentheses to “\x28” and “\x29”
- Remove leading commas
- Remove quotes before commas
2018-01-24 16:51:32 -05:00
Michael 3ace5d0d1d Some functions had been moved away from include/items.php 2018-01-24 20:27:32 +00:00
Hypolite Petovan 30c1cc0e8c
Merge pull request #4312 from zeroadam/feature/L10n
Move pgettext to src
2018-01-24 11:48:55 -05:00
Michael 19c039242c It is now possible again to like yourself 2018-01-24 06:39:21 +00:00
Adam Magness 208a149a7b Review sprintf
remove more sprintf calls
2018-01-23 21:59:16 -05:00
Hypolite Petovan 0601ba1309 Add missing dba::inArray to Addon::reload 2018-01-23 18:57:33 -05:00
Michael 3fbc873ffe Birthdays are now transmitted reliably to Diaspora 2018-01-23 22:51:30 +00:00