Commit Graph

330 Commits

Author SHA1 Message Date
Hugo Sales
e8feb2ae84 [DOCUMENTATION][REFACTOR] Add documentation to all flagged function and do some small cleanup 2021-09-14 13:06:55 +01:00
Hugo Sales
1949e0b987 [EVENT] Rename event names to camel case to make finding handlers easier 2021-09-14 13:06:55 +01:00
Hugo Sales
0b759da780 [REGISTER] Add self follow when registering, fixing the '-1 followers' bug 2021-09-14 13:06:54 +01:00
Hugo Sales
089c710711 [SETTINGS][NOTIFICATIONS] Fix error when displaying the user notification settings page 2021-09-14 13:06:54 +01:00
Hugo Sales
be324bb390 [CONTROLLER] Fix use of undefined variable 2021-09-14 13:06:54 +01:00
Hugo Sales
44f51ce715 [CONFIG][CACHE] Move cache configuration from environment variables to the configuration file 2021-09-14 13:06:54 +01:00
Hugo Sales
e949dd654a [CONFIG] Various fixes to use new configuration format 2021-09-14 13:06:54 +01:00
Hugo Sales
c4c693b283 [CONFIG] Fix error on missing or empty local configuration 2021-09-14 13:06:53 +01:00
Hugo Sales
dd40255c4a [CONFIG][DB] Remove config from the database, put it in yaml, so it can be baked into the container 2021-09-14 13:06:53 +01:00
Hugo Sales
46f1cf9529 [CORE] Add missing use statement in module base class 2021-09-14 13:06:53 +01:00
Hugo Sales
179d7f3335 [UTILS] Make bitmap not use a static class var and set object properties as lowercase 2021-09-14 13:06:53 +01:00
Hugo Sales
147ff89e74 [NoteAction] Refactor duplicated code out to base class 2021-09-14 13:06:53 +01:00
Hugo Sales
a6c24393b5 [NOTE] Add isVisibleTo 2021-09-14 13:06:53 +01:00
Hugo Sales
63d2d58e9e [EXCEPTION] Make findOne return NotFoundException 2021-09-14 13:06:52 +01:00
Hugo Sales
c07a0cdcd5 [EXCEPTION] Add base class to invalid form exception and add URL arguments to redirect exception 2021-09-14 13:06:52 +01:00
Hugo Sales
0e332b718e [SECURITY] Fix getRoles 2021-09-14 13:06:52 +01:00
Hugo Sales
c0ce25c352 [MODULES] Fix module manager dev-mode rebuild 2021-09-14 13:06:52 +01:00
Hugo Sales
0a56061639 [UI] Only show note action buttons if a user is logged in 2021-09-14 13:06:52 +01:00
Hugo Sales
2164f21834 [Controller] Fix exception handler to recurse on the exception's previous (in some contexts, RedirectException gets wrapped) 2021-09-14 13:06:52 +01:00
Hugo Sales
ffcf909bda [UTIL] Update bitmap base class, making using easier 2021-09-14 13:06:52 +01:00
Hugo Sales
72208b066c [NoteActions] Refactor note actions and fix bug in favourite 2021-09-14 13:06:51 +01:00
Hugo Sales
4c15271d36 [UI] Display error when submitted form is invalid 2021-09-14 13:06:51 +01:00
Hugo Sales
5fc7647c40 [MODULE][DB] Added support for loading entity definitions from modules 2021-09-14 13:06:51 +01:00
Hugo Sales
b906dde059 [EXCEPTION][UI][UX] Add RedirectException, which can be thrown anywhere to redirect somewhere, and an exception handler 2021-09-14 13:06:51 +01:00
Hugo Sales
420b4767b2 [UI][NOTE] Add reply to in UI 2021-09-14 13:06:51 +01:00
Hugo Sales
7af424b64a [DB] Add rendered collumn to note table, so we can preserve microtags from other services 2021-09-14 13:06:50 +01:00
Hugo Sales
460cbbd4c9 [DB] Fix local_user table to use a numeric id, since the username is editable 2021-09-14 13:06:50 +01:00
rainydaysavings
492360ceeb [CONTROLLER][ROUTE] Favourites page initial query implementation and routing 2021-09-14 13:06:50 +01:00
Hugo Sales
55466143f2 [UI][FEED] Fix scope in timelines; major rewrite of home timeline query, still missing scoping and paging 2021-09-14 13:06:49 +01:00
Hugo Sales
e1181ab998 [DB][DEFAULTS] Change attachment storage location from uploads to attachments 2021-09-14 13:06:49 +01:00
Hugo Sales
3b86a46625 [DB] Rename notice to activity in notification table 2021-09-14 13:06:49 +01:00
Hugo Sales
51a398f27a [UI] Subtract self follow from total user follows 2021-09-14 13:06:49 +01:00
Hugo Sales
6e11143b79 [DB][NOTE] Update scope 2021-09-14 13:06:49 +01:00
Hugo Sales
6165f7cd55 [Media] Display images and videos inline in notes 2021-09-14 13:06:49 +01:00
rainydaysavings
a9d5f8ac5b [UI][TWIG] Fixing note actions placement and size, more descriptive rules 2021-09-14 13:06:49 +01:00
Hugo Sales
07078414bb [FORM] Add names to forms 2021-09-14 13:06:48 +01:00
Hugo Sales
adc843c1d6 [DB] Add Activity table, to store all known activity 2021-09-14 13:06:48 +01:00
Hugo Sales
d95c22cb3e [EXCEPTION] Fix exceptions not being translated 2021-09-14 13:06:48 +01:00
Hugo Sales
80cefca90d [DB] Add wrapper for making native queries 2021-09-14 13:06:48 +01:00
rainydaysavings
8a0418d8cf [Favourite] Add backend support for favourite 2021-09-14 13:06:47 +01:00
rainydaysavings
b6fb0255da [DB] Temporarily add favourite entity in core, as plugins don't support them yet 2021-09-14 13:06:47 +01:00
Hugo Sales
5b7fcc44cf [DB] Add helper for removing entities 2021-09-14 13:06:47 +01:00
Hugo Sales
ea4f2c522b [DB] Add support for calling methods with FQCN 2021-09-14 13:06:47 +01:00
rainydaysavings
413247d344 [CONTROLLER] Replies and network queries implemented 2021-09-14 13:06:47 +01:00
rainydaysavings
62e76cb036 [ROUTE] Network and replies routes added 2021-09-14 13:06:46 +01:00
rainydaysavings
04f43a9d37 [Controller] Attempting to fix home timeline query 2021-09-14 13:06:46 +01:00
Hugo Sales
0b50905ac8 [NOTE][UI] Add note replying and UI displaying 2021-09-14 13:06:45 +01:00
Hugo Sales
459f0bf41f [CACHE] Fix bug in list caching 2021-09-14 13:06:45 +01:00
Hugo Sales
f60bdaa2f0 [DB][MODULES][ActivityPub] Cleanup table definitions 2021-09-14 13:06:45 +01:00
rainydaysavings
7bc62868f7 [ROUTE] Home timeline route url now shows accordingly as the user nickname 2021-09-14 13:06:44 +01:00