2fd46ca886
[TOOLS] Continue raising PHPStan level to 6
2022-10-19 22:39:17 +01:00
edeee49af9
[TOOLS] Fix errors pointed out by PHPStan level 4
2022-10-19 22:38:49 +01:00
d4b7e990ce
[CORE][Event] Make all events return \EventResult, enforced at container build time
2022-04-03 21:40:32 +01:00
fa82306f6f
[COMPONENT][Posting] Blog posts should be Articles by default
2022-03-28 23:54:18 +01:00
483983790a
[CORE][Router] Rename \App\Core\Router\Router to \App\Core\Router and merge \App\Core\Router\RouteLoader with \App\Core\Router
2022-03-28 20:59:15 +01:00
abe35428da
[CORE][DB] Rename App\Core\DB\DB to App\Core\DB
2022-03-28 20:59:14 +01:00
888c3798b7
[COMPONENT][Notification] Make logic more generic and robust
...
Fixed various bugs
Some important concepts to bear in mind:
* Notification: Associated with activities, won't be reconstructed
together with objects, can be thought of as transient
* Attention: Associated with objects, will be reconstructed with them, can
be thought as persistent
* Notifications and Attentions have no direct implications.
* Mentions are a specific form of attentions in notes, leads to the creation of Attentions.
Finally,
Potential PHP issue detected and reported: https://github.com/php/php-src/issues/8199
`static::method()` from a non static context (such as a class method) calls `__call`, rather than
the expected `__callStatic`. Can be fixed by using `(static fn() => static::method())()`, but the
usage of the magic method is strictly unnecessary in this case.
2022-03-14 11:37:09 +00:00
47f03d4c9f
[COMPONENT][Attachment][TESTS] Fix Entity/AttachmentTest
2022-03-09 01:42:06 +00:00
1daa314c55
[COMPONENT][Posting][FORM] Refactor Posting form to use a form action with a separate controller and the new Form::forceRedirect
2022-03-04 15:16:19 +00:00
a9a60bbd92
[COMPONENT][Posting] Clarify use of cache in note replies when posting
2022-03-01 11:19:47 +00:00
5188a473d0
[TOOLS] Fix errors reported by PHPStan
2022-02-28 15:47:37 +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
d5731e6351
[COMPONENT][Notification] Consider attention properly in notes
2022-02-25 13:12:16 +00:00
a71c16d654
[COMPONENTS][Posting] Fixed issue where an embed attachment would violate Note's conversation_id not null constraint
...
Conversation was only assigned after storing Note's attachments
2022-02-20 05:03:41 +00:00
27635d8ec2
[PLUGIN][ActivityPub][Model][Note] Add name property as note title
2022-02-19 04:49:49 +00:00
03a475b642
[TWIG] Form layout is all new, since extending form_div_layout.html.twig was quite limiting
...
[COMPONENTS][Posting] It is now visible on Actor profiles [COMPONENTS][Search] Overall rework of search results template, there's also additional help text added [CSS] Header no longer translucent, font sizes yet more consistent, replies marker less pronounced, and font hierarchy is now applied in both weight and size
2022-02-19 04:01:47 +00:00
b69f4a46c5
[COMPONENT][Posting] Page should flush with a different notification
2022-02-16 19:35:27 +00:00
cee2d143c9
[COMPONENT][Posting] Add storeLocalPage
...
Minor refactoring and bug fixing
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
5b94973079
[COMPONENTS][Posting] Form is no longer added to RightPanel if not on a feed|conversation|groups route
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
6500e99b69
[COMPONENT][Posting] Respect context actor concerning visibility and In sorting
2022-02-13 23:14:58 +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
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
29d498770c
[COMPONENTS][Group] Create a group route added, template polished
...
[COMPONENTS][Circle] Removed any Group related route from shouldAddToRightPanel event
[CARDS][Profile] Block should now allow inline long nicknames to not
break
2022-01-21 21:03:09 +00:00
1856af68b3
[PLUGIN][RepeatNote][COMPONENTS][Posting] Review and fix RepeatNote. Handle attachment lives in Posting
2022-01-21 21:03:08 +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
ee007befa4
[COMPONENT][Posting] DB::Flush after Notification and fix minor issues with In targets
2022-01-05 01:30:01 +00:00
a8a8cc4046
[COMPONENT][Posting] Plumb in reply_to and redirecto to GET from
2022-01-03 21:20:26 +00:00
07b65584ff
[COMPONENTS][Posting] Replaced is_int() with is_numeric(), casting target to int when using Actor getter
...
From php-stan: is int with string evaluates to false
Thus, the change was made in order to behave as intended
2022-01-03 17:58:48 +00:00
9e0a2dd4a0
[TOOLS] Fix errors found by PHPStan
2022-01-03 02:23:06 +00:00
1a99762699
[COMPONENT][Posting][Notification] Move group inbox message creation to Notification component
2022-01-01 10:32:07 +00:00
4d8e39bf69
[PLUGIN][RepeatNote] Do not notify about clone note
...
Fix redirecion after action
Fix typo in activitypub handler
2021-12-28 18:30:27 +00:00
9cda64f275
[COMPONENT][Notification] Use _m() in reason
2021-12-28 16:36:52 +00:00
72a19d7eac
[COMPONENT][Posting] Fix error around mentions of actors that don't exist
2021-12-27 17:35:33 +00:00
c9d05d71f5
[COMPONENT][Group] Fix group creation, Refactor related entities to inside the component
...
Other minor bug fixes and improvements
2021-12-27 17:28:03 +00:00
7eff22d548
[TOOLS] Fix errors reported by updated PHPStan
2021-12-27 03:03:57 +00:00
a1d9909379
[CORE][VisibilityScope] Use enum type instead of Bitmap
2021-12-26 19:16:56 +00:00
c79b1e4c94
[AUTOGENERATED] Update auto generated code
2021-12-26 19:16:15 +00:00
ec28f23025
[TOOLS] Run CS-fixer on all files
2021-12-26 19:16:15 +00:00
3e13765f62
[CORE][SCOPE] Implement basic visibility in feeds
2021-12-26 16:48:34 +00:00
d4bc1d097d
[ENTITY][NoteTag][COMPONENT][Language] Add language to NoteTag and minor corrections
2021-12-26 06:22:30 +00:00
7891461d36
[PLUGINS][AttachmentCollections] Fix template
...
[PLUGINS][AttachmentShowRelated] Fix template
[CSS] Fix section-subtitle-details children padding issues
[COMPONENTS][Posting] Remove unnecessary colon
Overall polish of existing plugins templates
2021-12-25 17:31:16 +00:00
b604ee3146
[COMPONENT][Posting][Tag][Group][Conversation][RightPanel] Rename posting_form.to to posting_form.in, fill in with current group. Refactor context_actor
2021-12-25 11:24:41 +00:00
b05106e7f9
[COMPONENT][Conversation] Minor corrections and don't store URI in DB
2021-12-24 02:46:38 +00:00
48b2c8c04e
[COMPONENTS][Conversation] Local Conversations done
...
[COMPONENTS][Posting] Call Conversation::assignLocalConversation upon
creating a new note
By using the AddExtraArgsToNoteContent event upon posting a Note, an
extra argument ('reply_to') is added before storing the aforementioned Note.
When storeLocalNote eventually creates the Note, the corresponding
Conversation is assigned.
2021-12-24 00:42:02 +00:00
85735222cb
[COMPONENT][Posting] When a group is mentioned, add that note to the group inbox
2021-12-21 12:43:28 +00:00