Hypolite Petovan
7afcd6d49e
Update PConfig class with adapter
2018-03-06 19:52:36 -05:00
Hypolite Petovan
6fec043375
Update Config class with adapter
2018-03-06 19:52:36 -05:00
Hypolite Petovan
d760d33989
Add Config adapter interfaces/classes
2018-03-06 19:52:36 -05:00
Hypolite Petovan
059b1f63f8
Add support for multiple Memcached servers
...
- Updated htconfig documentation
2018-03-04 23:28:49 -05:00
Hypolite Petovan
95752b79e8
Add cache performance to API and worker
2018-03-04 23:13:19 -05:00
Hypolite Petovan
4954c4b9aa
Add cache timing points
2018-03-04 23:13:19 -05:00
Hypolite Petovan
3df34d33d5
Fix DatabaseCacheDriver::get SQL select
...
- Fix typo
- Fix wrong usage of NOW()
2018-03-04 23:13:19 -05:00
Hypolite Petovan
3628b62aeb
Add support for Memcached/Improve database cache
...
- Create Cache Driver interface
- Update cache table fields
- Add CacheSessionHandler
2018-03-04 23:13:19 -05:00
Michael
13df527d62
Bugfix: Don't cache when looking for maintenance mode
2018-03-04 13:01:46 +00:00
Hypolite Petovan
1907a5dbe7
Rename Acl.php to ACL.php
2018-03-03 07:40:18 -05:00
Hypolite Petovan
cd3ff100ab
Rename Acl.php to ACL.php
2018-03-03 07:38:15 -05:00
Hypolite Petovan
35d09fdad1
Fix query mistake in Acl::getSuggestContactSelectHTML
2018-03-02 18:40:09 -05:00
Hypolite Petovan
113ea38d50
Move contact_select to Acl
...
- Simplify Acl::getMessageContactSelectHTML parameters
2018-03-02 18:40:08 -05:00
Hypolite Petovan
eeafb59c31
Add new class/functions
...
- Create class Core\Acl
- Add Contact::pruneUnavailable
- Add mod_content
2018-03-02 18:40:08 -05:00
Michael
d119beef3f
Issue 4396: Avoid SQL error during UImport
2018-02-17 10:37:14 +00:00
Hypolite Petovan
9e3bae5caa
Remove references to include/bbcode.php
2018-02-14 22:01:14 -05:00
Hypolite Petovan
0c52866693
Refactor bbcode() into BBCode::convert()
2018-02-14 21:33:55 -05:00
Michael
3e456ddcb8
Issue 4396: WSOD with uimport
2018-02-14 23:13:53 +00:00
Hypolite Petovan
d419d07f73
[Scrutinizer] Fix undeclared variables in src/ (except Protocol/)
...
- Use dba::selectFirst to remove intermediate variables `$r`
- Remove unused variable `$url_recipients` in Worker\Dellivery
2018-02-14 00:05:00 -05:00
Michael
6289e307aa
Bugfix: The provided worker priority had been ignored
2018-02-13 02:26:35 +00:00
Hypolite Petovan
1d035ae2ae
Add dba::exists usages to UserImport::importAccount
2018-02-11 19:28:39 -05:00
Michael
2a762868e9
Some clean up for the worker, arrays are now supported as parameter
2018-02-11 16:18:39 +00:00
Michael
15a857e411
Line endings are converted to unix style
2018-02-09 03:49:49 +00:00
Michael
b1e91f7401
Quickfix: Removed exception since it blocked message delivery
2018-02-07 13:31:17 +00:00
Tobias Diekershoff
85c8bf0228
Merge pull request #4399 from MrPetovan/task/3878-move-include-bbcode-to-src
...
Move include/bbcode to src/ part 1 : Everything but bbcode()
2018-02-07 07:18:39 +01:00
Michael
4859a18ae4
Fixed wrong capitalation (or however this is written)
2018-02-06 23:17:18 +00:00
Michael
47d165cb25
Hook calls can now be forked into a worker queue entry
2018-02-06 22:52:36 +00:00
Michael
66e3c1836e
Addon.php was in DOS format
2018-02-06 19:35:10 +00:00
Hypolite Petovan
a0cdd9c674
Rename Core\Network to Core\Protocol
2018-02-05 12:57:41 -05:00
Hypolite Petovan
f91ad28319
Copy include/bbcode functions to src methods
...
- Add Core\Network class
2018-02-04 19:25:22 -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
69c851bd6f
Don't generate a new guid anymore when moving the account.
2018-02-04 12:32:56 +00: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
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
35d06bd9eb
Add Temporal::utc() shorthand to Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -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
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
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
630cdaeb96
Added some defaults
2018-01-28 16:16:21 +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
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
ca76e49c23
Move remaining functions
...
update remaining function calls
2018-01-27 08:25:54 -05:00
Adam Magness
c67452f72e
Move fetch_url
...
move fetch_url function
2018-01-26 23:09:48 -05:00
Hypolite Petovan
30c1cc0e8c
Merge pull request #4312 from zeroadam/feature/L10n
...
Move pgettext to src
2018-01-24 11:48:55 -05: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
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
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
Adam Magness
5d03735238
Update hook names
...
update hook names and other plugin references.
2018-01-20 08:22:18 -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
78ac7afe9c
Move process functions to Model\Process
...
- Add start|endProcess functions to Core\Worker
2018-01-17 00:17:58 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Adam Magness
4fb2547df8
Update function calls
...
update function calls to use profile class
2018-01-14 21:22:39 -05:00
Adam Magness
8be6989bd1
Review updates
...
self:: const and fix up callback function and array_walk
2018-01-14 15:56:36 -05:00
Adam Magness
e70e48abaa
constant
...
move define to const
2018-01-13 13:10:14 -05:00
Adam Magness
9e81d3dc40
Attempt anonymous
...
Try anonymous function based on review suggestion.
2018-01-13 13:08:18 -05:00
Adam Magness
c1baa5ed7d
Update functions
...
Update function names and calls. update database functions to dba class calls.
2018-01-13 09:14:37 -05:00
Adam Magness
f5d2b83938
Create UserImport
...
Create new class and copy over functions
Add missed function
2018-01-13 09:01:32 -05:00
Hypolite Petovan
ed2ac8dc03
Fix formatting in NotificationsManager and Model\Contact
2018-01-11 03:43:57 -05:00
Hypolite Petovan
5fc4927764
Improve dba::selectFirst calls
...
- Fix remaining $r[0] references
- Rename $r to meaningful names
2018-01-11 03:43:57 -05:00
Hypolite Petovan
ae66bcaff3
Rename selectOne to selectFirst
2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590
Replace dba::select(limit => 1) by dba::selectOne
...
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Hypolite Petovan
819592c3bd
Fix Scrutinizer issues in mod [_well_know -> contactgroup]
...
- Remove unused variables and parameter
- Updated function documentation
- Fix formatting
- Add back uninitialized variables
- Simplify nested conditions
2018-01-04 19:42:48 -05:00
Hypolite Petovan
9a3e773a9a
Merge branch 'develop' into task/3954-move-auth-to-src
2018-01-02 19:30:41 -05:00
Hypolite Petovan
9f04017e27
Quick fix PHP notices in various files
...
- Remove unused variables
- Fix variable name typos
- Use x() and defaults() to fix undefined index
- Add back uninitialized variables
2018-01-02 08:11:14 -05:00
Hypolite Petovan
d328345815
Simplify System class
...
- Add extension to BaseObject to access App object
2017-12-29 21:55:13 -05:00
Hypolite Petovan
2978b1eef0
Fix undefined variable/wrong parameter count/unknown functions
2017-12-17 15:33:45 -05:00
Hypolite Petovan
10b72b0e9e
PHPStan: Fix missing requires/namespaces
2017-12-17 15:26:43 -05:00
Michael
0457bd995f
"system_unavailable.php" is unavailable now
2017-12-13 21:55:19 +00:00
Hypolite Petovan
a42595a30c
Move Object\Contact to Model\Contact
2017-12-07 23:56:12 -05:00
Michael Vogel
5747cfc79c
Revert "Move Objects to Model"
2017-12-08 05:21:51 +01:00
Hypolite Petovan
18d93cddf6
Move Object\Contact to Model\Contact
2017-12-07 09:04:24 -05:00
Hypolite Petovan
58ac3532b7
Fix undefined variables messages
2017-12-01 08:32:21 -05:00
Michael
774a7193d2
Added clarification
2017-11-26 11:43:02 +00:00
Michael
d982c68d75
Cache.php is now using dba methods
2017-11-21 23:03:33 +00:00
Adam Magness
28cceda461
Indentation
...
modified to multi line function call.
2017-11-20 11:29:55 -05:00
Adam Magness
9622dedaeb
New function
...
new function from recent develop branch merge
2017-11-20 11:01:32 -05:00
Adam Magness
1115d19f79
More Standards
...
More coding standards updates.
2017-11-20 11:01:32 -05:00
Hypolite Petovan
b85c94a60d
Merge branch 'develop' into issue/3878-move-Contact-to-src
2017-11-19 18:09:14 -05:00
Hypolite Petovan
81647cefed
Merge pull request #3920 from annando/scripts
...
The poller is now the worker and we have a "scripts" folder
2017-11-19 17:25:14 -05:00
Hypolite Petovan
5ee728972e
Remove include/Contact.php
...
- Remove all mentions to include/Contact.php
2017-11-19 17:05:21 -05:00
Hypolite Petovan
ec02af593d
Change called method names
...
- Add GlobalContact::getRandomUrl
- Rename Contact::getIdForURL
- Rename Diaspora::sendUnshare
- Remove unused parameter $self in Contact::terminateFriendship
2017-11-19 17:03:39 -05:00
Hypolite Petovan
b92fc24ff0
Add Contact Object
...
- Add Profile Object
- Add User Model
- Add use statements
2017-11-19 16:55:28 -05:00