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
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
Hypolite Petovan
391c591322
Add pwdreset_time field to user table
2018-01-20 18:06:58 -05:00
Hypolite Petovan
209c43ebbc
Centralize password hashing in Model\User
2018-01-20 17:32:24 -05:00
Michael
7be49d9411
Don't delete - but only mark as deleted
2018-01-20 22:16:43 +00:00
Adam Magness
5d03735238
Update hook names
...
update hook names and other plugin references.
2018-01-20 08:22:18 -05:00
Adam Magness
b86b04a81a
Change plugin to addon
...
change the use of plugin to addon where appropriate.
2018-01-20 07:48:22 -05:00
Adam Magness
6c4c567319
Remove require
...
remove require_once for plugins.php
2018-01-20 07:48:22 -05:00
Adam Magness
d07536e032
Update Theme functions and calls
...
Update function names and calls for Theme class.
2018-01-20 07:48:22 -05:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Adam Magness
213f6ae1a1
Create Addon and Theme classes
...
Create Addon and Theme classes and functions from plugin.php to appropriate class.
2018-01-20 07:48:22 -05:00
Hypolite Petovan
98344a9d08
Remove reference to RINO version 2
2018-01-19 12:06:09 -05:00
Hypolite Petovan
2c284f30c2
Revert bumping the site RSA key strength to 2048
2018-01-19 11:58:26 -05:00
Hypolite Petovan
dd07c47ab2
Code cleanup in Protocol\DFRN
...
- Remove commented out code
- Fix mixed quote style
2018-01-19 11:50:43 -05:00
Hypolite Petovan
035394cbf2
RINO code cleanup
...
- Restore original use Friendica\Util\Crypto
- Remove RINO1 deprecation comments
- Fix undefined variable $rino_remote_version
2018-01-19 11:34:56 -05:00
Hypolite Petovan
5bc7f4a442
Remove RINO2 and RINO3
2018-01-19 11:27:53 -05:00
Hypolite Petovan
cadf8c5e5d
Bump new users RSA key strength
2018-01-19 11:27:53 -05:00
Hypolite Petovan
7af6cc8454
Add RINO version 3 encrypt/decrypt
...
- Add legacy decrypt of RINO2
- Add fallback to RINO1 to encrypt
2018-01-19 11:27:53 -05:00
Michael
7b3e334f06
"save to folder" and "mark" can't work on global items
2018-01-18 20:54:40 +00:00
Michael
2df44eb084
Liking of your own stuff wasn't possible/enable dislike for Diaspora
2018-01-18 20:16:14 +00:00
Michael
034d46196f
"last-child" is not used anymore
2018-01-18 06:54:44 +00:00
Michael
2d66242b4f
The delete function is now changed to the new function
2018-01-17 23:22:01 +00:00
Michael
000e6457b4
Merge remote-tracking branch 'upstream/develop' into item-delete
2018-01-17 21:54:17 +00:00
Michael
fbb024d151
Avoid sql error in process handling
2018-01-17 14:10:30 +00:00
Michael
947a1b894f
Wall postings need to be treated especially as well.
2018-01-17 14:09:24 +00:00
Michael
2df5a14ce5
Delete could work now, needs testing
2018-01-17 07:08:49 +00:00
Michael
32c1c04a1c
Merge remote-tracking branch 'upstream/develop' into item-delete
2018-01-17 06:12:11 +00:00
Hypolite Petovan
c1c9a829fa
Add missing include in Model\Process
2018-01-17 00:17:58 -05:00
Hypolite Petovan
f193f01a7d
Fix issues in changed files
...
- Initializes $return in Process::insert
- Update the type hint of dba::fetch
- Remove unused $a parameter in worker_init()
- Fix uses
2018-01-17 00:17:58 -05:00
Hypolite Petovan
ad88b6e3af
Fix issues in App.php
...
- Fix formatting
- Add method visibility
- Remove unused properties
- Remove unused methods
- Remove unused parameters
- Fix implode parameter order (?!)
2018-01-17 00:17:58 -05:00
Hypolite Petovan
78ac7afe9c
Move process functions to Model\Process
...
- Add start|endProcess functions to Core\Worker
2018-01-17 00:17:58 -05:00
Michael
3ecdbb6a59
Standards
2018-01-16 23:20:07 +00:00
Michael
63a4105a59
New item class function for delete
2018-01-16 23:16:53 +00:00
Michael
f30275f6db
Oh, standards ...
2018-01-16 22:46:20 +00:00
Michael
c4d3ab6878
Transfer all item shadow functions to the item class
2018-01-16 22:23:19 +00:00
Hypolite Petovan
0c4d7cd1a1
Merge pull request #4258 from zeroadam/BugFixQueue-#4256
...
Fix class name issue
2018-01-16 09:04:43 -05:00
Adam Magness
5d8f798ef7
Fix class name issue
...
use Model\Queue as QueueModel and update function calls.
2018-01-16 08:49:08 -05:00
Sandro Santilli
032c87d718
Do not "pollute" global namespace with LightOpenID symbol
2018-01-16 13:11:38 +01:00
Sandro Santilli
6bc096b150
Fix LightOpenID usage
...
otherwise failing with:
PHP Fatal error: Class 'Friendica\\Module\\LightOpenID' not found in src/Module/Login.php on line 68
2018-01-16 10:48:59 +01:00
Adam Magness
920a9b9b12
Remove requires
...
remove require_once statements
2018-01-15 20:16:14 -05:00
Adam Magness
33ac7a529f
Update functions and calls
...
update function names and calls
2018-01-15 20:12:07 -05:00
Adam Magness
a5b3f4b2ba
Create Queue class
...
Create queue class and functions from queue_fn.php
2018-01-15 19:28:39 -05:00
Adam Magness
246e673659
Review updates
2018-01-15 17:42:12 -05:00
Adam Magness
bb08f87bba
Remove old file
...
remove include/nav.php
2018-01-15 17:12:39 -05:00
Adam Magness
bd63a36269
use dba
...
add use dba
2018-01-15 17:09:06 -05:00
Adam Magness
0f546f7f0f
Update functions and calls
...
Update function names and scope. update calls.
2018-01-15 17:09:06 -05:00
Adam Magness
ac317060fb
Create Nav class
...
create nav class and function from include/nav.php
2018-01-15 17:09:06 -05:00