636cb681d6
[PLUGIN][ActivityPub][Tests] Create a TestCase for the plugin
2022-03-13 15:54:14 +00:00
7d84323df4
[PLUGIN][ActivityPub][Tests] Add some fixtures for GNU social's
2022-03-13 15:53:21 +00:00
2d7850ccfb
[PLUGIN][ActivityPub][Tests] Borrow test fixtures from Lemmy
2022-03-13 15:52:48 +00:00
0ce5eba355
[PLUGINS][Favourite][RepeatNote][DeleteNote][WebMonetization] Make use of 'activitypub_handler' more readable
2022-03-10 00:40:54 +00:00
c870fd44e3
[PLUGIN][Embed] Fix test folder name, so Symfony doesn't attempt to autowire it
2022-03-09 20:51:42 +00:00
c30fcead74
[DEPENDENCIES] Move from Symfony 5.4 to 6 and update all other packages, where applicable
2022-03-09 20:51:42 +00:00
28453c585f
[COMPONENT][Attachment][TESTS] Fix Entity/AttachmentThumbnailTest
2022-03-09 01:42:11 +00:00
47f03d4c9f
[COMPONENT][Attachment][TESTS] Fix Entity/AttachmentTest
2022-03-09 01:42:06 +00:00
487791d606
[TESTS] Fix Core/ControllerTest
2022-03-09 01:40:33 +00:00
88ace68627
[TESTS] Fix Controller/FeedsTest
2022-03-09 01:40:33 +00:00
46de2d47e9
[TOOLS] Add explicit return types to fix deprecation warnings raised by PHPUnit
2022-03-09 01:37:10 +00:00
1a0c9e720f
[COMPONENT][FreeNetwork] Start using queues
...
[COMPONENT][Notification] Start using queues
[PLUGIN][ActivityPub] Start using queues
2022-03-05 14:23:08 +00:00
626b4263f1
[PLUGIN][ActivityPub][Model][Actor] Fix internal logic for updating
...
Actors
2022-03-05 14:19:12 +00:00
12fb876a6d
[PLUGIN][ActivityPub][Model][Activity] No @context to exclude when object is not embedded.
2022-03-01 18:00:24 +00:00
fc203e2e38
[TWIG][TEMPLATES] Rename transchoice to trans and make it more generic
2022-03-01 13:45:11 +00:00
b3374333f3
[TEMPLATES][I18N] Fixup use of trans filter, in favour of trans tags. These are much more flexible and facilitate parameterized translations, rather than using concats. The only appropriate use of the trans filter is when a whole string in a variable needs to be translated (which should probably be avoided anyway)
2022-03-01 13:16:11 +00:00
0b864e85fd
[TEMPLATES] Fixup uses of deprecated noteView, in favour of new NoteFactory facility
2022-03-01 11:23:39 +00:00
43ae3add43
[TEMPLATE] Update uses of NoteFactory macro, to pass the values seperately, rather than inside a converstation key
2022-02-28 15:48:47 +00:00
45c7888676
[TOOLS] Run CS-Fixer on whole project
2022-02-28 15:47:37 +00:00
5188a473d0
[TOOLS] Fix errors reported by PHPStan
2022-02-28 15:47:37 +00:00
eccf21edef
[TOOLS][PLUGINS][OAuth2] Add mechanism to allow plugins to have an install script. Add script for generating keys for OAuth
2022-02-28 15:47:32 +00:00
5495a3c5ec
[ENTITY][Note] NoteType now becomes a varchar as predicted
2022-02-27 02:04:48 +00:00
a9b34b75b6
[PLUGIN][TreeNotes] Correct cache issues and iterate functionality
...
- Replies ordering now correct
- Replies count added
- Posting adds new replies to cache (when concerning replies cache is not empty) and increments replies count
- Configuration to specify number of in-tree replies shown added
- TreeNotes templates was moved from core to plugin
- Button to read more replies was added
2022-02-27 01:46:25 +00:00
d4c908c194
[CORE][Cache] Implement listPushRight
2022-02-27 00:44:23 +00:00
b630d530f4
[PLUGIN][ActivityPub][Postman] JSON_UNESCAPED_SLASHES
...
Only record webfinger matches for acct
2022-02-25 13:52:56 +00:00
d5731e6351
[COMPONENT][Notification] Consider attention properly in notes
2022-02-25 13:12:16 +00:00
f5e92de62d
[PLUGIN][ActivityPub][Util][Explorer] Simplify fetching Actor by URI
2022-02-25 13:12:14 +00:00
4754593cde
[PLUGIN][ActivityPub][Model][Activity] If the object is wrapped in an activity, exclude the @context
2022-02-24 19:07:46 +00:00
d12038a9f8
[CSS] Complete refactor, removing all useless rules, squashing related separate files, and limiting folder depth
2022-02-24 19:05:14 +00:00
af02bc7b32
[PLUGIN][ActivityPub][Model][Note] Replace our directMessage extension with LitePub's
2022-02-23 22:27:32 +00:00
bc3d5245f5
[PLUGIN][ActivityPub][Model][Note] Handle Mentions properly
2022-02-23 22:27:32 +00:00
f3c2e49e3f
[PLUGIN][ActivityPub] Correct @context
2022-02-23 22:27:30 +00:00
57a07ef74f
[COMPONENT][FreeNetwork] Add to Search the query expression
2022-02-21 04:53:12 +00:00
c380cbd846
[COMPONENT][FreeNetwork] Mention and Group tags in notes are handled differently
2022-02-21 04:52:30 +00:00
1e310aa124
[PLUGIN][ActivityPub][FreeNetwork] DB::findBy won't work if not commited first
2022-02-20 15:01:49 +00:00
f1caabd296
[CARDS][Note] Note factory template macro created, allows Notes to be represented with completely different macros/blocks, possible to extend types through additional events. Compact Notes have a max height, content can be scrolled by [CSS] Avatars, and Embed attachments now have a max-block-size which acts independently of image orientation
2022-02-20 05:03:54 +00:00
ecfd6b5ad2
[PLUGIN][ActivityPub][Model][Note] Sometimes content is explicitely null
2022-02-20 05:03:40 +00:00
496701ce73
[PLUGIN][ActivityPub][Inbox] Add event for notifications triggered by AP Inbox
2022-02-20 05:03:40 +00:00
6f3e760c63
[PLUGIN][ActivityPub][Inbox] Separate handler by method
2022-02-20 05:03:40 +00:00
51cccd0155
[PLUGIN][ActivityPub] Simplify DB usage
2022-02-20 05:03:40 +00:00
9523927b8e
[PLUGIN][ActivityPub][Model][Note] There may be no attachments, nor tags, nor to, nor cc
2022-02-19 05:46:48 +00:00
ebbd8bf1e4
[PLUGIN][ActivityPub][HTTPSignatures] Fix wrong assumption that sha512 is used in hs2019
2022-02-19 04:49:50 +00:00
7a59d5a002
[PLUGIN][ActivityPub][HTTPSignatures] Validate draft-cavage-http-signatures-11
2022-02-19 04:49:50 +00:00
52ae5fa690
[PLUGIN][ActivityPub][Inbox] Improve logs
2022-02-19 04:49:50 +00:00
99f7e7cd79
[PLUGIN][ActivityPub][Model][Note] Handle group scope properly
2022-02-19 04:49:50 +00:00
27635d8ec2
[PLUGIN][ActivityPub][Model][Note] Add name property as note title
2022-02-19 04:49:49 +00:00
0a741903a1
[PLUGIN][ActivityPub][Model][Note] Federate content out
2022-02-19 04:49:49 +00:00
8f60fc4685
[PLUGIN][ActivityPub][Model][Note] Federate attentions out
2022-02-19 04:49:49 +00:00
8cf60275e6
[PLUGIN][ActivityPub][Model][Note] Add support to Pages
2022-02-19 04:49:49 +00:00
b69f4a46c5
[COMPONENT][Posting] Page should flush with a different notification
2022-02-16 19:35:27 +00:00
b6ed0b4c6c
[CORE][Actor] Fix generic profile route
2022-02-16 18:53:08 +00:00
2d5fac7a89
[COMPONENT][Notification] Re-introduce the concept of note attention
...
Minor refactoring and bug fixing
2022-02-16 18:53:08 +00:00
e70acd5c3b
[UTIL][HTML] HTML abstraction class was extended with a more specialised Heading class
...
This little abstraction layer made it a bit easier to add a different title to a Note or Actor Feed Collection template, from whichever controller that uses it. Please, bear in mind, that abstract templates such as those found in Components\Collection, may act in a very 'declarative' way upon using them. This makes it difficult to dynamically choose what type of header is used without undergoing a mining operation in the likes of a pyramid of doom. Hence, this _little_ change.
2022-02-16 18:53:08 +00:00
397b54a207
[PLUGIN][Bundles] Refactor BlogCollections to Bundles
2022-02-16 18:53:07 +00:00
3f9c86f0df
[COMPONENT][Group] More flexible member roles than only isAdmin
...
Refactor terminology of canAdmin to match current roles system
2022-02-14 05:02:10 +00:00
bc63c3727a
[COMPONENT][GROUP] Allow to create a group as private and prioritise group scope on Posting in that context
2022-02-14 05:02:09 +00:00
10d1a7ed2a
[PLUGIN][ActivityPub] Implement Group Inbox POST
2022-02-13 23:15:00 +00:00
3ae8f8213f
[GROUP] Notifity group subscribers of new activity concerning the group
2022-02-13 23:15:00 +00:00
66323c5a73
[PLUGIN][ActivityPub] Fix several issues with target and notifications inserted by AP
2022-02-13 23:14:59 +00:00
17733f32d6
[PLUGIN][ActivityPub] Implement Group Outbox
...
Fix various minor issues
2022-02-11 10:06:01 +00:00
fb3e900b28
[CORE] Add CONFIG_ prefix to environment whitelist
...
Fixed minor issues with Commong:config of env not being included and ported to local social yaml
Fixed some regressions introduced with [CORE] Unset sensitive information from the environment
2022-02-11 10:05:58 +00:00
416451a519
[CORE][Actor] Simplify logic so more is reused between different types of actors
...
Minor bug fixes
2022-02-11 00:27:03 +00:00
1f1524c2b3
[GROUP] Simplify logic by making Actor::Organisation a type of Actor::Group
...
Some minor bug fixes
2022-02-11 00:26:43 +00:00
ba131bdb16
[CSS] Background noise is back, default_theme directory hierarchy simplified
...
[PLUGINS][Oomox] Fixed issue where resetting colours when no entity was present would lead to an error (it expected an entity, but NULL was given)
2022-02-08 14:12:59 +00:00
99593a19ef
[CSS] Default theme polish work, more consistent font sizes and improved dark theme colors
2022-02-07 23:54:29 +00:00
9a53f94b77
[TWIG] Replaced getRightPanelBlocks with addRightPanelBlock, provides more control on block placement
...
[COMPONENTS][RightPanel] Refactored template, improved clarity, and added Posting form related macros
[PLUGINS][NoteTypeFeedFilter] Removed icons from template, added them through CSS to further improve performance
2022-02-07 20:29:14 +00:00
b3d582f665
[PLUGINS][AttachmentCollections] Fixed "Error: Expected Doctrine\ORM\Query\Lexer::T_IDENTIFIER, got 'Plugin\AttachmentCollections\Entity\AttachmentCollection'"
...
[TWIG] Cards are now divided into blocks and macros, additional macros done, attachments page no longer inside cards directory
[CARDS][Navigation] Now using macros to create section, details, and nav elements
2022-02-07 01:54:04 +00:00
2b9f70f89f
[PLUGINS][BlogCollections] Entities and base plugin and controller done
2022-02-07 01:52:35 +00:00
81f6d496c6
[PLUGIN][OAuth2] Fix some static issues
2022-02-04 19:56:17 +00:00
4dd976eb22
[ENTITY][Note] Added function getRenderedSplit, return an array of paragraphs/line breaks
...
[PLUGINS][Favourite] Foreign keys now properly defined on schema
[CARDS][Note] Note text is now hidden by default if too many paragraphs/line breaks are present, BlogCollection plugin will certainly need this feature
2022-02-04 16:07:24 +00:00
222e1fbb2b
[PLUGINS][AttachmentShowRelated] Replacing h2 with span, its supposed to be complementary content, not main
2022-01-27 01:13:18 +00:00
117549bf1e
[PLUGINS][Favourite] Remove favourite action properly removes note_favourite Entity now [COMPONENTS][Collection] Simplyfying feed-action-details template section
...
[COMPONENTS] Documentation work [PLUGINS] Documentation work
2022-01-27 00:54:27 +00:00
adf484f58a
[COMPONENTS][Posting] No error to ignore was reported on line 161, removed ignore
...
[PLUGINS][Directory] Further documentation work
[CORE][Controller] Separating workflows, setting proper return types
[TWIG][Security] Removing unused stylesheet calls
2022-01-26 20:54:55 +00:00
16e7d6cff7
[COMPONENTS] Documenting methods with high cognitive complexity, specifically in Group and Posting components
...
[PLUGINS][Directory] Updating docs, @params weren't set correctly
2022-01-26 20:01:37 +00:00
c7c5fe7979
[PLUGIN][OAuth2] Add 'me' field to token responses
2022-01-25 16:07:39 +00:00
fa0d02a9ac
[PLUGIN][OAuth2] Start adding OAuth2 support with client registration
...
This hardcodes the user, and has some other issues, so it is not yet
complete.
We follow mastodon's spec for automatic client registration, available
at both `/api/v1/apps` and a more reasonable `/oauth/client`. This
accepts a JSON POST with the client info and returns JSON with a
`client_id` and a `client_secret`, to be used with `/oauth/authorize`
and `/oauth/token`. It also, seemingly, requires returning an `id`
with unclear purpose.
The `/oauth/token` endpoint doesn't currently return a `me` field.
2022-01-25 13:35:44 +00:00
ee04571f4d
[TWIG] Various fixes related to header elements hierarchy
...
Widgets shouldn't have a header element from here forward, since their location varies
2022-01-23 19:46:47 +00:00
bf07fa1ade
[COMPONENTS][Collection] Added PrependActorsCollection event [COMPONENTS][Group] Added getGroupCreateForm, used in PrependActorsCollection event to build create a new Group form view
...
[COMPONENTS][LeftPanel] Removed onEndShowStyles event since the corresponding CSS needed is now consolidated into the default_theme itself [COMPONENTS][RightPanel] Deleted components/RightPanel/RightPanel.php, since its only method (onEndShowStyles) wasn't needed anymore
2022-01-23 19:07:39 +00:00
e4a3438d55
[CORE][I18n] Fixing 'file_get_contents(): Argument #1 () must be of type string, Symfony\Component\Finder\SplFileInfo given' error by using Symfony's Finder to iterate through existing files
2022-01-23 19:07:39 +00:00
6b1c6f603e
[CORE][ActorLocalRoles] Improve Roles
2022-01-22 18:47:56 +00:00
3d9edd1db8
[COMPONENTS][LeftPanel] Edit feeds page polish, existing links are shown in a grid, saving space
...
[COMPONENTS][Collection] Fixing details summary class [PLUGINS][WebMonetization] Fixing widget details summary class
2022-01-21 22:05:34 +00:00
e2e1b0172d
[COMPONENTS][Collection] Actors view template ordering section polished [PLUGINS][RepeatNote] Note to be repeated now uses full note card
...
[CSS] Simplyfying rules, re-ordering and removing unnecessary and costly 'display: flex' rules
[CARDS][Note] Minimal note macro has info inside the note itself now, since horizontal space is limited
2022-01-21 22:05:33 +00:00
f731850f5c
[CSS] .section-widget class and derivatives replaced as .frame-section, since a widget implies a simple element with a specific function
2022-01-21 22:05:33 +00:00
7d546e8901
[CSS] Improved performance, reduced padding [COMPONENTS][LeftPanel] Consolidated CSS into base.css [COMPONENTS][RightPanel] Consolidated CSS into base.css [PLUGINS][WebMonetization] Replaced fieldset with section
...
Accessibility tests failed if the fieldset had no legend, since it
wasn't really neeeded, it was replaced as another element.
2022-01-21 22:05:33 +00:00
bdeb3bcff5
[PLUGIN][ActivityPub] Federate Actor of types other than Person
...
Fix some other minor bugs
2022-01-21 22:05:31 +00:00
1856af68b3
[PLUGIN][RepeatNote][COMPONENTS][Posting] Review and fix RepeatNote. Handle attachment lives in Posting
2022-01-21 21:03:08 +00:00
04431885aa
[PLUGIN][PinnedNotes] Fix ActivityPub config
2022-01-21 21:03:07 +00:00
b8a35f9d6d
[PLUGIN][WebMonetization] Fix ActivityPub config
2022-01-21 21:03:07 +00:00
184d0246a5
[COMPONENTS][RightPanel] AppendRightPanelBlock event refactored,
...
replaced with src/Twig/Rintime::getRightPanelBlocks
[COMPONENTS] Re-ordered onAppendRightPanelBlock event calls arguments for improved consistency across events
2022-01-21 21:03:07 +00:00
9e4aed84f8
[PLUGIN][LatexNotes] add LaTeX support for notes
2022-01-21 21:03:07 +00:00
db42ade2b6
[PLUGIN][MarkdownNotes] add markdown support for notes
2022-01-21 21:03:07 +00:00
06d11d8337
[PLUGINS[WebMonetization] Basic activityPub support
2022-01-21 21:03:07 +00:00
148dd6db50
[PLUGINS][PinnedNotes] Basic activityPub support
2022-01-21 21:03:06 +00:00
21c7912702
[PLUGIN][Pinned Notes] Allow user to pin his notes
2022-01-21 21:03:06 +00:00
fa9df9962e
[COMPONENTS][Conversation] Route 'conversation_mute' now has the
...
corresponding conversation view embedded, user is also redirected
properly
[PLUGINS][Favourite] Fixed typo
2022-01-13 17:47:47 +00:00
480f570238
[CORE][SECURITY][HTML] Refactor Security::sanitize to HTML::sanitize
...
Update composer dependencies, move more general deps from ActivityPub to Core
2022-01-12 17:12:58 +00:00
600a1511cb
[TWIG] Removed all instances were 'arrow-down' icon was called in twig templates, replaced it's intended feedback by using :after pseudo-selector within CSS
...
In user panel render time reduced dramatically, by ~70ms. Said icon was requested by twig >10 times.
2022-01-12 16:07:28 +00:00
59b8bdf99b
[PLUGIN][ActivityPub] Provide ActivityStreams 2.0 responses for every Collection
...
Implemented ActivityPub Outbox
2022-01-11 20:30:25 +00:00
a697399a6f
[PLUGIN][DeleteNote][Favourite][ProfileColor][RepeatNote][WebMonetization] Refactor, cleanup and cache results
2022-01-09 12:29:34 +00:00
57604b3851
[PLUGIN][NoteTypeFilter] Always show filtering options
2022-01-09 12:29:34 +00:00