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
1438433859
[PLUGINS][NoteTypeFeedFilter] Polish feed actions HTML, adding proper anchor titles and better user feedback when a filter in applied
...
[COMPONENTS][Collection] Notes feed template HTML polish to accomodate changes needed for NoteTypeFeedFilter
2022-01-07 21:14:51 +00:00
cb1dc4c10f
[PLUGIN][WebMonetization] Adding Web Monetization plugin which allows for donations using the Web Monetizations protocol
2022-01-07 14:55:35 -03:00
c3d58c350e
[COMPONENTS][Collections] Iterating documentation
2022-01-07 09:23:37 -03:00
3f8fab0021
[PLUGIN][Favourite] Fix routes
2022-01-05 04:19:35 +00:00
cd6ce3542e
[COMPONENT][Circle] Move circles to a component, various bug fixes
...
Mention links are now correct
2022-01-05 04:19:22 +00:00
627d92b290
[COMPONENT][Tag] Improve Note Tag Handling and start extracting Circles logic out of the plugin, various bug fixes
2022-01-05 01:30:02 +00:00
ee007befa4
[COMPONENT][Posting] DB::Flush after Notification and fix minor issues with In targets
2022-01-05 01:30:01 +00:00
9df9c6a19c
[COMPONENT][Collection] Make MetaCollectionPlugin a trait and abstract collection delete and name update
2022-01-05 01:30:00 +00:00
135bf8bc68
[COMPONENTS][Conversation] Documented respective Controller
...
[PLUGINS][TreeNotes] Documentation added, feedFormatTree explained in detail
2022-01-03 19:26:17 +00:00
4ae160b0f8
[PLUGINS][AttachmentShowRelated] Fix onEndShowStyles condition to add proper stylesheet to array
2022-01-03 17:51:19 +00:00
9ea230d12b
[COMPONENT][Subscription] Implement subscription handlers
2022-01-03 02:23:06 +00:00
fe087b2217
[PLUGIN][ActivityPub] Accept Undo Follow
2022-01-03 02:23:06 +00:00
a9ea49d34c
[TOOLS][DOC] Add documentation to functions flagged by doc-check
2022-01-03 02:23:06 +00:00
9e0a2dd4a0
[TOOLS] Fix errors found by PHPStan
2022-01-03 02:23:06 +00:00
8fa04bb47d
[EVENT][AddFeedActions] Add bool param which denotes whether the feed is empty. [PLUGIN][NoteTypeFeedFilter] Don't show filters if the feed is empty
2022-01-03 02:23:06 +00:00
27276ba379
[CONFIG] Rename streams/notes_per_page to feeds/entries_per_page
2022-01-03 02:18:44 +00:00
ea5a4df1a4
[UI][PLUGIN][Directory] Add UI for Directory listing ordering. This uses a GET parameter, which subits the field in order_by and the operator in order_op. Using order_by=filed^ is still supported
2022-01-03 02:18:44 +00:00
5fa8056899
[COMPONENT][Collection] Refactoring: Further work in abstracting collections
2022-01-03 02:18:43 +00:00
def5f36c25
[PLUGIN][ActivityPub][Inbox] Accept Follow Activity
...
Improve how Core Activity is handled in general
2022-01-02 23:50:16 +00:00
28424402ec
[CONTROLLER][CollectionController] Refactored methods names and form
...
titles
[PLUGINS][AttachmentCollections] Renamed respective Controller to
differentiate it between The Controller and itself, renamed templates
and removed unnecessary HTML from templates
2022-01-02 23:50:15 +00:00
7ad39fdc83
[PLUGINS][Repeat] Added onNoteDeleteRelated event
...
Using DB::merge to increment attachment lives when repeating a note,
since it's getting deprecated in the future, an alternative needs to
replace it here
2022-01-02 23:50:15 +00:00
d5080890ac
[PLUGINS][Favourite] Added onNoteDeleteRelated event
...
All favourite entities are now removed from note_favourite table when the respective note
is deleted. Documented the favourNote and unfavourNote methods
2022-01-02 23:50:15 +00:00
046731a05a
[COMPONENT][Avatar] Save title if possible, delete correctly, no early flushes
...
[PLUGIN][ActivityPub] Minor bug fixes in Actor translation
2022-01-02 23:50:14 +00:00
d6cd33019d
[UI][PLUGIN][Directory] Add sort options to UI
2022-01-01 22:18:18 +00:00
5662210a2d
[UI][PLUGIN][Directory] Use a single template for all results
2022-01-01 22:18:18 +00:00