Commit Graph

1087 Commits

Author SHA1 Message Date
Michael afd1dba774 Issue 12338: Use redirect for "about" and "about/more" 2022-12-11 19:50:10 +00:00
Hypolite Petovan a79be5e697 Add Clock classes to deal with "now" times in tests
- [Composer] Add psr/clock dependency
2022-12-11 10:12:23 -05:00
Michael bf7df13855 Add more BlurHash to avoid not being able to display some picture 2022-12-11 09:56:30 +00:00
Hypolite Petovan 818cdf83ca [Database version 1500] Remove obsolete table fcontact 2022-12-05 00:00:50 -05:00
Hypolite Petovan ce69026964 [Database version 1499] Create new paradigm classes for Diaspora Contact
- Switch table fcontact for dcontact in views
2022-12-05 00:00:50 -05:00
Michael d5e005f90d [Database version 1498] New table "diaspora-contact" for Diaspora contacts (duh)
- Remove duplicated "author-uri-id" keys in view declarations
2022-12-05 00:00:49 -05:00
Hypolite Petovan 10154e532e
Merge pull request #12326 from nupplaphil/feat/route_about
Add /about route
2022-12-04 09:43:19 -05:00
Philipp b3ca1e2bfb
Merge pull request #12325 from annando/blurhash
API: Support Blurhash
2022-12-04 15:25:33 +01:00
Philipp Holzer 1a8722c1f6
Add /about route 2022-12-04 14:47:31 +01:00
Michael a5be5b27e3 Support Blurhash 2022-12-04 13:29:21 +00:00
Michael e5a531d3b5 Simplify "last-activity" handling 2022-12-04 07:17:26 +00:00
Michael 1d8c9276f3 Issue 10518: "last-activity" instead of "login_date" 2022-12-04 07:03:11 +00:00
Hypolite Petovan 34f21b40f4 Move missing POST part of Profile\Photos from mod/photos 2022-12-01 17:57:29 -05:00
Hypolite Petovan b83526ad0b Tighten profile restriction feature
- Prevent feed access to restricted profiles
- Rework display of restricted profiles with a redirect to the profile/restricted route
- Normalize permission checking with IHandleUserSession->isAuthenticated
- Remove unusable "nocache" parameter in feed module because session isn't initialized
- Reword setting name and description
2022-12-01 08:03:35 -05:00
Michael f905220923 New field to show the day of the last activity 2022-11-30 22:34:50 +00:00
Michael f31e617f5d Contact suggestions are now cached 2022-11-30 05:59:27 +00:00
Michael 8eca961aeb Added status to the report 2022-11-29 19:50:12 +00:00
Michael 8b41d62a88 API: Speed improvements 2022-11-29 18:45:30 +00:00
Michael 437419bbd9 Updated database.sql 2022-11-28 20:22:08 +00:00
Michael de76e860ad API: Added trending links 2022-11-28 20:19:57 +00:00
Michael c00004f6ea API: Tredning statuses added 2022-11-28 09:30:41 +00:00
Michael 6b36bd893b API: Trending tags are added 2022-11-28 07:08:01 +00:00
Michael 85f57e69fa Issue 12191: We can now follow and unfollow tags via API 2022-11-28 03:29:43 +00:00
Michael a6d060b0e4 Merge remote-tracking branch 'upstream/develop' into api-tags 2022-11-28 02:13:20 +00:00
Michael 0e2c2cd0e0 API: Support new tag endpoints 2022-11-27 19:22:41 +00:00
Philipp Holzer 50316bbb80
Move Browser & Upload to own namespace 2022-11-27 01:34:59 +01:00
Philipp Holzer 051253a745
Move FileBrowser to own namespace & Bugfix album usage 2022-11-27 01:34:58 +01:00
Philipp Holzer d0b16b2fc1
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser 2022-11-26 22:26:30 +01:00
Michael 92807d86a3 API: Enable edit 2022-11-25 19:35:40 +00:00
Michael a6ff817f47 Update added 2022-11-23 21:47:47 +00:00
Hypolite Petovan 77e87da441 Create /profile/{nickname}/photos route
- Create new Profile\Photos\Index module class
- Update most references of the legacy /photos/{nickname} route
2022-11-20 17:15:07 -05:00
Tobias Diekershoff eec48057dc
Merge pull request #12221 from MrPetovan/bug/warnings
Fix various PHP 8 deprecations
2022-11-20 08:21:06 +01:00
Hypolite Petovan 5f074bc4e7 Add support for Mastodon /authorize_interaction route
- It is used by Fedifind to follow people who set their Webfinger address in their Twitter bio
2022-11-19 19:55:01 -05:00
Hypolite Petovan 2a4985cd46 Fix database connection with sockets
- Reformat Database\Database.php file
- Reformat and fix spelling in static/defaults.config.php file
2022-11-19 19:15:43 -05:00
Hypolite Petovan e354f48765
Merge pull request #12200 from annando/ignore-view
"View" activities are now ignored
2022-11-17 15:28:34 -05:00
Michael cdbfa34066 "View" activities are now ignored 2022-11-17 20:01:32 +00:00
Philipp Holzer 00883c9dcb
Move mod/editpost.php to src\Module\Post\Edit 2022-11-15 22:32:46 +01:00
Philipp Holzer 584e7a7e6d
Remove trailing slash in `update_` calls 2022-11-15 20:11:38 +01:00
Philipp Holzer 3259bd17dc
Move mod/(update_)display.php to src\Module 2022-11-15 00:57:47 +01:00
Philipp Holzer 5c05a3b0f6
Move mod/display.php "feed-item" to a src\Module\Item\Feed.php 2022-11-15 00:52:58 +01:00
Michael 91949f0292 Allow anonymous reports 2022-11-14 23:27:46 +00:00
Hypolite Petovan 6df187478d Fixed wrong reference to user.expire in Model\User::getActorName
- Update field documentation to prevent further confusion
2022-11-14 17:02:41 -05:00
Hypolite Petovan cb0fde5d7d Create new OStatus\Subscribe module class
- Move route from /ostatus_subscribe to /ostatus/subscribe
2022-11-14 13:48:47 -05:00
Hypolite Petovan eb6b03b555 Add new OStatus\PortableContacts module class
- Retain existing route /poco for backward compatibility
- Remove unsupported links to /poco/{nickname} route
2022-11-14 13:48:46 -05:00
Hypolite Petovan a1a0b6512c Create new OStatus\PubSub module class
- Retain previous route /pubsub for backward compatibility
2022-11-14 13:48:46 -05:00
Hypolite Petovan a8759a9b86 Create new OStatus\PubSubHubBub module class
- Retaining the same /pubsubhubbub route to keep backward compatibility
2022-11-14 13:48:45 -05:00
Hypolite Petovan 63fc315ea0 Add support for Mastodon /reports API call 2022-11-14 12:22:54 -05:00
Hypolite Petovan 5d9ce80007 [Database version 1489] Add new report database tables 2022-11-14 12:10:37 -05:00
Philipp Holzer 815d8975e6
Rename Match to MatchInterests because PHP8-lint rejects "match" 2022-11-09 22:36:02 +01:00
Philipp Holzer 75360f3b8c
Move mod/mod/msearch & mod/match to src/Module 2022-11-09 22:17:50 +01:00
Hypolite Petovan 5916544bc8 Move settings/features to src/Module 2022-11-09 06:26:08 -05:00
Hypolite Petovan 45c4439119 Move settings/connectors to src/Module 2022-11-09 06:26:05 -05:00
Hypolite Petovan 33d1df3c6d Move settings/addons to src/Module 2022-11-09 06:25:41 -05:00
Hypolite Petovan 3226b00995 Move settings/oauth to src/Module
- Add settings_content() permission checks to Module\BaseSettings
- Transform application token deletion GET links to POST forms to keep a single OAuth module class
2022-11-09 06:25:22 -05:00
Hypolite Petovan 4a626ef101 Create new Contact\Redir module class
- Move /redir route to /contact/redir
2022-11-08 20:12:23 -05:00
Hypolite Petovan a68c790c64 Create new Settings\RemoveMe module class
- Moved route from /removeme to /settings/removeme
- Combined templates into one
2022-11-08 18:33:54 -05:00
Michael df8644c59c Performance improvements in public timeline 2022-11-08 21:48:42 +00:00
Michael 246021fdfa Store the source of incoming posts 2022-11-08 11:53:09 -05:00
Hypolite Petovan 18f54f4425 New area "moderation"
- Moved several admin pages to the moderation area
- ACL still is checking for administrator credentials
2022-11-08 02:28:42 -05:00
Hypolite Petovan c7dbe0b610 Create new OStatus\Repair module class
- Create corresponding template file
2022-11-07 21:44:18 -05:00
Philipp Holzer f13c91b320
Move mod/cal.php and mod/events.php to Module 2022-11-07 19:52:24 +01:00
Michael Vogel e6a5c172ce
Merge pull request #12131 from MrPetovan/task/4090-move-mod-salmon
Move mod/salmon.php to src/Module
2022-11-07 14:55:02 +01:00
Tobias Diekershoff a98d321376 add the homepage_verified field to the profile table and the owner-view 2022-11-07 11:15:55 +01:00
Hypolite Petovan ec02664773 Add new OStatus\Salmon module class
- Add module instanciation in Module\DFRN\Notify
2022-11-06 20:42:05 -05:00
Hypolite Petovan 9aa05eb911 Deprecate themes duepuntozero, quattro and smoothly 2022-11-05 00:06:10 -04:00
Hypolite Petovan 8124dedbf6 Create new Post/Share module class 2022-11-04 13:02:01 -04:00
Hypolite Petovan 8ec5d10bf4 Add new Contact/Suggestions module class 2022-11-04 07:57:00 -04:00
Hypolite Petovan 1ba9a65fd8 Add new Post/Tag/Add module class
- Convert GET to POST
2022-11-03 22:26:48 -04:00
Michael a89f235044 Merge remote-tracking branch 'upstream/develop' into issue-12097 2022-11-03 20:15:53 +00:00
Michael 9fcdb405e8 Added settings 2022-11-03 20:14:52 +00:00
Hypolite Petovan 78d063f35a
Merge pull request #12095 from annando/bulk
Improved bulk delivery / don't redistribute activities
2022-11-03 07:59:44 -04:00
Hypolite Petovan e0dc7a471e Create Post/Tag/Remove module class and route
- Fix tag name parameter in single tag removal link in mod/photos
- Remove "/post" from backend routes as it was preventing sessions from working in this module. No existing module had a route starting with "/post".
2022-11-03 00:27:08 -04:00
Michael 842e51194e Improved bulk delivery / don't redistribute activities 2022-11-03 04:03:39 +00:00
Hypolite Petovan 4ab260042c Create new User\Import module class
- Merge Core\UserImport class in Module class
2022-11-02 11:27:31 -04:00
Hypolite Petovan eb22f6732b
Improve alignment in static/routes.config.php 2022-11-02 15:16:25 +01:00
Philipp Holzer 7c4a7bff2e
Move new events routes to calendar routes 2022-11-02 15:16:24 +01:00
Philipp Holzer 2c90ab69d6
Move event export to src/Module/Events/Export 2022-11-02 15:16:23 +01:00
Philipp Holzer baa97febef
hopefully last feedback :) 2022-11-01 00:09:30 +01:00
Philipp Holzer 87291e30a4
Found some more follow-links 2022-10-31 20:58:34 +01:00
Philipp Holzer b5d01337d9
Move Follow to `/contact` namespace 2022-10-31 20:58:27 +01:00
Philipp Holzer 437472d0a6
Move Follow to Contact namespace 2022-10-31 20:56:43 +01:00
Philipp Holzer 8e6f676719
Move mod/follow to src/Modules 2022-10-31 20:56:41 +01:00
Hypolite Petovan 58d6e7e2bb Create Contact\Unfollow module class 2022-10-31 15:31:44 -04:00
Hypolite Petovan a1e6e13a9f Move remote follow module to profile folder 2022-10-31 15:31:43 -04:00
Hypolite Petovan 969b4f991e Create Profile\Attachment\Upload module class
- Add missing response type in AjaxUpload initializition
2022-10-31 14:57:25 -04:00
Hypolite Petovan 39765e6018 Create Profile\Photos\Upload class 2022-10-30 14:20:01 -04:00
Hypolite Petovan 9561910e83 Create Profile\UnkMail module class 2022-10-30 10:49:47 -04:00
Hypolite Petovan 142b399c84 Reformat Module\Settings\UserExport
- Import IHandleUserSessions and DbaDefinition object in constructor
- Convert remaining double quotes to single quotes
- Convert static methods to dynamic to use class properties
- Remove unused POST permission from route
2022-10-24 18:14:59 -04:00
Philipp Holzer 940619325d
Add SessionUsers class including tests 2022-10-20 20:27:34 +02:00
Michael 018858934b The priority is now a class constant 2022-10-17 05:49:55 +00:00
Michael f8f0dfa91a Detect linked posts and add them as quote 2022-10-16 21:37:05 +00:00
Michael aeb4645ba6 New field "quote-uri-id" for quoted posts 2022-10-10 22:39:30 +00:00
Michael a653c6350d Support for quoted links is added 2022-09-29 16:04:33 +00:00
Michael 4c52772d84 Use class constant 2022-09-26 13:33:31 +00:00
Michael 5e51ab95fb Merge remote-tracking branch 'upstream/2022.09-rc' into worker-timeout 2022-09-26 13:26:56 +00:00
Michael Vogel 08ead52433
Merge pull request #11763 from tobiasd/marcor-newapi
new event APIs
2022-09-24 21:18:20 +02:00
Michael Vogel 98a4c7a56c We can now configure the worker runtime limits 2022-09-24 10:00:41 +02:00
Michael 97e5477bde static cooldown moved to the cooldown function 2022-09-22 22:46:59 +00:00
Michael 36668dfdb1 Merge remote-tracking branch 'upstream/2022.09-rc' into duplicates 2022-09-21 03:46:25 +00:00
Michael Vogel d55a5cd17b Changed documentation 2022-09-20 06:09:17 +02:00
Michael Vogel 199d8bbf35 Merge remote-tracking branch 'upstream/2022.09-rc' into relay-languages 2022-09-20 06:05:15 +02:00
Michael Vogel f08b08e0d8 Allow to reject specific languages on receiving posts via the relay 2022-09-19 12:36:12 +02:00
Michael Vogel e5c24f33f0 The fcontact table is now updated in the background to improve performance 2022-09-18 15:40:44 +02:00
Michael 79b64cc44f Detect and remove contact duplicates 2022-09-16 05:00:06 +00:00
Hypolite Petovan cacfc6ec92 Enable POST route for /filerm module
- This prevents a costly page empty page render when calling the module asynchronously
2022-09-11 02:36:06 -04:00
Michael ff677a1b27 Smarty: Configuration added to store without sub directories 2022-09-08 05:10:26 +00:00
Michael a0b99f61ea Use the cached activity function 2022-09-07 19:46:24 +00:00
Michael da658cbf1d Delete the cache entry when the post is changed or deleted 2022-09-06 21:51:47 +00:00
Michael 6eb9dff807 Pagecache for frequently fetched pages 2022-09-06 06:04:41 +00:00
Hypolite Petovan 934a3a6721
Merge pull request #11887 from annando/maxload
Pause the worker execution when the load is too high
2022-09-04 15:54:40 -04:00
Michael 075638c0ae Pause the worker execution when the load is too high 2022-09-04 13:54:32 +00:00
Michael 144547009b All URL fields are now binary and longer 2022-09-04 07:54:01 +00:00
Michael 3e2c684319 Some more index / fatal erros fixed 2022-08-16 11:23:47 +00:00
Michael bb52e5a804 Cascade on author deletion 2022-08-16 04:18:29 +00:00
Michael 5b3145d7ce Several performance improvements 2022-08-15 13:23:01 +00:00
pankraz bd02340162 new event APIs 2022-08-13 23:28:19 -04:00
Michael 5c5ae00370 Improved performance when updating contacts 2022-08-13 09:01:48 +00:00
Philipp a145712f04
Merge pull request #11837 from MrPetovan/task/remove-poke
Remove poke feature
2022-08-11 18:17:11 +02:00
Hypolite Petovan 809beeee9d
Merge pull request #11838 from annando/asynchronous-conversation
Conversation entries will now be stored asynchronous if possible
2022-08-10 10:42:19 -04:00
Michael d9aee0b3ea Conversation entries will now be stored asynchronous if possible 2022-08-10 09:28:18 +00:00
Hypolite Petovan 4a885a13a6 Remove poke feature 2022-08-09 14:55:55 -04:00
fabrixxm 547b4684fd Add smarty3 dirs config
`FriendicaSmarty` get work dirs from config, with fallback if not set
2022-08-08 12:28:07 -04:00
Michael 87a945b295 More prevention of double processing of the same content 2022-08-06 17:06:55 +00:00
Michael 06f7244280 New option to disable the fetching of parents 2022-08-04 19:32:36 +00:00
Hypolite Petovan 196a1de7f2
Merge pull request #11812 from annando/ap-performance
Hopefully fixes loops during message processing
2022-08-03 03:00:50 -04:00
Michael f2eec66240 Hopefully fixes loops during message processing 2022-08-03 03:38:03 +00:00
Hypolite Petovan 49394aedeb Add password length limit if using the Blowfish hashing algorithm
- Add new page to reset a password that would be too long
- Add support for pattern parameter in field_password
2022-08-01 12:12:18 -04:00
Michael 81b244f91e Option to activate or deactivate the background fetching 2022-08-01 06:59:20 +00:00
Michael 6c7dfd6958 New table to control the fetching process 2022-08-01 04:48:49 +00:00
Michael b6da15557b The post-reason / protocol is now filled in most cases 2022-07-31 15:54:35 +00:00
Michael 371f20a1aa Decoupling is deactivated by default now 2022-07-31 07:48:35 +00:00
Michael b63ad63c29 Config for receiver / fix fatals 2022-07-28 21:16:42 +00:00
Michael ff9dc1e291 Merge remote-tracking branch 'upstream/develop' into untrusted 2022-07-27 17:56:56 +00:00
Michael 86105635ca Improved message handling / new activity relay handling 2022-07-27 17:39:00 +00:00
Hypolite Petovan e11d3cfeb0 Add upload feature for domain pattern block list
- Add new /admin/blocklist/server/import route
- Add form on domain pattern blocklist index page
2022-07-27 11:54:50 -04:00
Hypolite Petovan 7d7a5a65e9 Add download feature for domain block list
- Add new /blocklist/domain/download route
- Add link on /friendica page
2022-07-27 11:54:50 -04:00
Michael 5ab94ea921 Option to store untrusted entries 2022-07-24 19:31:31 +00:00
Michael 51cc1f679f Added trust / isActivityGone 2022-07-24 14:26:06 +00:00
Michael 073695b33c Funkwhale context file moved 2022-07-23 23:10:47 +00:00
Michael 5d6eb4670a We now store the conversation as well 2022-07-23 13:58:14 +00:00
Michael 7eb410bed7 Conversation/context is now stored 2022-07-23 06:52:43 +00:00
Michael 4930e77eb3 We are now setting the corresponding worker id 2022-07-21 07:05:38 +00:00
Michael 1d13574225 Fetching of missing posts is reworked 2022-07-21 05:16:14 +00:00
Michael a676cf8bed Merge remote-tracking branch 'upstream/develop' into enqueue-posts 2022-07-18 14:05:04 +00:00
Michael ce38e63399 Add and delete entries 2022-07-18 14:03:49 +00:00
Hypolite Petovan 42d411712b
Merge pull request #11742 from annando/server-detection
Improved server detection
2022-07-18 08:50:59 -04:00
Michael ac47aed1b4 Merge remote-tracking branch 'upstream/develop' into enqueue-posts 2022-07-18 05:32:44 +00:00
Michael af8e059990 Renamed platform definition file 2022-07-18 03:48:19 +00:00
Michael 2f462ffa16 Store incoming posts in a queue 2022-07-18 03:31:00 +00:00
Michael 8b7cb5d9ef Merge remote-tracking branch 'upstream/develop' into server-detection 2022-07-16 12:44:21 +00:00
Michael 8db0e090d7 Merge remote-tracking branch 'upstream/develop' into json-ld 2022-07-16 09:33:24 +00:00
Michael 8cc362fb8b Improved JSonLD parsing 2022-07-16 09:25:12 +00:00
Philipp Holzer a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
Michael 85c7bacb00 Improved server detection 2022-07-10 13:01:47 +00:00
Hank Grabowski e57e1ba1e5 Make network counts at the group level system level configurable 2022-07-08 15:29:34 -04:00
Michael cc75eb5d18 Improved server detection 2022-07-05 05:04:05 +00:00
Philipp Holzer b67e488236
adaptions 2022-06-26 10:13:32 +02:00
Philipp Holzer 0223c030a9
Improve 2 factor usage 2022-06-25 23:04:00 +02:00
Philipp Holzer 417b0072bb
Move documentation :-) 2022-06-23 23:24:15 +02:00
Philipp Holzer 2dc38e5632
Move documentation :-) 2022-06-23 23:23:36 +02:00
Philipp Holzer d441b90bda
Respect Forwarded-For headers 2022-06-23 22:42:35 +02:00
Roland Häder 8c38265b37
Changes:
- `url` to `varbinary(1024)`
 - `preview` to `varbinary(512)`

as the previous once (half length) were not enough in real-life scenarios
2022-06-19 23:09:29 +02:00
Roland Häder 2512449751
Incremented again 2022-06-19 15:36:16 +02:00
Roland Häder 96954e2b18
Size "mediumint" wasn't enough:
https://digitalcourage.video/static/webseed/5a039eb2-9fbc-441d-a772-59ae3ee65c15-1080.mp4 has 6758472669 Bytes

So let's go REALLY big.
2022-06-19 15:36:15 +02:00
Roland Häder 5a553df7d8
Incremented database version 2022-06-19 14:41:36 +02:00
Roland Häder 5f6943b008
Changes:
- MySQL index on BLOB/TEXT can only be partial (e.g.: `column`(length))
2022-06-19 10:50:06 +02:00
Roland Häder 8aaf99c61d
Sizes increased for:
- video files that have sizes var being int allowes
- URLs that might be longer (e.g. magnet: URLs) than varbinary(511) allows
2022-06-18 15:31:47 +02:00
Michael 726c4dff7d You can now store the avatar in a separate folder and host 2022-06-15 03:59:26 +00:00
Michael 7e747b2f41 API: Speed improvements when fetching posts 2022-06-10 18:49:03 +00:00
Michael d665b78ea8 Fix forced updates on the display page 2022-06-07 17:34:19 +00:00
Michael 19772f29f3 API: Support for markers added 2022-06-06 21:38:59 +00:00
Michael d242332aa4 Add the notify type to the notification query 2022-06-05 15:02:03 +00:00
Michael 57b8708425 Issue 11566: More detailled notification configuration 2022-06-05 11:41:08 +00:00
Michael 4108704ee3 Fix: Only public posts can be pinned 2022-06-04 06:11:32 +00:00
Michael cc6192df02 Issue 10926: Transmit pending events to accepted contacts 2022-05-30 20:52:43 +00:00
Michael 4622814e5f Configuration for logging added 2022-05-18 03:10:38 +00:00
Michael 4daae255d8 Performance: Avoid queries where there is no media or category 2022-05-16 17:06:58 +00:00
Michael 324cce7a19 Issue 11472: Store the "edit" history 2022-05-15 20:21:56 +00:00
Michael a662245c74 We now store the receivers as well 2022-05-13 05:52:05 +00:00
Michael a943dbb420 Introducing the "failed" counter 2022-05-12 06:54:58 +00:00
Michael a31256412e Cache contact avatars locally as files 2022-05-08 05:37:17 +00:00
Michael 2433fee461 Changes after code review 2022-05-05 12:23:44 +00:00
Michael ab42fd88a4 Changed index for the categories 2022-05-05 08:45:32 +00:00
Michael 2a4b5b4cb4 New index 2022-05-05 08:40:50 +00:00
Michael f6218427a4 Use the uri-id to fetch the contact 2022-05-03 21:51:56 +00:00
Michael 3163760343 Added configuration for the bulk delivery 2022-05-02 17:34:40 +00:00
Michael 40aa67f8be Bulk transmission for AP posts 2022-05-02 05:15:27 +00:00
Michael a2452b33eb Add missing fields to collection 2022-04-29 10:13:23 +00:00
Michael d3de2497bc Use gsid for the network name 2022-04-29 07:47:24 +00:00
Michael d44641e58c Fetch avatar by id 2022-04-29 07:30:13 +00:00
Michael 990eea2c4e We now store uncommon endpoints 2022-04-25 13:45:03 +00:00
Hypolite Petovan 967c438312 Enclose account settings panels in separate forms
- This prevents auto-filled password fields to abort settings save
- Move single-use settings/nick_set template HTML to settings/account
2022-04-24 08:36:53 -04:00
Hypolite Petovan 64330f9895 Move /settings to src/ 2022-04-24 01:21:48 -04:00
Michael ac08bc1362 Enhanced database comment 2022-04-24 00:20:06 +00:00
Michael 060597f619 Store the tag type for the post targets 2022-04-23 11:39:19 +00:00
Michael 9b646dad97 API: We can now display polls 2022-04-22 19:24:22 +00:00
Michael f34b7b91fa API: New Mastodon endpoints added 2022-04-21 19:58:56 +00:00
Michael 834844573b We can now store incoming questions 2022-04-20 06:28:02 +00:00
Michael 0d8cf06e4a Experimental feature to enter a custom creation date 2022-04-13 05:31:32 +00:00
Michael d7df0825db We now offer an endpoint for featured posts 2022-04-08 21:25:31 +00:00
Michael 75bc4eccb7 Display featured posts for contacts 2022-04-07 21:52:25 +00:00
Michael 612e91b603 Added description 2022-04-06 15:02:21 +00:00
Michael a1dd299eb3 Preparations for "featured" posts 2022-04-06 13:34:11 +00:00
Michael c0b3c527d6 Added processing of incoming block notices 2022-04-05 19:14:29 +00:00
Michael 61abc6377d Preparation for "Featured" collection added 2022-04-04 23:07:44 +00:00
Michael 5d497f9962 API: Enable picture upload via Tusky again 2022-03-30 20:33:46 +00:00
Michael 8c34c3b8ae Don't display Peertube groups as forums 2022-03-24 11:30:32 +00:00
Michael 85fce09b1a API: Adds missing route for "conversation/show/id" 2022-03-20 12:06:39 +00:00
Hypolite Petovan 1ae7cac236 Move mod/ping to module class 2022-03-14 07:57:41 -04:00
Hypolite Petovan b7cee324b0 Add legacy notification endpoint for deprecated Notify entity
- Add dependencies to Notifications\Notification module class
2022-03-14 07:56:21 -04:00
Hypolite Petovan 7ce97459d4 Deprecated the notify table/classes 2022-03-14 07:56:20 -04:00
Hypolite Petovan f36d4891bc
Merge pull request #11282 from annando/api-fix
API: several fixes to the Twitter/Statusnet API
2022-02-25 16:11:18 -05:00
Michael bf5c8a2c43 API: several fixes to the Twitter/Statusnet API 2022-02-25 19:16:40 +00:00
Hypolite Petovan 419fe67c6c
Merge pull request #11265 from k-alin/6606-k-alin-mysql-unix-socket
Enable MySQL unix socket connection
2022-02-25 10:36:43 -05:00
k-alin d1141c63fb add socket to default settings in defaults.config.php 2022-02-25 16:15:19 +01:00
k-alin 4492a09131 add socket to env settings 2022-02-25 12:57:16 +01:00
Michael 39e820e6a3 Display the post receivers 2022-02-20 19:25:55 +00:00
Michael c867581530 Store the receivers of a post in the tags 2022-02-19 13:31:49 +00:00
Michael d019ef57d2 Database version increased, code simplified 2022-02-15 15:44:44 +00:00
Michael e394143148 Private forums are now working via ActivityPub 2022-02-12 18:38:36 +00:00
Michael 85eab6ebee New field for groups that are connected with forums 2022-02-09 19:44:10 +00:00
Michael 9a764516d0 Use the "contact-type" instead of "forum" or "prv" 2022-02-09 06:52:16 +00:00
Michael 92a71f8c27 Store wekk/month&halfyear usage / number of posts 2022-02-06 20:03:19 +00:00
Hypolite Petovan 34ca5958a8 [Database version 1449] Coalesce null values in post-content.body field of post-user-view view 2022-01-29 02:45:12 -05:00
Michael 95f085b7ac API: The legacy API finally moved 2022-01-15 21:38:19 +00:00
Philipp Holzer 20934d73b0
Add missing Twitter API routes for IDs 2022-01-08 21:53:19 +01:00
Philipp 322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael 29be22ee6a Display interaction data for Diaspora accounts 2021-12-30 22:11:52 +00:00
Michael f7e859ec2c API: Set "dismissed" instead of "seen" 2021-12-28 20:38:18 +00:00
Michael ddb2d6f5b3 Merge remote-tracking branch 'upstream/2021.12-rc' into api-direct-messages 2021-12-17 14:52:44 +00:00
Michael b7a460485a API: Direct Messages moved to new place 2021-12-16 22:44:50 +00:00
Philipp Holzer 6ca5668ac1
Migrate distributed cache config value 2021-12-14 10:14:24 +01:00
Philipp Holzer 5b5cea9335
Add explicit Session caching 2021-12-13 20:09:00 +01:00
Hypolite Petovan e7283abaa8
Merge pull request #11098 from nupplaphil/feat-syslog_env
Enhance syslog logging
2021-12-13 08:39:18 -05:00
Philipp Holzer 2413627de9
Enhance syslog logging 2021-12-12 22:45:22 +01:00
Philipp Holzer e92a97ae2a
Remove deprecated /worker route 2021-12-12 20:59:43 +01:00
Philipp Holzer 39c2282c12
Add Dice logging for Module creation 2021-12-10 21:15:15 +01:00
Michael 477b8a91db Added endpoint 2021-11-29 06:09:28 +00:00
Michael 222b35684d API: Added more functions, fixed function names 2021-11-28 13:34:00 +00:00
Michael e381ca6ba0 Added group update 2021-11-27 22:25:40 -05:00
Michael b15d3a2523 API: Next bunch of functions transformed 2021-11-27 22:25:36 -05:00
Philipp Holzer b5d2d32b44
Split and delete `ModuleController`
- $moduleName is part of the argument string => App\Arguments
- $isBackend boolean already part of App\Mode::isBackend()
- $module is now the direct return of App\Router::getModule()
- ModuleController::run() moved to BaseModule::run()
2021-11-27 12:39:45 +01:00
Philipp e852623c4f
Merge pull request #11030 from MrPetovan/bug/11029-add-remove-group
Add backward compatibility with user contacts in Module\Group
2021-11-27 12:37:18 +01:00
Michael 0de9ae913b API: moved several lists 2021-11-26 21:48:13 +00:00
Hypolite Petovan a26322b4c2 Replace args call with parameter from router in Module\Group 2021-11-26 09:48:05 -05:00
Michael 9c61bd3ffc Lists and tweet search moved 2021-11-25 11:16:47 +00:00
Michael b723b2f178 Moved routes 2021-11-25 06:06:57 +00:00
Michael 44555cddb8 More functions moved 2021-11-25 06:00:58 +00:00
Michael c4d52feea5 Many API calls moved 2021-11-24 23:03:34 +00:00
Michael 8211cef49d Coding standards, changed database version 2021-11-22 07:39:40 +00:00
Michael 214a0524dd Merge remote-tracking branch 'upstream/develop' into api-status 2021-11-22 07:33:25 +00:00
Michael 670bbe58a1 API: The status is now an object 2021-11-22 07:28:02 +00:00
Hypolite Petovan 204b077353 Move contact profile GET actions to separate module class 2021-11-21 19:22:41 -05:00
Hypolite Petovan 974b750d6d Move contact profile module to its own class 2021-11-21 19:22:39 -05:00
Hypolite Petovan 197c77f43d Move contact conversation to its own module class 2021-11-21 19:21:58 -05:00
Hypolite Petovan eacfcc69c1 Move contact posts to their own module class
- Remove duplicated check for local_user() in Module\Contact
- [frio] Fix display issue for search items where the More button and icon would show but be inactive
2021-11-21 19:21:39 -05:00
Hypolite Petovan fd0d17df31 [Database version 1444] Add "hidden" field to user-contact table
- This is a user-specific field
2021-11-21 18:59:37 -05:00
Michael c30d3a5e7f header route fixed 2021-11-19 05:59:24 +00:00
Michael b67c10812a Merge remote-tracking branch 'upstream/develop' into api4 2021-11-18 20:15:57 +00:00
Michael 6ea426178a API: moved classes / unified user array creation 2021-11-16 23:21:40 +00:00
Philipp Holzer c95d47b0b4
Refactor App\Module to App\ModuleController and rename properties 2021-11-16 22:40:39 +01:00
Michael 66db55f0cd
Some more API functions moved 2021-11-14 23:21:54 +01:00
Michael 293775ab4a Photo delete is moved as well 2021-11-10 23:31:42 +00:00
Michael 02210f285b API: some more converted functions 2021-11-10 23:07:46 +00:00
Michael 1518ad33ad API: Classes moved to the correct places according to their origin 2021-11-10 07:31:39 +00:00
Michael b6943aff36 API call rate_limit_status moved 2021-11-09 21:41:37 +00:00
Michael b4fc1da045 Allow "POST" for all "DELETE" calls as well. 2021-11-09 06:56:40 +00:00
Michael f5b47fccce API: spme Functionality is transferred to new places 2021-11-08 21:35:41 +00:00
Hypolite Petovan 7c145accdd
Improve formatting in routes definition file 2021-11-08 05:31:18 -05:00
Michael 789361de5f The API is now using the router 2021-11-08 07:23:18 +00:00
Michael a911e8eefd Changed field description 2021-11-07 17:04:02 +00:00
Philipp Holzer 5350e0852d
Add `hostname` to `Process` entity 2021-11-06 20:21:01 +01:00
Hypolite Petovan 41062eb7e4 Add new purge contacts option to admin server blocklist
- Move adding a server domain pattern to the blocklist in a separate module to allow reviewing the list of known servers that would be affected
2021-11-06 01:36:53 -04:00
Philipp Holzer 62bacbb833
Remove 'maxloadavg_frontend' restriction in Friendica 2021-11-05 20:52:43 +01:00
Philipp Holzer 32f0c3fb9c
Adds DI::flushLogger() to renew Logger instances 2021-11-05 20:52:31 +01:00
Philipp Holzer 38f70cc55a
Refactor Process for new paradigm 2021-11-05 20:52:28 +01:00
Michael 63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Philipp Holzer f4ea74447e
Add Feedback :-) 2021-10-29 11:37:09 +02:00
Philipp Holzer 409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
Philipp Holzer 184f6cc255
Restructure Logger to new paradigm 2021-10-28 20:01:02 +02:00
Philipp Holzer 2ab0d06996
Restructure Storage to new paradigm 2021-10-27 20:00:19 +02:00
Philipp Holzer b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00
Philipp Holzer 57b4c008cb
Restructure Session to follow new paradigm 2021-10-26 22:11:07 +02:00
Philipp Holzer ff1a812e1a
Restructure Lock to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp Holzer ab83d0dd27
Restructure (P)Config to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp Holzer 68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Hypolite Petovan 02e08d5fbc Use router parameters in Diaspora\Receive 2021-10-26 14:56:47 -04:00
Michael 8185c591d8 New option to activate/deactivate contact avatar cache 2021-10-23 17:18:30 +00:00
Philipp Holzer f5786a8f4f
set intro::duplex deprecated because of no usage 2021-10-21 21:57:24 +02:00
Philipp Holzer b4572a5293
Update DB version 2021-10-21 21:56:46 +02:00
Philipp Holzer ed184bd592
Set intro.blocked to deprecated 2021-10-21 21:56:46 +02:00
Michael 3781b34272 PROFILE_PHOTOS is mostly removed and replaced 2021-10-19 19:15:28 +00:00
Michael 6d0f6babe3 Mandatory index added 2021-10-19 01:55:24 +00:00
Philipp Holzer d470a6a981
Push DB Version 2021-10-18 23:32:49 +02:00
Philipp Holzer b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests 2021-10-18 23:32:45 +02:00
Philipp Holzer 5fecc9ecf7
Adapt ProfileField & Fix current PermissionSet Usage at ProfileFields 2021-10-18 23:32:44 +02:00
Michael f1d3f60499 Remove "fcontact" from suggestions 2021-10-17 20:19:02 +00:00
Michael 948450c24b Changed field description 2021-10-11 17:21:29 +00:00
Michael 13827edd2c New photo field "photo-type" as preparation for banners 2021-10-11 14:21:10 +00:00