Commit Graph

25978 Commits

Author SHA1 Message Date
nupplaPhil ce2610000b
Renaming class 2019-12-10 08:49:33 +01:00
Tobias Diekershoff 7cec9a9dd1
Merge pull request #7925 from annando/issue-7613
Issue 7613: When an item is deleted, delete all notifications for it
2019-12-10 07:51:50 +01:00
Michael a6c72a209e Issue 7613: When an item is deleted, delete all notifications for it 2019-12-10 06:21:18 +00:00
Hypolite Petovan e1ba53fec3 Rework API documentation
- Split API pages by target software
- Added API entities list
2019-12-09 22:50:38 -05:00
Hypolite Petovan c6d422a188 Update Module\Help to use anchor words for titles
- Previous anchors are kept for links backward compatibility
2019-12-09 22:50:37 -05:00
Hypolite Petovan 8016cb3cee Add GET /api/v1/follow_requests Mastodon API endpoint 2019-12-09 22:50:36 -05:00
Hypolite Petovan b365ffc3b5 Add API base module 2019-12-09 22:50:36 -05:00
Hypolite Petovan 2e9be55e51 Add Mastodon API entity classes 2019-12-09 22:50:35 -05:00
Hypolite Petovan 17838366a0 Reformat library/OAuth1
- Add type hints to Network\FKOAuthDataStore
2019-12-09 22:50:35 -05:00
nupplaPhil 26bd956912
Optimize L10n usage for Session (reduce "App" complexity even more) 2019-12-10 00:56:49 +01:00
nupplaPhil cad7e534a4
Add phpdoc 2019-12-10 00:50:05 +01:00
nupplaPhil 555513e4b4
Add Session Management instances (including Depenency Injection)
- Prerequesite for mocking Sessions
- Reduce "App" class complexity
2019-12-10 00:44:56 +01:00
nupplaPhil 009a8bb939
Initializing SessionHandlers with Dependency Injection 2019-12-09 23:09:18 +01:00
Michael ed2bb21360 Improved description 2019-12-09 22:00:54 +00:00
Hypolite Petovan 010a7b7576
Merge pull request #7923 from annando/issue-7418
Issue 7418: connections to forums should now work again
2019-12-09 16:53:48 -05:00
nupplaPhil 94a8a60841
Add more Cookie tests (create new StaticCookie class for mocking setcookie()) 2019-12-09 22:47:08 +01:00
Michael 2a31b2383f Issue 7691: We can now switch to BCC for ActivityPub 2019-12-09 21:37:31 +00:00
Michael 49767e0555 Issue 7418: connections to forums should now work again 2019-12-09 21:19:20 +00:00
nupplaPhil a8b89dc486
Remove copy&paste failure 2019-12-09 21:55:51 +01:00
nupplaPhil f7e1cfd416
revert wrong import 2019-12-09 21:55:25 +01:00
Hypolite Petovan a4cc22e8fb
Merge pull request #7922 from annando/reshare-delivery
Do reshares as native as possible
2019-12-08 17:17:34 -05:00
Michael b8f81d5e7d Relocate check for announce 2019-12-08 22:04:32 +00:00
Michael 1b0d2f2a4a Merge remote-tracking branch 'upstream/develop' into reshare-delivery 2019-12-08 21:56:51 +00:00
Philipp 3746dd6fa8
Merge pull request #7921 from annando/notica
Fix a notice
2019-12-08 22:50:19 +01:00
nupplaPhil 54392fab81
Move Cookie to own class (with tests)
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
Michael 38db4d2132 Fix a notice 2019-12-08 21:41:26 +00:00
Michael fb64010d7a Missing "use" 2019-12-08 21:40:06 +00:00
Michael aa047278cc Reversed annouce check to have priority for AP 2019-12-08 09:01:06 +00:00
Michael 7ccbe3ee29 Transmit reshares and announce natively via Diaspora and AP whenever possible 2019-12-08 08:59:21 +00:00
Michael ca0a961ad2 Merge remote-tracking branch 'upstream/develop' into reshare-delivery 2019-12-08 08:49:47 +00:00
Hypolite Petovan da7c06764f
Merge pull request #7919 from annando/mail-update
Mail contacts: Update public via user contact / display owner's posts
2019-12-08 00:39:16 -05:00
Michael 6728c58535 Mail contacts: Update public via user contact / display owner's posts 2019-12-08 05:19:15 +00:00
Hypolite Petovan 2b12cd473d
Merge pull request #7915 from annando/issue-7914
Fixes issue 7914: Reshares got crumbled
2019-12-07 16:53:50 -05:00
Hypolite Petovan 916af997c6
Merge pull request #7917 from annando/no-mention-on-private
Fix: Don't automatically mention a post creator on private posts
2019-12-07 16:52:37 -05:00
Michael 484b99f7cf Fix: Don't automatically mention a post creator on private posts 2019-12-07 21:42:55 +00:00
Michael 23cdc9cec8 Fixes issue 7914: Reshares got crumbled 2019-12-07 21:05:14 +00:00
Michael Vogel 1de81716b3
Merge pull request #7913 from MrPetovan/bug/7902-acl-fixes
Allow contacts and groups with same ID in ACL selector
2019-12-07 13:17:43 +01:00
Hypolite Petovan 74cc9d00fa Allow contacts and groups with same ID in ACL selector 2019-12-07 05:50:15 -05:00
Hypolite Petovan f8569ac3c4
Merge pull request #7911 from annando/acl
ACL: Contact list is now sorted, forums reappeared
2019-12-06 04:11:36 -05:00
Michael b1fa0e8e26 ACL: Contact list is now sorted, forums reappeared 2019-12-06 07:25:21 +00:00
Michael 41f8796ffc Delivery of reshares 2019-12-06 06:39:50 +00:00
Tobias Diekershoff 03e2b04e8f
Merge pull request #7910 from annando/notice
Fix a notice about an undefined "attach" index
2019-12-06 07:27:16 +01:00
Michael 4b2acb74d5 Fix a notice about an undefined "attach" index 2019-12-06 04:34:20 +00:00
Michael Vogel f5a28e8bbf
Merge pull request #7909 from MrPetovan/bug/7902-acl-fixes
Restore correct test for hidewall in ACL::getFullSelectorHTML
2019-12-06 05:16:08 +01:00
Hypolite Petovan 7cfe05f849 Restore correct test for hidewall in ACL::getFullSelectorHTML 2019-12-05 20:05:47 -05:00
Hypolite Petovan 6ffe3c449c
Merge pull request #7908 from nupplaphil/bug/run_xgettext_version
Fix run_xgettext.sh FRIENDICA_VERSION
2019-12-05 19:45:00 -05:00
nupplaPhil c45b6d309b
regenerate messages.po 2019-12-05 23:29:18 +01:00
nupplaPhil 3d92989c15
fix run_xgettext.sh FRIENDICA_VERSION 2019-12-05 23:25:03 +01:00
nupplaPhil afb93ab0fe
move Hook doc 2019-12-05 23:19:27 +01:00
nupplaPhil 96555a7385
Refactor "Authentication" class with four main methods:
- withSession() - for auto authentication with Session/Cookie variables
- withOpenId() - for authentication with an OpenID account
- withPassword() - for authentication with Password
- setForUser() - for setting the user auth context of the current session

Refactor "Session" class - contains now "native" Session Management methods
2019-12-05 23:02:51 +01:00