Commit graph

1906 commits

Author SHA1 Message Date
Hypolite Petovan
220242b55a Remove current_theme() and current_theme_url() functions 2018-04-28 18:37:41 -04:00
Hypolite Petovan
5bb35756dc Update directory URL protocol 2018-04-27 20:56:34 -04:00
Michael
ba35b19af6 Public federated items now always are having an entry with "uid=0" 2018-04-23 11:14:25 +00:00
rabuzarus
130e16968e local_user() could also be a remote_user() 2018-04-12 17:10:48 +02:00
Michael
a75858f02c Don't queue relay posts 2018-04-08 09:46:47 +00:00
Michael
e65bd0325e Added server discovery for their relais configuration 2018-03-26 05:44:53 +00:00
Michael
5bca333bf0 Fix: No "not null" when text is replaced by varchar 2018-03-24 21:57:50 +00:00
Hypolite Petovan
9abe3dade2 Bump database version number after RC merge 2018-03-23 20:01:53 -04:00
Hypolite Petovan
ecd660cb10 Updated version number 2018-03-23 06:39:51 -04:00
Hypolite Petovan
27d94023ee Merge branch 'master' into develop 2018-03-23 06:15:55 -04:00
Tobias Diekershoff
bacc5de3a2 Friendica version 3.6 - The Tazmans Flax-lily 2018-03-23 07:14:49 +01:00
Michael
5bd519efff There is now a "content-warning" field 2018-03-14 22:28:35 +00:00
Hypolite Petovan
354bec58c0 Ensure BaseObject::setApp() whenever App is instantiated 2018-03-07 12:34:47 -05:00
Hypolite Petovan
41d5c7d4c7 Restore deprecated constants in boot 2018-03-04 23:13:19 -05:00
Hypolite Petovan
1a18220059 Remove unused global cache constants 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
Tobias Diekershoff
fab9cb6825 Version 3.6-rc for the RC branch 2018-03-03 07:36:58 +01:00
Hypolite Petovan
41678ec3cd Add no_update flag to speed up Contact::getIdForURL instances 2018-03-01 19:54:45 -05:00
Michael
fe68e99c7c The tag query should be much faster now 2018-02-26 06:59:32 +00:00
Michael
ecc0395151 Only do a database update when the current system version is lower 2018-02-21 04:06:17 +00:00
Michael
6e642ad6d4 Only not generate prefix when parameter is false 2018-02-21 03:37:20 +00:00
Michael
a3af6807ac Improved resource id creation 2018-02-20 10:02:07 +00:00
Michael
6c26dcf1c7 The network is now just a 4 character field 2018-02-19 13:58:04 +00:00
Michael
2a762868e9 Some clean up for the worker, arrays are now supported as parameter 2018-02-11 16:18:39 +00:00
Michael
d42f86e218 We can now delegate again like before 2018-02-08 22:18:34 +00:00
Michael
d70a20a466 We now incrementally calculate the queue delivery time 2018-02-08 18:39:48 +00:00
Michael
0093f863fd Don't add already queued items from Diaspora to the queue again 2018-02-08 11:26:24 +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
47d165cb25 Hook calls can now be forked into a worker queue entry 2018-02-06 22:52:36 +00:00
Hypolite Petovan
a62b46375d Move PROTOCOL_* constants to Model\Conversation 2018-02-05 14:09:03 -05:00
Hypolite Petovan
a0cdd9c674 Rename Core\Network to Core\Protocol 2018-02-05 12:57:41 -05:00
Hypolite Petovan
ddcbe75f15 Add deprecation documentation in boot.php 2018-02-04 19:40:06 -05:00
Hypolite Petovan
b4651870db Add references to new methods and constants in include/bbcode
- Remove all private callback functions from include/bbcode
2018-02-04 19:25:22 -05:00
Hypolite Petovan
f020292408 Remove references to include/datetime 2018-02-03 20:47:37 -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
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
89602e44da Add Temporal::timezoneNow() shorthand for Temporal::convert() 2018-02-03 08:56:53 -05:00
Hypolite Petovan
b854905150 Move ATOM_TIME to Temporal::ATOM 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
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
Michael
4949be60a8 Improved query speed 2018-02-01 00:29:47 +00:00
Adam Magness
0f1be37279 Remove old file
remove network.php and all require_once statements
2018-01-27 08:28:20 -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
Hypolite Petovan
d6bdaeaffe Add update function to reload addons after hook renaming 2018-01-23 18:57:51 -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
f0725ae384 Hopefully all t()
hopefully the last of the t()
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
Michael
18ad2fb96d When RINO is set to a (now) invalid value, we set it to a valid one 2018-01-22 22:58:03 +00:00
Hypolite Petovan
c53c2fffa5 [database] Add user.legacy_password field 2018-01-20 22:24:58 -05:00
Hypolite Petovan
391c591322 Add pwdreset_time field to user table 2018-01-20 18:06:58 -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
11cf36105c Update Addon functions and calls
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Adam Magness
0f546f7f0f Update functions and calls
Update function names and scope. update calls.
2018-01-15 17:09:06 -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
a01a8a06f2 Remove requires
remove requires_once statment
2018-01-14 21:26:07 -05:00
Michael
98edd826ac Increased database version 2018-01-14 15:14:16 +00:00
Michael
3c027699a5 Receive participation messages and processes them 2018-01-12 20:52:43 +00:00
Hypolite Petovan
da9523ed23 Add maxwidth column to oembed table
- Match Caching key for OEmbed queries
2018-01-10 19:25:08 -05:00
Michael
90a00662ff The automatic database update had worked endlessly 2018-01-10 22:44:38 +00:00
Michael
e12b6e01a2 Best "uid" for sending comments, refresh after commenting might work now 2018-01-07 17:14:43 +00:00
Hypolite Petovan
35a18f6825 Fix unused code in include (second pass) 2018-01-04 12:21:13 -05:00
Hypolite Petovan
3b23f89ca2 Fix unused code in include
- Fix local formatting
- Remove unused variable
- Fix unreached breaks
- Remove commented out code
- Add some documentation
2018-01-04 12:21:13 -05:00
Tobias Diekershoff
04589ecd38
Merge pull request #4092 from MrPetovan/task/3954-move-auth-to-src
Move auth to src
2018-01-04 18:06:42 +01:00
Hypolite Petovan
6e71a84075
Merge pull request #4160 from annando/community
We now are having a global items page
2018-01-04 11:50:45 -05:00
Hypolite Petovan
2a09af8bd0 Remove too strict parameter check in defaults() 2018-01-03 21:24:09 -05:00
Michael
3ffea2cd2c We now have a global page for all global entries from the network. 2018-01-03 13:27:43 +00:00
Hypolite Petovan
9a3e773a9a Merge branch 'develop' into task/3954-move-auth-to-src 2018-01-02 19:30:41 -05:00
Hypolite Petovan
585c00347d Fix PHP notices in boot, index and App
- Use defaults() with $_GET variables in boot
- Initialize $a before checking for object member in boot
- Initilialize the $_SESSION variable for backend mode in index
- Add member variable page_offset to App
2018-01-02 08:09:49 -05:00
Hypolite Petovan
49eda1e154 Add defaults() function 2018-01-02 08:09:49 -05:00
Hypolite Petovan
e74dbb3693 Improve goaway legibility 2017-12-29 21:55:13 -05:00
Hypolite Petovan
2dc598ed5b Move login() to Login module
- Move nuke_session to include/security
- Remove mod/login
2017-12-29 21:55:13 -05:00
Michael
3fdfc2e425 Hopefully this is now clearer 2017-12-22 21:31:32 +00:00
Michael
00c6261dae Only include the update.php, when really needed 2017-12-22 14:56:40 +00:00
Michael
2e2a2b8040 Corrected wrong handling of the return value 2017-12-22 14:51:50 +00:00
Michael
1e7e83510a Old stuff had been removed from the update routine 2017-12-22 14:48:29 +00:00
Hypolite Petovan
57d888f3e7
Merge pull request #4106 from annando/registered-users
We now fetch the number of registered users
2017-12-19 07:31:21 -05:00
Hypolite Petovan
b6f60c45aa Fix double login issue
- Removed session existence check in killme
- Changed returned value in session_write for empty data
2017-12-18 23:43:15 -05:00
Michael
dab83c8b40 We now fetch the number of registered users 2017-12-18 23:58:18 +00:00
Hypolite Petovan
916236ce2f Fix docblocks types 2017-12-17 15:27:50 -05:00
Hypolite Petovan
6dbd68e0cb Remove redundant index
- Increase UPDATE_VERSION and DB_UPDATE_VERSION
2017-12-15 11:36:06 -05:00
Michael
2d7cd2daf4 "update" is enough 2017-12-14 22:18:53 +00:00
Michael
15d42de647 Class moved, changes applied 2017-12-14 21:13:02 +00: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
Michael
0608efc38a We've got no mood anymore 2017-12-07 07:01:55 +00:00
Adam Magness
cadfef63c4 Update false evaluations
=== false and !== false to is_null where appropriate.
2017-12-06 14:57:06 -05:00
Michael
9ffde01fc1 DBClean now works with the conversation table as well 2017-12-05 21:30:38 +00:00
Adam Magness
2f0da29c75 Features to src
Move Features to class in Friendica\Content namespace. Update function calls and references.
2017-12-04 08:33:49 -05:00
Michael
df89e0384d Added description to networks, renaming some network names 2017-12-03 13:26:52 +00:00
Michael
6f7510550d NETWORK_MAIL2 was never finished, so remove it as well 2017-12-03 09:19:58 +00:00
Hypolite Petovan
b85c94a60d
Merge branch 'develop' into issue/3878-move-Contact-to-src 2017-11-19 18:09:14 -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
Michael
920160cb28 The poller is now the worker 2017-11-19 21:47:21 +00:00
Michael
cabfcfc904 We now are having a "scripts" folder 2017-11-19 21:21:54 +00:00
Michael
01362461cf poller.php is cleaned up, unneeded stuff has been removed 2017-11-18 11:01:01 +00:00