Commit Graph

328 Commits

Author SHA1 Message Date
b855dd00ac [LOG] Only try to log if setup, so logs can be disabled, in tests, for instance 2021-04-14 15:37:24 +00:00
d082f4249c CACHE] Fix cache implementation with the help of tests and remove premature optimization for non-redis list caching
This complicated the code significantly and likely didn't help that much, if at all. The recommended setup is using Redis, anyway, which is plenty optimized
2021-04-14 15:37:24 +00:00
f11f9040b1 [TESTS] Add App\Core\Cache test 2021-04-14 15:37:24 +00:00
ffaf5da984 [TESTS] Fix unkept unit tests 2021-04-14 15:37:23 +00:00
b2aff4c75e [DB] Fix Doctrine errors due to lack of column uniqueness
So, Doctrine doesn't like that `GSActorTag.tag` is not unique, even
though composite key `[tagger, tag]` is. `tag` can't unique, but
doctrine doesn't understand this. This seems like a Doctrine bug that
should be investigated. For now we'll just not mark it as a foreign
key
2021-04-14 15:37:23 +00:00
e008bf1863 [DB] Make Note.source reference NoteSource.code, the primary key 2021-04-14 15:37:23 +00:00
up201706832
98f072bc12 [AUTH][REMEMBER-ME] Changed name of column in rememberme_token database table to fix bug 2021-04-14 15:37:23 +00:00
Daniel
a4fdb193bc [ProfileColor] Added Profile Color entity, color form and db store/load to color settings controler 2021-04-14 15:37:23 +00:00
Daniel
04b9c736a6 [REVERSEFAV] Added reverse favorourites stream/template 2021-04-14 15:37:23 +00:00
João Brandão
5e26359783 [UI][TIMELINES] Refactored query for public stream 2021-04-14 15:37:23 +00:00
Angelo D. Moura
66875e93f8 [Directory] Finished implementing groups stream using Directory plugin 2021-04-14 15:37:23 +00:00
Angelo D. Moura
08fe5fb23f [Directory] Changed the route so the plugin Directory doesn't take over - query is not working for some reason 2021-04-14 15:37:23 +00:00
Angelo D. Moura
d4038cd520 [Directory] Added the route, controller and a blank template file - something is broken 2021-04-14 15:37:23 +00:00
Angelo D. Moura
f29b15924c [Directory] Actors are now organized by nickname 2021-04-14 15:37:23 +00:00
Angelo D. Moura
f621e521f9 [Directory] Actors are no longer related with notes, and the logged in user now shows on the stream 2021-04-14 15:37:23 +00:00
Angelo D. Moura
f67c41a7ac [Directory] Almost finishied creating the /actors stream - problems with the css files 2021-04-14 15:37:23 +00:00
Angelo D. Moura
19be786da8 [Directory] Add the route, controller function, and blank template file 2021-04-14 15:37:23 +00:00
Daniel
e2df8aec10 [Cover] Input restrictions, Code cleanup 2021-04-14 15:37:23 +00:00
Daniel
777b8b55fd [Cover] Cover route, cover now renders 2021-04-14 15:37:23 +00:00
Daniel
4fd33bf37f [Cover] Added Cover Entity, updated form handler
Basically the same as the avatar
2021-04-14 15:37:23 +00:00
Diogo Machado
1abc3e3e7d [STATIC ANALYSIS] Started removal process for the errors found by PHPStan 2021-04-14 15:37:23 +00:00
Daniel
696ebe60e0 [Poll] Restructured templates, added misssing poll related css 2021-04-14 15:37:23 +00:00
Daniel
168b7d313a [Poll] Polls now have an associated note, poll templates, start_show_styles event, started css 2021-04-14 15:37:23 +00:00
Daniel
3a51d3ef89 [Poll] Started testing with note integration 2021-04-14 15:37:23 +00:00
Daniel
7c8dbccee2 [Poll] Added file headers 2021-04-14 15:37:23 +00:00
Daniel
7a925cd9a6 [Poll] Added modified param for Poll/Poll response, added PollTest 2021-04-14 15:37:23 +00:00
Daniel
0a1ea8749b [Poll] Added variable num of options
not sure if it is the right way to do it
2021-04-14 15:37:23 +00:00
Daniel
8543c8c68e [Poll] Added templates, response counting 2021-04-14 15:37:23 +00:00
Daniel
8bbeb79233 [Poll] Store poll response to DB 2021-04-14 15:37:23 +00:00
Daniel
4fcde940ff [Poll] Added New Route, RespondPoll, Poll Response, PollResponseForm 2021-04-14 15:37:23 +00:00
Daniel
a98e3a32f9 [Poll] Fixed ShowPoll route, moved Poll Entity, created NewPollForm
Entity was temporarily moved to src/Entity in order to load from DB, since it is yet no possible to do that from Plugin
2021-04-14 15:37:23 +00:00
Angelo D. Moura
5ec7e2e092 [TWIG] Moves the SVG custom function to an extension and change the test regex 2021-04-14 15:37:23 +00:00
Angelo D. Moura
cacd9a574d [TWIG] Add SVG icon embed function 2021-04-14 15:37:23 +00:00
Diogo Machado
5a7b895476 [DB][TESTS] Implement Doctrine event listener to update timestamps on modification, and related tests 2021-04-14 15:37:23 +00:00
Daniel
630ef3e826 [FORM] Implement ActorArrayTransformer 2021-04-14 15:37:23 +00:00
bb4f5b88e7 [PLUGIN][Favourite] Move favourite table definition to inside the plugin, as it is now supported 2021-04-14 15:37:23 +00:00
23904f326d [SchemaDef] Finish association mapping implementation 2021-04-14 15:37:23 +00:00
9b42f525e8 [DB][NoteLocation] Add missing multiplicity to column 2021-04-14 15:37:23 +00:00
9d12dde7c1 [DB] Fix typo in table definitions and fix name of GSActorCircle table 2021-04-14 15:37:23 +00:00
adb5cfbb72 [AUTOGENERATED][DB][File][GroupJoinQueue] Update autogenerated code and add select fields as specified in the previous commit 2021-04-14 15:37:23 +00:00
f8c47387c4 [DB] Change foreign key specification to new format 2021-04-14 15:37:23 +00:00
b337d6b2eb [SCHEMADEF] Add preliminary support for foreign keys 2021-04-14 15:37:23 +00:00
2c9bd3575b [AUTOGENERATED] Update auto generated code in entities 2021-04-14 15:37:23 +00:00
256169a3c4 [GIT] Change my email to the new one in all files and bump copyright year 2021-04-14 15:37:23 +00:00
0d2cf6eaa6 [DB] Merge definition of SchemaDefDriver with SchemaDefPass for clarity 2021-04-14 15:37:23 +00:00
8a14222d51 [NETWORK][TreeNotes] Add TreeNotes plugin which takes over the responsibility of displaying a conversation as a tree, in order to reduce the number of queries 2021-04-14 15:37:23 +00:00
Hugo Sales
b1cb923036 Ensure group table name is quoted, as it's a reserved word in postgreSQL 2021-04-14 15:37:23 +00:00
Hugo Sales
91eb3354e3 [COMMAND] Change the way ListEventsCommand outputs the results to use the output interface and add some formatting 2021-04-14 15:37:23 +00:00
Hugo Sales
5cced1c9ed [DOCUMENTATION][REFACTOR] Add documentation to all flagged function and do some small cleanup 2021-04-14 15:37:23 +00:00
Hugo Sales
fdaa89e3c9 [EVENT] Rename event names to camel case to make finding handlers easier 2021-04-14 15:37:23 +00:00