Commit Graph

791 Commits

Author SHA1 Message Date
ccf3aa990a [MODULES] Introduce the concept of abstract modules to V3
Introduce placeholder for abstract upload and thumb modules
Temporarily supress some bugs
2021-09-14 13:11:45 +01:00
539f1861a6 [NETWORK] Fix big brain bug 2021-09-14 13:10:55 +01:00
ea802621aa [ENTITY] Remove extraneous File_thumbnail.php file 2021-09-14 13:10:55 +01:00
e2e561e663 [DB][FKEY] Temporarily disable foreign key mapping, as there seems to be a bug in doctrine, which is under investigation 2021-09-14 13:10:23 +01:00
faa362e2e2 [DB] Remove unique constraint from GSActor.nickname and fix register and related functionality 2021-09-14 13:10:23 +01:00
68de1b09b1 [NICKNAME] Don't throw when normalizing reserved nicknames 2021-09-14 13:10:23 +01:00
78548365da [WEB] Fix translations and small inconsistency when opening on web 2021-09-14 13:10:23 +01:00
8b5bd40421 [TESTS] Add tests to all relevant methods under App\Util and fix errors that popup 2021-09-14 13:10:23 +01:00
57dad5eca4 [NICKNAME] Add nickname min length config and check it in Nickname::normalize 2021-09-14 13:10:23 +01:00
5afd2c9843 Duplicate src/Util/Exception/NicknameTooLongException.php history in src/Util/Exception/NicknameTooShortException.php history. 2021-09-14 13:10:23 +01:00
dc2a453e94 [TESTS] Add tests of Common and fix small oddities that pop up 2021-09-14 13:10:22 +01:00
b387ea9aa0 [TESTS] Fix error when testing cold redis cache 2021-09-14 13:10:22 +01:00
88e4044d02 [TESTS] Add tests for the bitmap utility and fix implementation 2021-09-14 13:10:22 +01:00
8d25859de7 [LOG] Only try to log if setup, so logs can be disabled, in tests, for instance 2021-09-14 13:10:22 +01:00
7e648a296f 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-09-14 13:10:22 +01:00
c539f17ba5 [TESTS] Add App\Core\Cache test 2021-09-14 13:10:22 +01:00
1028f05cd8 [TESTS] Fix unkept unit tests 2021-09-14 13:10:21 +01:00
2174f288d1 [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-09-14 13:10:20 +01:00
c894a4faa4 [DB] Make Note.source reference NoteSource.code, the primary key 2021-09-14 13:10:20 +01:00
up201706832
f9443f1e87 [AUTH][REMEMBER-ME] Changed name of column in rememberme_token database table to fix bug 2021-09-14 13:10:19 +01:00
Daniel
afae038cff [ProfileColor] Added Profile Color entity, color form and db store/load to color settings controler 2021-09-14 13:10:19 +01:00
Daniel
f04923405f [REVERSEFAV] Added reverse favorourites stream/template 2021-09-14 13:10:19 +01:00
João Brandão
5516a77b33 [UI][TIMELINES] Refactored query for public stream 2021-09-14 13:10:19 +01:00
Angelo D. Moura
fe170ff508 [Directory] Finished implementing groups stream using Directory plugin 2021-09-14 13:10:18 +01:00
Angelo D. Moura
098fdb3361 [Directory] Changed the route so the plugin Directory doesn't take over - query is not working for some reason 2021-09-14 13:10:18 +01:00
Angelo D. Moura
eb1ef4dd0f [Directory] Added the route, controller and a blank template file - something is broken 2021-09-14 13:10:18 +01:00
Angelo D. Moura
4f85efa071 [Directory] Actors are now organized by nickname 2021-09-14 13:10:18 +01:00
Angelo D. Moura
505e60d89f [Directory] Actors are no longer related with notes, and the logged in user now shows on the stream 2021-09-14 13:10:18 +01:00
Angelo D. Moura
0c5941f515 [Directory] Almost finishied creating the /actors stream - problems with the css files 2021-09-14 13:10:17 +01:00
Angelo D. Moura
517cba3510 [Directory] Add the route, controller function, and blank template file 2021-09-14 13:10:17 +01:00
Daniel
fdc2bc39d0 [Cover] Input restrictions, Code cleanup 2021-09-14 13:10:17 +01:00
Daniel
aeec9149fc [Cover] Cover route, cover now renders 2021-09-14 13:10:16 +01:00
Daniel
1cfe64cc25 [Cover] Added Cover Entity, updated form handler
Basically the same as the avatar
2021-09-14 13:10:16 +01:00
Diogo Machado
f18a2a4bb6 [STATIC ANALYSIS] Started removal process for the errors found by PHPStan 2021-09-14 13:10:16 +01:00
Daniel
c0d363e317 [Poll] Restructured templates, added misssing poll related css 2021-09-14 13:10:13 +01:00
Daniel
7a299162e1 [Poll] Polls now have an associated note, poll templates, start_show_styles event, started css 2021-09-14 13:10:13 +01:00
Daniel
090c593a61 [Poll] Started testing with note integration 2021-09-14 13:10:13 +01:00
Daniel
50ec306243 [Poll] Added file headers 2021-09-14 13:10:12 +01:00
Daniel
ffb4b9df23 [Poll] Added modified param for Poll/Poll response, added PollTest 2021-09-14 13:10:12 +01:00
Daniel
f34fb9c7b9 [Poll] Added variable num of options
not sure if it is the right way to do it
2021-09-14 13:10:12 +01:00
Daniel
cdbf7da8be [Poll] Added templates, response counting 2021-09-14 13:10:12 +01:00
Daniel
27a0c43f7b [Poll] Store poll response to DB 2021-09-14 13:10:12 +01:00
Daniel
3725818e4f [Poll] Added New Route, RespondPoll, Poll Response, PollResponseForm 2021-09-14 13:10:12 +01:00
Daniel
dbb55362c8 [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-09-14 13:10:12 +01:00
Angelo D. Moura
d53fef09a8 [TWIG] Moves the SVG custom function to an extension and change the test regex 2021-09-14 13:06:58 +01:00
Angelo D. Moura
5acfda8ae5 [TWIG] Add SVG icon embed function 2021-09-14 13:06:58 +01:00
Diogo Machado
fbc85086fd [DB][TESTS] Implement Doctrine event listener to update timestamps on modification, and related tests 2021-09-14 13:06:58 +01:00
Daniel
c3aa2ae400 [FORM] Implement ActorArrayTransformer 2021-09-14 13:06:57 +01:00
279cfcd058 [PLUGIN][Favourite] Move favourite table definition to inside the plugin, as it is now supported 2021-09-14 13:06:57 +01:00
417e2f351b [SchemaDef] Finish association mapping implementation 2021-09-14 13:06:57 +01:00