5c7b079df5
[COMPONENT][Attachment][Controller] Security fix: We were not ensuring that attachment was related to noteDiogo Peralta Cordeiro2022-03-07 17:09:53 +00:00
e67ed58286
[TESTS] Temporarily Disable Controller/AdminTest: It seems we are repeating values arbitrarily - specially in plugins, and the generated file is just nonsense overall really, wrong sections and stuffDiogo Peralta Cordeiro2022-03-07 14:40:27 +00:00
9a0c74cb0c
[CORE][SECURITY] Replicate 'next' form submission feature on login formHugo Sales2022-03-05 14:46:05 +00:00
46c91a4b39
[I18N] Fix use of string concatenations in translationsHugo Sales2022-03-05 13:53:24 +00:00
3f14ad0f69
[COMPONENT][Posting][FORM] Refactor Posting form to use a form action with a separate controller and the new Form::forceRedirectHugo Sales2022-03-04 15:16:19 +00:00
6ddc176faf
[CORE][Form] Add facilities for automattically adding a _next field to all forms, which can be customized by the in Form::create and defaults to the current URL. Usage of RedirectedException should mostly be replaced with Form::forceRedirectHugo Sales2022-03-04 15:12:35 +00:00
1daa314c55
[COMPONENT][Posting][FORM] Refactor Posting form to use a form action with a separate controller and the new Form::forceRedirectHugo Sales2022-03-04 15:16:19 +00:00
7814697f82
[UTIL][EXCEPTION] Forward given status code in RedirectExceptionHugo Sales2022-03-04 15:15:04 +00:00
7a8d67f1e2
[CORE][Controller] Fix bug where a JSON request could not recieve a redirect responseHugo Sales2022-03-04 15:14:05 +00:00
94449c9153
[CORE][Form] Add facilities for automattically adding a _next field to all forms, which can be customized by the in Form::create and defaults to the current URL. Usage of RedirectedException should mostly be replaced with Form::forceRedirectHugo Sales2022-03-04 15:12:35 +00:00
6cae6c925d
[TOOLS] Keep feed table in delete content Make ruleHugo Sales2022-03-01 18:06:50 +00:00
12fb876a6d
[PLUGIN][ActivityPub][Model][Activity] No @context to exclude when object is not embedded.Diogo Peralta Cordeiro2022-03-01 17:59:53 +00:00
7ca4330f17
[TEMPLATES] Tweak note complimentary info to not output empty <span>sHugo Sales2022-03-01 17:58:53 +00:00
802a8d124a
[TOOLS] For delete content, restore local_groups and actor_subscriptionsHugo Sales2022-03-01 17:57:39 +00:00
87354c06bf
[TEMPLATES] For note complementary info, compare identity by the ID, rather than nickname, which is not uniqueHugo Sales2022-03-01 17:39:14 +00:00
5600218924
[TWIG][I18N] Remove unnecessary wrappers for translation functions, use them directlyHugo Sales2022-03-01 17:25:51 +00:00
90f9378bca
[TEMPLATES] Use transList and trans function for note complimentary infoHugo Sales2022-03-01 13:13:55 +00:00
f73e9c12ba
[CORE][I18n] Add I18n::_m_list, which formats an array of elements into a list. Limited to 5 elements, as that should be enough (tm) and ICU doesn't support this nativelyHugo Sales2022-03-01 12:23:47 +00:00
fc203e2e38
[TWIG][TEMPLATES] Rename transchoice to trans and make it more genericHugo Sales2022-03-01 13:19:38 +00:00
b3374333f3
[TEMPLATES][I18N] Fixup use of trans filter, in favour of trans tags. These are much more flexible and facilitate parameterized translations, rather than using concats. The only appropriate use of the trans filter is when a whole string in a variable needs to be translated (which should probably be avoided anyway)Hugo Sales2022-03-01 11:27:19 +00:00
0b864e85fd
[TEMPLATES] Fixup uses of deprecated noteView, in favour of new NoteFactory facilityHugo Sales2022-03-01 11:23:39 +00:00
a9a60bbd92
[COMPONENT][Posting] Clarify use of cache in note replies when postingHugo Sales2022-03-01 11:19:47 +00:00
4cc4d06b11
[CORE][Cache] Fix bug where empty lists must be stored as a string in Redis (not supported natively), so we can't directly push to it, but the key still existsHugo Sales2022-03-01 11:07:21 +00:00
f8c1b0f71d
[TOOLS] Add Make rule to delete content, but keep actors and sequencesHugo Sales2022-02-28 23:37:16 +00:00
43ae3add43
[TEMPLATE] Update uses of NoteFactory macro, to pass the values seperately, rather than inside a converstation keyHugo Sales2022-02-28 14:36:02 +00:00
d5f90a1206
[ENTITY][Note][CONFIG] Use getListPartialCache for getReplies. Add feeds/cached_replies config entry to control how many replies get cachedHugo Sales2022-02-27 21:50:42 +00:00
85ce6bfd41
[CORE][Cache] Add getListPartialCache, which allows for fetching a list and backing only a portion of it in the cache (useful for feeds and replies to notes, for instance)Hugo Sales2022-02-27 21:33:24 +00:00
35f3781a32
[COMPONENT][Collection] Add mechanism for specifying the ordering of note and actor queriesHugo Sales2022-02-27 21:12:51 +00:00
45c7888676
[TOOLS] Run CS-Fixer on whole projectHugo Sales2022-02-26 14:45:38 +00:00
255c44bbf0
[ENTITY][LocalUser] Don't use FILTER_SANITIZE_EMAIL, use just want to validate. Up to the user to fix any errors. Use setter, rather than duplicate it's codeHugo Sales2022-02-26 14:43:57 +00:00
5188a473d0
[TOOLS] Fix errors reported by PHPStanHugo Sales2022-02-26 14:09:41 +00:00
8c15d21591
[TOOLS] Add update-dependencies and update-autocode Make rulesHugo Sales2022-02-26 14:04:47 +00:00
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)Hugo Sales2022-02-26 12:29:48 +00:00
eccf21edef
[TOOLS][PLUGINS][OAuth2] Add mechanism to allow plugins to have an install script. Add script for generating keys for OAuthHugo Sales2022-02-26 12:18:40 +00:00
9b86794cda
[CSS] Details inside another details (accordion widget) will represent their 'open/close feedback arrows' properly nowEliseu Amaro2022-02-28 12:54:22 +00:00
077975136e
[CARDS][Note] Both 'in conversation' and 'in reply to' link to note's conversation. The former anchors it's id, while the latter it's parent idEliseu Amaro2022-02-28 12:43:40 +00:00
b630d530f4
[PLUGIN][ActivityPub][Postman] JSON_UNESCAPED_SLASHES Only record webfinger matches for acctDiogo Peralta Cordeiro2022-02-25 13:52:21 +00:00
26a50618b0
[CARDS][Note] Notification targets are now used as target info, instead of previous reply dependant implementation [COMPONENTS][Group] Feed title is applied to GroupFeed viewEliseu Amaro2022-02-24 20:15:55 +00:00
7c80277436
[CSS] Fix header position on >1080p displaysEliseu Amaro2022-02-24 19:16:09 +00:00
4754593cde
[PLUGIN][ActivityPub][Model][Activity] If the object is wrapped in an activity, exclude the @contextDiogo Peralta Cordeiro2022-02-23 22:39:18 +00:00
d12038a9f8
[CSS] Complete refactor, removing all useless rules, squashing related separate files, and limiting folder depthEliseu Amaro2022-02-24 19:04:14 +00:00
05b7f2c28b
[CORE][DB] Remove doc from deprecated DB::merge and add about DB::refreshDiogo Peralta Cordeiro2022-02-23 17:02:41 +00:00
338ea0ea58
[COMPONENTS][Group] Group view template now extends the Collection of Notes view instead of trying to reinvent the wheel [COMPONENTS][Conversation] Replaced deprecated DB::merge with DB::persistEliseu Amaro2022-02-23 17:01:41 +00:00
59380ed2ac
[COMPONENT][Collection] If invalid term, just perform a regular search for itDiogo Peralta Cordeiro2022-02-21 04:48:18 +00:00
1e310aa124
[PLUGIN][ActivityPub][FreeNetwork] DB::findBy won't work if not commited firstDiogo Peralta Cordeiro2022-02-20 13:59:06 +00:00
8b0e9c7890
[UTIL][Form][ActorForms] Fix Full Name validate: Tried to mb_strln on null If the trim(string) is empty, then store null without further ado
José Marques
2022-02-20 04:34:56 +00:00
f1caabd296
[CARDS][Note] Note factory template macro created, allows Notes to be represented with completely different macros/blocks, possible to extend types through additional events. Compact Notes have a max height, content can be scrolled by [CSS] Avatars, and Embed attachments now have a max-block-size which acts independently of image orientationEliseu Amaro2022-02-19 19:18:25 +00:00
a71c16d654
[COMPONENTS][Posting] Fixed issue where an embed attachment would violate Note's conversation_id not null constraint Conversation was only assigned after storing Note's attachmentsEliseu Amaro2022-02-19 18:08:05 +00:00