Commit Graph

20584 Commits

Author SHA1 Message Date
Diogo Peralta Cordeiro b7c82b9dcb
[PLUGIN][DeleteNote] Ensure permissions properly 2021-12-28 15:38:39 +00:00
Diogo Peralta Cordeiro 5c2b46a71d
[COMPONENT][Link] Wrap delete operations in transactions 2021-12-28 06:56:05 +00:00
Diogo Peralta Cordeiro 46d121ef7b
[COMPONENT][Attachment] Wrap delete operations in transactions and correct sequence of deletation 2021-12-28 06:56:05 +00:00
Diogo Peralta Cordeiro bf4a0008ef
[ENTITY][Note] GNU social uses Tombstones for deleted notes instead of fully removing them.
Various corrections.
2021-12-28 06:56:05 +00:00
Diogo Peralta Cordeiro bb4149e092
[PLUGIN][AttachmentCollections] Restore functionality
Some minor corrections
2021-12-28 04:43:13 +00:00
Eliseu Amaro a03429ba03
[PLUGIN][DeleteNote] Delete Note action implemented
Replaces Note content with a tombstone, removes any attachment relations and decrements their lives (possibly even removing the attachment), and creates the respective activity
2021-12-27 22:33:36 +00:00
Diogo Peralta Cordeiro f5b06e2c7e
[UTIL][Formatting] Fix group mentions 2021-12-27 21:38:20 +00:00
Hugo Sales c40e38c5ba
[TOOLS] Fix errors found by PHPStan 2021-12-27 20:37:16 +00:00
Hugo Sales d74a9ad373
[ENTITY][Subscription] Add Subscription::cacheKeys 2021-12-27 20:37:16 +00:00
Hugo Sales 76440961ca
[CORE][DB] Add option to findOneBy to return null rather than throw 2021-12-27 20:37:16 +00:00
Hugo Sales 8796885fa0
[COMPONENT][Tag] Remove '.' from tag regex 2021-12-27 20:37:16 +00:00
Hugo Sales 5c10448080
[COMPONENT][Group] Add group subscribe button 2021-12-27 20:37:16 +00:00
Eliseu Amaro 559ec3df39
[TWIG] Fix login template 2021-12-27 19:09:32 +00:00
Eliseu Amaro 20d89f0f24
[COMPONENTS][Avatar] Make sure dimension values are integers
[CARDS][Note] Fix assumed avatar dimension values
2021-12-27 19:08:55 +00:00
Eliseu Amaro 19975b8d8d
[COMPONENTS][Avatar] Make sure dimension values are integers
[CARDS][Note] Fix assumed avatar dimension values
2021-12-27 19:08:51 +00:00
Phablulo Joel 65a3d738ca [PLUGIN][AttachmentCollections] Make it look good 2021-12-27 15:38:47 -03:00
Phablulo Joel 7ddfe92773 fix: redirect 2021-12-27 15:35:09 -03:00
Phablulo Joel e932ff43d0 [PLUGIN][AttachmentCollections] changes path name to be the same as the one introduced in c4dacd7626 2021-12-27 15:31:19 -03:00
Phablulo Joel 672df5165c [PLUGIN][AttachmentCollections] Fixing forms submission 2021-12-27 15:25:20 -03:00
Hugo Sales 72a19d7eac
[COMPONENT][Posting] Fix error around mentions of actors that don't exist 2021-12-27 17:35:33 +00:00
Hugo Sales b84315c95b
[TOOLS] Fix errors reported by PHPStan at level 4 2021-12-27 17:35:33 +00:00
Hugo Sales edd996d281
[DEPENDENCIES] Update dependencies, including PHPStan to dev version 2021-12-27 17:35:33 +00:00
Hugo Sales cf2f87fc1d
[AUTOGENERATED] Update autogenerated code 2021-12-27 17:35:33 +00:00
Diogo Peralta Cordeiro 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
Diogo Peralta Cordeiro d03572e366
[PLUGIN][Directory] Make it list groups 2021-12-27 17:10:58 +00:00
Diogo Peralta Cordeiro de148c1f78
[COMPONENT][Avatar][Controller] Implement multiple dimensions 2021-12-27 05:08:29 +00:00
Diogo Peralta Cordeiro 2a902d6a7e
[ASSETS][css][sections] rename profile-avatar to avatar 2021-12-27 05:08:29 +00:00
Diogo Peralta Cordeiro 195618801b
[TEMPLATES][Cards][Note] Fix some issues with note minimal 2021-12-27 05:08:29 +00:00
Diogo Peralta Cordeiro 80afc0fa6c
[TEMPLATES][Cards][Profile] Provide both actor uri and url, as well as full mention guidance 2021-12-27 05:08:27 +00:00
Diogo Peralta Cordeiro eb761609aa
[ENTITY][Note] If note is a reply to, notify reply's actor 2021-12-27 04:56:00 +00:00
Diogo Peralta Cordeiro c4dacd7626
[COMPONENT][Attachment] Vinculate note information with attachment controllers
Various minor bug fixes
2021-12-27 04:56:00 +00:00
Eliseu Amaro fd44bc3ac5
[CARDS][Note] Minimize calls between different tables
For instance, the actor_url was set using note.getActor().getUrl() instead of using the actor from the start (since actor was needed in other setters as well).
2021-12-27 03:06:35 +00:00
Eliseu Amaro 65676d3980
[CARDS][Note] Fix attachment page from retrieving image dimensions
Attachments may use only a specific block, not the full note macro itself. Since this is the case, the actor needs to be retrieved for the minimal macro note.
2021-12-27 03:06:35 +00:00
Eliseu Amaro ea42ba9f26
[CARDS][Profile] Fix bio
Was using 'hasBio()' instead of 'getBio()'
2021-12-27 03:06:35 +00:00
Hugo Sales a1a6f5f4fd
[TOOLS] Add warning to update code in bin/generate_entity_fields 2021-12-27 03:06:35 +00:00
Hugo Sales 93276ce8d0
[AUTOGENERATED] Update autogenerated code 2021-12-27 03:06:30 +00:00
Hugo Sales 0df423e84b
[TOOLS] Update bin/generate_entity_fields so it defaults nullable variables to null and handles null in varchars 2021-12-27 03:03:57 +00:00
Hugo Sales 7eff22d548
[TOOLS] Fix errors reported by updated PHPStan 2021-12-27 03:03:57 +00:00
Hugo Sales 52e2231661
[DEPENDENCIES] Update PHPStan and other dependencies 2021-12-27 03:03:57 +00:00
Eliseu Amaro 9d3c01312f
[CARDS][Note] Fix assumed avatar dimension values 2021-12-27 03:03:53 +00:00
Diogo Peralta Cordeiro ce23660dba
[PLUGIN][ImageEncoder] Only show thumbnails if they exist 2021-12-27 03:02:21 +00:00
Diogo Peralta Cordeiro 58715f1733
[PLUGIN][ImageEncoder] If vips doesn't support, don't throw exception, just let other plugin try 2021-12-27 03:02:20 +00:00
Eliseu Amaro 838510ced2
[CARDS][Navigation] Replaced footer to nav
Since the footer is inside a section, it couldn't be a footer element
2021-12-27 03:02:20 +00:00
Eliseu Amaro b30198413c
[PLUGINS][Oomox] Add rel to response headers 2021-12-26 21:26:04 +00:00
Eliseu Amaro 7402e749cb
[COMPONENTS][Feed] Removed unnecessary ARIA 2021-12-26 21:19:33 +00:00
Eliseu Amaro 18cfcc0796
[ICONS] Removed XML processing instructions in svg files 2021-12-26 21:19:06 +00:00
Eliseu Amaro 045ff6fb68
[PLUGINS][XMPPNotifications] Fix typo 2021-12-26 21:19:06 +00:00
Diogo Peralta Cordeiro fec1861b80
[CONTROLLER][Note] Respect note scope 2021-12-26 21:19:06 +00:00
Diogo Peralta Cordeiro d891089945
[PLUGIN][StoreRemoteMedia] Let the user decide the max file size to download 2021-12-26 21:19:04 +00:00
Diogo Peralta Cordeiro 0c421116a6
[ENTITY][Note] Relive isVisibleTo method 2021-12-26 19:50:21 +00:00