Commit Graph

274 Commits

Author SHA1 Message Date
Hugo Sales 06e92344cc [CONFIG] Various fixes to use new configuration format 2021-04-14 15:37:23 +00:00
Hugo Sales a9944592c4 [CONFIG] Fix error on missing or empty local configuration 2021-04-14 15:37:23 +00:00
Hugo Sales 02c7bdf4f0 [CONFIG][DB] Remove config from the database, put it in yaml, so it can be baked into the container 2021-04-14 15:37:22 +00:00
Hugo Sales 8547c54103 [CORE] Add missing use statement in module base class 2021-04-14 15:37:22 +00:00
Hugo Sales db608ca3c1 [UTILS] Make bitmap not use a static class var and set object properties as lowercase 2021-04-14 15:37:22 +00:00
Hugo Sales abc32ecc0e [NoteAction] Refactor duplicated code out to base class 2021-04-14 15:37:22 +00:00
Hugo Sales d7ff38fe24 [NOTE] Add isVisibleTo 2021-04-14 15:37:22 +00:00
Hugo Sales 7e7bfd1958 [EXCEPTION] Make findOne return NotFoundException 2021-04-14 15:37:22 +00:00
Hugo Sales 9f4a53dbbd [EXCEPTION] Add base class to invalid form exception and add URL arguments to redirect exception 2021-04-14 15:37:22 +00:00
Hugo Sales 96415f8523 [SECURITY] Fix getRoles 2021-04-14 15:37:22 +00:00
Hugo Sales e0672e559a [MODULES] Fix module manager dev-mode rebuild 2021-04-14 15:37:22 +00:00
Hugo Sales c8b6db650a [UI] Only show note action buttons if a user is logged in 2021-04-14 15:37:22 +00:00
Hugo Sales 9ae31501cc [Controller] Fix exception handler to recurse on the exception's previous (in some contexts, RedirectException gets wrapped) 2021-04-14 15:37:22 +00:00
Hugo Sales 1330c96681 [UTIL] Update bitmap base class, making using easier 2021-04-14 15:37:22 +00:00
Hugo Sales 0492d71294 [NoteActions] Refactor note actions and fix bug in favourite 2021-04-14 15:37:22 +00:00
Hugo Sales 1c37eb7c72 [UI] Display error when submitted form is invalid 2021-04-14 15:37:22 +00:00
Hugo Sales 34fab45b6b [MODULE][DB] Added support for loading entity definitions from modules 2021-04-14 15:37:22 +00:00
Hugo Sales 749bec5d52 [EXCEPTION][UI][UX] Add RedirectException, which can be thrown anywhere to redirect somewhere, and an exception handler 2021-04-14 15:37:22 +00:00
Hugo Sales 7a68ba4f05 [UI][NOTE] Add reply to in UI 2021-04-14 15:37:22 +00:00
Hugo Sales 5c4be9d29e [DB] Add rendered collumn to note table, so we can preserve microtags from other services 2021-04-14 15:37:22 +00:00
Hugo Sales 13fb9b4698 [DB] Fix local_user table to use a numeric id, since the username is editable 2021-04-14 15:37:22 +00:00
rainydaysavings 40aa4fa60e [CONTROLLER][ROUTE] Favourites page initial query implementation and routing 2021-04-14 15:37:22 +00:00
Hugo Sales 76b8b29776 [UI][FEED] Fix scope in timelines; major rewrite of home timeline query, still missing scoping and paging 2021-04-14 15:37:22 +00:00
Hugo Sales d862457623 [DB][DEFAULTS] Change attachment storage location from uploads to attachments 2021-04-14 15:37:22 +00:00
Hugo Sales f6a40390e0 [DB] Rename notice to activity in notification table 2021-04-14 15:37:22 +00:00
Hugo Sales 1387eab434 [UI] Subtract self follow from total user follows 2021-04-14 15:37:22 +00:00
Hugo Sales ca576981a3 [DB][NOTE] Update scope 2021-04-14 15:37:22 +00:00
Hugo Sales 5cf7050008 [Media] Display images and videos inline in notes 2021-04-14 15:37:22 +00:00
rainydaysavings af3ed18d48 [UI][TWIG] Fixing note actions placement and size, more descriptive rules 2021-04-14 15:37:22 +00:00
Hugo Sales 109b17b1f9 [FORM] Add names to forms 2021-04-14 15:37:22 +00:00
Hugo Sales a129a6e368 [DB] Add Activity table, to store all known activity 2021-04-14 15:37:22 +00:00
Hugo Sales 736fb672a5 [EXCEPTION] Fix exceptions not being translated 2021-04-14 15:37:22 +00:00
Hugo Sales 7b467091d6 [DB] Add wrapper for making native queries 2021-04-14 15:37:22 +00:00
rainydaysavings 0ed0d0470c [Favourite] Add backend support for favourite 2021-04-14 15:37:22 +00:00
rainydaysavings 153c8d0d64 [DB] Temporarily add favourite entity in core, as plugins don't support them yet 2021-04-14 15:37:22 +00:00
Hugo Sales 75bc71f473 [DB] Add helper for removing entities 2021-04-14 15:37:22 +00:00
Hugo Sales 29f30a6932 [DB] Add support for calling methods with FQCN 2021-04-14 15:37:22 +00:00
rainydaysavings 928064c5ee [CONTROLLER] Replies and network queries implemented 2021-04-14 15:37:22 +00:00
rainydaysavings 6d3dba17d2 [ROUTE] Network and replies routes added 2021-04-14 15:37:22 +00:00
rainydaysavings 54c54990a4 [Controller] Attempting to fix home timeline query 2021-04-14 15:37:22 +00:00
Hugo Sales e13e763d5c [NOTE][UI] Add note replying and UI displaying 2021-04-14 15:37:22 +00:00
Hugo Sales c0caf520b8 [CACHE] Fix bug in list caching 2021-04-14 15:37:22 +00:00
Hugo Sales fefee324b4 [DB][MODULES][ActivityPub] Cleanup table definitions 2021-04-14 15:37:22 +00:00
rainydaysavings d96e4f9076 [ROUTE] Home timeline route url now shows accordingly as the user nickname 2021-04-14 15:37:22 +00:00
rainydaysavings 79be38992f [ROUTE] Home timeline added 2021-04-14 15:37:22 +00:00
rainydaysavings 6d92230c32 [CONTROLLER] Home timeline controller work 2021-04-14 15:37:22 +00:00
Hugo Sales 43665749bb [UI][TWIG] Small UI cleanup and change twig 'active' function to check for starts with, rather than equals 2021-04-14 15:37:22 +00:00
Hugo Sales 57297aba56 [DB][MEDIA] Small database structure changes 2021-04-14 15:37:22 +00:00
Hugo Sales 1b0cab6dc8 [UI][NOTE] Post and see attachments 2021-04-14 15:37:22 +00:00
Hugo Sales 9a0c64c3d1 [DEPENDENCY] Add tgalopin/html-sanitizer-bundle and transitively tgalopin/html-sanitizer 2021-04-14 15:37:22 +00:00