Commit Graph

727 Commits

Author SHA1 Message Date
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
Adam Magness f7e9b74dca Update function and sprintf
Update variable to static function and remove sprintf wrappers
2018-01-23 12:47:30 -05:00
Adam Magness 7158aa7ded Update variable
update based on error log
2018-01-22 22:30:45 -05:00
Adam Magness f0725ae384 Hopefully all t()
hopefully the last of the t()
2018-01-22 18:03:26 -05:00
Adam Magness 83f1149d04 More missing t()
update t() calls
2018-01-22 18:03:26 -05:00
Adam Magness b4d0df18c5 Remove old file and requires
Remove pgettext.php and remove require_once calls
2018-01-22 18:03:26 -05:00
Adam Magness 07d306aa37 Finish t() for src
Update t() calls in src folder
2018-01-22 18:03:26 -05:00
Adam Magness 3b0f69599e Updat tt() calls
update function calls for tt()
2018-01-22 18:03:26 -05:00
Adam Magness d49f986d1e Many t() calls
modify many t() calls.
2018-01-22 18:03:26 -05:00
Adam Magness 45f8000ba5 Functions and Calls
finish the other functions before returning to t() and tt()
2018-01-22 18:03:26 -05:00
Adam Magness c8ecc31405 Update functions and calls
Update function names and calls.
2018-01-22 18:03:26 -05:00
Adam Magness 417b32c881 Create L10n class
Create L10n class and functions from pgettext.php
2018-01-22 18:03:26 -05:00
Hypolite Petovan 4fb24d4ebb Make the user.legacy_password field boolean 2018-01-22 07:48:30 -05:00
Hypolite Petovan b0a764b14c Use password_hash() for passwords
- Use legacy_password to update double-hashed passwords
2018-01-20 22:29:03 -05:00
Hypolite Petovan c53c2fffa5 [database] Add user.legacy_password field 2018-01-20 22:24:58 -05:00
Hypolite Petovan 986e22d9e1
Merge pull request #4292 from annando/reduce-items.php
Relocate functions in items.php into several classes
2018-01-20 20:24:42 -05:00
Michael 004f46e600 Standards 2018-01-21 00:18:31 +00:00
Michael efa8dbcfb3 Relocate functions in items.php into several classes 2018-01-20 23:52:54 +00:00
Hypolite Petovan 0888f51b4b Add password reset request expiration
- Change password reset link to /lostpass/[pwdreset]
2018-01-20 18:15:55 -05:00