Hugo Sales
d5f90a1206
[ENTITY][Note][CONFIG] Use getListPartialCache for getReplies. Add feeds/cached_replies config entry to control how many replies get cached
2022-02-28 15:47:38 +00:00
Hugo Sales
6e85a4adbb
[CONFIG] Change default config to make media files (attachments and their thumbnails) to a subfolder to file, so cleanup scripts can avoid files meant to be persistent (plugin files, certificates)
2022-02-28 15:47:37 +00:00
Diogo Peralta Cordeiro
a9b34b75b6
[PLUGIN][TreeNotes] Correct cache issues and iterate functionality
...
- Replies ordering now correct
- Replies count added
- Posting adds new replies to cache (when concerning replies cache is not empty) and increments replies count
- Configuration to specify number of in-tree replies shown added
- TreeNotes templates was moved from core to plugin
- Button to read more replies was added
2022-02-27 01:46:25 +00:00
Hugo Sales
fa0d02a9ac
[PLUGIN][OAuth2] Start adding OAuth2 support with client registration
...
This hardcodes the user, and has some other issues, so it is not yet
complete.
We follow mastodon's spec for automatic client registration, available
at both `/api/v1/apps` and a more reasonable `/oauth/client`. This
accepts a JSON POST with the client info and returns JSON with a
`client_id` and a `client_secret`, to be used with `/oauth/authorize`
and `/oauth/token`. It also, seemingly, requires returning an `id`
with unclear purpose.
The `/oauth/token` endpoint doesn't currently return a `me` field.
2022-01-25 13:35:44 +00:00
Hugo Sales
27276ba379
[CONFIG] Rename streams/notes_per_page to feeds/entries_per_page
2022-01-03 02:18:44 +00:00
Diogo Peralta Cordeiro
b7574500f8
[COMPONENT][FreeNetwork] Set discovery cors enabled by default
2022-01-01 23:57:28 +00:00
Diogo Peralta Cordeiro
d891089945
[PLUGIN][StoreRemoteMedia] Let the user decide the max file size to download
2021-12-26 21:19:04 +00:00
Hugo Sales
060c3f01a6
[CACHE][CONFIG] Disable early recompute by default
2021-12-13 15:49:53 +00:00
Diogo Peralta Cordeiro
e16fade490
[CONFIGURATION] Add webp to attachments:supported whitelist
2021-12-03 03:32:43 +00:00
Diogo Peralta Cordeiro
582519e13e
[COMPONENT][Attachment] Do not show download links for non-local attachments
2021-12-03 03:32:43 +00:00
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