Commit Graph

19 Commits

Author SHA1 Message Date
Hugo Sales
86ac5c52a1
[TESTS] Add to the supported configuration list, the mimetypes of all sample-upload files 2021-10-28 17:26:57 +01:00
Diogo Peralta Cordeiro
5189269e5b
[FreeNetwork] Port Discovery 2021-10-27 04:22:18 +01:00
Diogo Peralta Cordeiro
03f6029ce5
[SECURITY] Fix nickname validation and properly allow email auth 2021-10-18 13:22:55 +01:00
Diogo Peralta Cordeiro
05f16a3084
[ENTITY][AttachmentThumbnail] Now thumbnails are always only available in three sizes: small, medium, big
Commit jointly produced with eli (Eliseu Amaro)

Breaking change: Entity changed to only store the tinyint referring to the size stored

With this, the logic was simplified and now it's not possible to make an
instance produce unnecessary thumbs. The aspect ratio is preserved and
thus the thumbs will always look nice. New configuration was added to
maintain flexibility.
2021-09-22 15:13:46 +01:00
Hugo Sales
879f54c772
[CACHE] Filter notes by scope in pagedStream
This currently does not return a fixed number of notes per page. Fixing this is left as an exercise to the reader
2021-09-21 16:37:51 +01:00
Hugo Sales
7926f18f93
[CONFIG] Add streams:notes_per_page config value 2021-09-21 11:04:27 +01:00
Diogo Peralta Cordeiro
2b457655ea
[CORE] Fix path configuration 2021-09-14 13:13:35 +01:00
Diogo Peralta Cordeiro
b0b4f37078
[CONFIG] Add setting for attachment sanitization 2021-09-14 13:13:34 +01:00
Hugo Sales
4aee27d3a6
[CONFIG] Ensure consistency in config file 2021-09-14 13:13:18 +01:00
Hugo Sales
1c09aefd5a
[CONFIG] Make password length limits configurable 2021-09-14 13:13:14 +01:00
Diogo Peralta Cordeiro
a3860e6257
[Embed] Local config 2021-09-14 13:12:56 +01:00
Hugo Sales
a165e533bb
[CONFIG] Add attachments/max_{width,height} config option, which is used as maximum dimensions when validating attachments 2021-09-14 13:12:54 +01:00
Hugo Sales
8988d89192
[CONFIG] Add attachment related parameters to default config 2021-09-14 13:12:52 +01:00
Hugo Sales
57dad5eca4
[NICKNAME] Add nickname min length config and check it in Nickname::normalize 2021-09-14 13:10:23 +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
Hugo Sales
ebfd41ba0d
[CONFIGURATION] Remove the individual language settings from social.yaml, as these are not something that changes at runtime 2021-09-14 13:06:55 +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
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
01b5c4b2f7
[CONFIG] Change way configuration is done to use Symfony's system instead of environment vars 2021-09-14 13:05:38 +01:00