This website requires JavaScript.
56e5d5c4a0
[TESTS] Fix broken tests and expand tests around Attachments
Hugo Sales
2021-08-19 19:14:37 +01:00
f1bd4db495
[TESTS] Fix Common test
Hugo Sales
2021-08-19 13:46:04 +01:00
2fdd0b0820
[TESTS][DataFixtures] Use Temporary file instead of an ad-hoc solution to copy the upload files
Hugo Sales
2021-08-19 12:54:06 +01:00
9739cc5f21
[Posting] Respect process_links setting
Diogo Peralta Cordeiro
2021-08-19 19:18:33 +01:00
ab142ab52d
[FileQuota] Update plugin to respect the new entities
Diogo Peralta Cordeiro
2021-08-19 19:18:10 +01:00
2b457655ea
[CORE] Fix path configuration
Diogo Peralta Cordeiro
2021-08-19 01:45:11 +01:00
e7b985a460
[FIXTURES] Catch any exception, we don't have VIPS-related only
Diogo Peralta Cordeiro
2021-08-19 01:44:03 +01:00
aa8412f607
[TESTS][Forms] Respect new naming conventions
Diogo Peralta Cordeiro
2021-08-19 01:09:42 +01:00
9067bd8785
[TESTS] remove accidentally duplicate sample upload
Diogo Peralta Cordeiro
2021-08-19 01:07:51 +01:00
415089914f
[VideoEncoder] Port plugin to v3 properly
Diogo Peralta Cordeiro
2021-08-12 00:42:38 +01:00
5107e06fae
[DOCS][Developer] Paradigms: Update is_null based on poll votes Everything around the use we give to php's null is about the state of having a value or not. Thus, using is_null
always is the less bad option.
Diogo Peralta Cordeiro
2021-08-17 17:06:18 +01:00
2b7232891e
[ImageEncoder] Make plugin respect instance config and use the new core interface
Diogo Peralta Cordeiro
2021-08-18 22:14:15 +01:00
f9079784c4
[ENTITY][AttachmentThumbnail] Improve the way EncoderPlugins participate in the thumbnail process
Diogo Peralta Cordeiro
2021-08-18 22:10:19 +01:00
e4b2821657
[TWIG][Attachments] Don't throw event with mimetype in its name
Diogo Peralta Cordeiro
2021-08-18 22:08:22 +01:00
bc1fb007aa
[Core][GSFile] Improve the way EncoderPlugins participate in the file sanitization process
Diogo Peralta Cordeiro
2021-08-18 22:11:44 +01:00
210f895e74
[ENTITY][Attachment] Respect rfc6838#section-4.2 mimetype length
Diogo Peralta Cordeiro
2021-08-18 22:11:07 +01:00
e80ad2d87b
[TESTS][Controller][AdminTest] Update int tests to use attachment file_quota instead, as we deleted attachment max width
Diogo Peralta Cordeiro
2021-08-18 23:37:57 +01:00
b0b4f37078
[CONFIG] Add setting for attachment sanitization
Diogo Peralta Cordeiro
2021-08-18 22:13:23 +01:00
2a3db65216
[CONTROLLER][Attachment] Some attachments may not have dimensions
Diogo Peralta Cordeiro
2021-08-18 22:12:27 +01:00
450dbfb98f
[DOCUMENTATION] Update documentation regarding route accept formats
Hugo Sales
2021-08-18 21:40:08 +01:00
26bf78360b
[ROUTER][UTIL] Allow specifying the Accept format for a route
Hugo Sales
2021-08-18 21:33:07 +01:00
86bdc398c5
[DOCKER] Update PHP docker container to include ffmpeg, for the VideoEncoderPlugin
Hugo Sales
2021-08-18 21:20:25 +01:00
811caaadf9
[MODULES][PLUGINS] Move noteActionHandle utility to NoteHandlerPlugin which plugins which handle actions on notes should extend
Hugo Sales
2021-08-18 19:14:24 +01:00
458b6d0009
[UI] Rename all forms to more specific names, to avoid form name collisions
Hugo Sales
2021-08-18 18:38:54 +01:00
6af1383e07
[UTIL][Form] Disallow using very generic form names, as they can collide with other forms in the same page
Hugo Sales
2021-08-18 18:35:03 +01:00
a7d5b5599c
[TESTS] Fix LocalUserTest, i forgor to boot the kernel
Hugo Sales
2021-08-18 18:09:26 +01:00
e278efe61d
[TESTS] Fix tests broken with rebased commits
Hugo Sales
2021-08-18 17:40:37 +01:00
8e12f5ee59
[TESTS] Raise test coverage for Link to 100%
Hugo Sales
2021-08-18 17:34:34 +01:00
c78032f1fa
[TESTS] Raise test coverage of LocalGroup to 100%
Hugo Sales
2021-08-18 17:34:11 +01:00
cfc89d8a25
[TESTS] Raise test coverage of LocalUser to 100%
Hugo Sales
2021-08-18 17:33:41 +01:00
a2e302efb4
[TESTS] Raise GSActor test coverage to 100%
Hugo Sales
2021-08-18 17:33:13 +01:00
043e179c23
[TESTS][Attachment][AttachmentThumbnail][GSFile] Reorganize tests and raise test coverage to 100%
Hugo Sales
2021-08-18 17:32:20 +01:00
4cd3924cc1
[ATTACHMENTS][AttachmentThumbnail] Fix implementation of predictScalingValues and small fixes
Hugo Sales
2021-08-18 17:30:54 +01:00
2ccbbd53a6
[TESTS] Add code coverage annotations to entities
Hugo Sales
2021-08-18 17:30:02 +01:00
e7699b3245
[TESTS] Raise test coverage for Note to 100%
Hugo Sales
2021-08-18 17:28:26 +01:00
79215bc439
[Note] Fix scope check for group notes, move away from SQL, to DQL
Hugo Sales
2021-08-18 17:27:51 +01:00
e392a9c90c
[TESTS][DataFixtures] Add user, self follows, group member and group scope note
Hugo Sales
2021-08-18 17:26:37 +01:00
365afb7ba8
[TOOLS] Disable command echo in Makefile
Hugo Sales
2021-08-18 17:25:23 +01:00
4b2a92d052
[UI][Attachment] Use Attachment methods to get the proper URL, rather than crafting it in a template
Hugo Sales
2021-08-18 14:04:17 +01:00
6799052ff5
[ATTACHMENTS] Ensure thumbnail dimensions are bounded and change way cropping is implemented
Hugo Sales
2021-08-18 13:08:15 +01:00
f67173061b
[VideoEncoder] Add plugin composer dependency php-ffmpeg/php-ffmpeg
Diogo Peralta Cordeiro
2021-08-18 14:46:09 +01:00
ac45008240
[Embed] Move composer dependency embed/embed from core to plugin
Diogo Peralta Cordeiro
2021-08-18 14:45:37 +01:00
b50f11a040
[ENTITY][Link] self urls can't be considered a remote url
Diogo Peralta Cordeiro
2021-08-18 14:34:15 +01:00
177801c81b
[Embed][StoreRemoteMedia] Re-add {white,black}list check config
Diogo Peralta Cordeiro
2021-08-18 14:15:30 +01:00
de444a2a5a
[Posting] Fix wrong usage of DB::findBy
Diogo Peralta Cordeiro
2021-08-18 12:23:22 +01:00
e40c7b0509
[DOCS][Developer] Recommend reading the tests cases for when the doc doesn't cover
Diogo Peralta Cordeiro
2021-08-17 23:39:45 +01:00
5c8677304c
[DOCS][Developer] Update storage documentation
Diogo Peralta Cordeiro
2021-08-17 21:47:08 +01:00
78f4ccb576
[ImageEncoder] Fix ImageSanitization, it should never modify the input image
Diogo Peralta Cordeiro
2021-08-17 23:14:08 +01:00
ca71e57593
[CSS] Hotfix: Figure captions do not overflow.
Eliseu Amaro
2021-08-17 21:59:54 +01:00
41b42407cd
[Posting] Store uploaded filenames as titles
Diogo Peralta Cordeiro
2021-08-17 21:46:43 +01:00
036e9cb58e
[Avatar] Preserve uploaded filename and use Avatar's own route instead of attachment
Diogo Peralta Cordeiro
2021-08-17 21:46:09 +01:00
f70eb8f12d
Remove weird empty template
Diogo Peralta Cordeiro
2021-08-17 21:45:24 +01:00
6166afeec6
[TWIG][CSS] Left and right panels accessibility improvements. Tabindex is now properly set up. When panels have the attribute open but aren't focused (keyboard navigation out of panel, into main content) they aren't displayed anymore.
Eliseu Amaro
2021-08-17 21:43:34 +01:00
e2e6c7a5bf
[TESTS] Hot-fix Security controller tests, broken with ongoing form rendering changes
Hugo Sales
2021-08-17 20:51:06 +01:00
c81795eb96
[TWIG][CSS] More consistent classes. Checkbox styling done. Register and Login pages now done.
Eliseu Amaro
2021-08-16 21:59:19 +01:00
44a581f0f6
[UTIL][FORM] Password form now shows the proper HTML class, and it's respective label.
Eliseu Amaro
2021-08-16 21:46:27 +01:00
87d7318de5
[CONTROLLER][SECURITY] Added class names. Help labels for each form element. Each form element now has a proper block prefix (the resulting HTML won't simply concatenate the form's name to the element's label).
Eliseu Amaro
2021-08-16 21:43:27 +01:00
ab10cd4121
[DOC] Fixed installation.md typos.
Eliseu Amaro
2021-08-16 16:08:20 +01:00
ebee70621b
[FORM] Fix bug where options were passed in the data parameter
Hugo Sales
2021-08-16 18:43:36 +01:00
1419035076
[DOCS][Developer] Add an introduction
Diogo Peralta Cordeiro
2021-08-17 20:19:26 +01:00
afd00fbdc5
[DOCS][Developer] httpclient: Add an example of lazyness care
Diogo Peralta Cordeiro
2021-08-17 20:19:12 +01:00
31ca5cb35e
[DOCS][Developer] Paradigms: apply XRevan86 fixes and remove the return types section, we must revisit it later..
Diogo Peralta Cordeiro
2021-08-17 17:21:57 +01:00
54e03d49d4
[DOCS][Developer] Remove low level index, we will approach these themes in another manner Fix some broken links
Diogo Peralta Cordeiro
2021-08-17 15:32:30 +01:00
c8e00e4187
[TOOLS] Add make command 'database-force-schema-update' to update the database schema and 'redis-shell'
Hugo Sales
2021-08-16 22:07:24 +01:00
8ca61eea77
Duplicate public/assets/css/bg.jpg history in tests/sample-uploads/attachment-lifecycle-target.jpg history.
Hugo Sales
2021-08-16 20:40:02 +01:00
6d7a0dbc92
[TESTS][TOOLS] Always stop containers regardless of test success
Hugo Sales
2021-08-16 20:31:24 +01:00
5410f22060
[DEPENDENCIES] Update dependencies
Hugo Sales
2021-08-16 18:05:24 +01:00
4f880eb761
[PLUGINS][ENTITY][Cover][ProfileColor] Clean up after interns and move entity defintions to be inside the corresponding plugin, rather than in core
Hugo Sales
2021-08-16 17:17:05 +01:00
5237364a21
[TESTS] Raise test coverage for GSFile to 100%
Hugo Sales
2021-08-16 17:11:28 +01:00
300eccfd17
[TESTS] Raise test coverage for Attachment controller to 100%
Hugo Sales
2021-08-16 17:11:05 +01:00
2351e7c6d1
[CORE][GSFile] Use pathinfo rather than regular expressions and don't attempt to persist an already persisted entity
Hugo Sales
2021-08-16 17:10:33 +01:00
3843348c1b
[CONTROLLER][Attachment] Small refactor and add testing annotation
Hugo Sales
2021-08-16 17:09:44 +01:00
e2caf19b67
[TESTS] Remove copied upload test files, if upload failed
Hugo Sales
2021-08-16 17:09:02 +01:00
aef61e4c73
[TESTS] Add coverage ignore flags to trivial methods
Hugo Sales
2021-08-16 17:08:29 +01:00
fe86735b8b
[DB][DOCUMENTATION] Explain limit: 2 in findOneBy
Hugo Sales
2021-08-16 17:07:00 +01:00
c3db2f60d2
[UTIL][EXCEPTIONS] Introduce NotStoredLocallyException
Hugo Sales
2021-08-16 17:06:02 +01:00
6445a616a8
[ENTITY][Attachment] Raise mimetype max length to 64 characters and ensure we don't attempt to store more than that
Hugo Sales
2021-08-14 21:47:49 +01:00
d4d4f4e950
[TESTS] Cleanup attachment test data
Hugo Sales
2021-08-14 21:46:44 +01:00
6e6d1a946f
[TESTS] Remove MediaFileTest and move setup code to media data fixture
Hugo Sales
2021-08-14 19:49:32 +00:00
53f89ade85
[TESTS] Move Media fixtures to their own file, for organization
Hugo Sales
2021-08-14 19:43:35 +00:00
74d1874991
[DOCUMENTATION][Entity] Improve documentation on Entity::getWithPK, explaining the ways it can be used
Hugo Sales
2021-08-14 19:41:22 +00:00
060a5abef1
[ENTITY][Link] Sometimes URLs don't work, handle that
Diogo Peralta Cordeiro
2021-08-14 15:39:55 +01:00
1906d4f276
[Embed] Add UI element and fix some bugs
Diogo Peralta Cordeiro
2021-08-14 15:04:30 +01:00
061c953eac
[TWIG] Add Links representation to notes
Diogo Peralta Cordeiro
2021-08-14 15:04:51 +01:00
ef1a9ce3b1
[ImageEncoder] Handle VIPS unsupported image type
Diogo Peralta Cordeiro
2021-08-14 15:00:40 +01:00
f690bc06ae
[ATTACHMENT] Some attachments don't have thumbnails and that's okay
Diogo Peralta Cordeiro
2021-08-14 15:07:17 +01:00
b4a03b814f
[CORE][GSFile] ensureFilenameWithProperExtension: extension isn't an I/O param
Diogo Peralta Cordeiro
2021-08-14 15:05:56 +01:00
728f8d8fb8
[ENTITY][Note] Add getter for note links
Diogo Peralta Cordeiro
2021-08-14 15:07:51 +01:00
9e4cac0123
[ENTITY] Refactor RemoteURL entities to Link RemoteURL was being an awfully confusing term.
Diogo Peralta Cordeiro
2021-08-13 20:09:20 +01:00
fb28a3656a
[Embed] Retrieve remote thumbnails and other improvements
Diogo Peralta Cordeiro
2021-08-13 19:36:34 +01:00
7a0a6f1f22
[Embed] Fix usage of EmbedLib Fix other minor bugs
Diogo Peralta Cordeiro
2021-08-12 00:41:57 +01:00
968e3431e1
[Attachment] Sometimes we can't provide download of original file
Diogo Peralta Cordeiro
2021-08-12 04:58:34 +01:00
4cc4523632
[Posting] Re-add original file to attachment on upload, if it was previously removed
Diogo Peralta Cordeiro
2021-08-12 04:41:00 +01:00
d076781c74
[AttachmentToNote][Attachment] Add title getter to Attachment
Diogo Peralta Cordeiro
2021-08-12 03:43:11 +01:00
5fd91bf3a2
[TESTS][Twig] Fix ExtensionTest->testIconsExtension
Diogo Peralta Cordeiro
2021-08-12 01:35:41 +01:00
bac18715c5
[StoreRemoteMedia] Implement the first version of it in v3
Diogo Peralta Cordeiro
2021-08-12 00:39:36 +01:00
63cbf4052f
[UTIL] Common::config wasn't a proper port from v2, it has to accept one argument only as well
Diogo Peralta Cordeiro
2021-08-12 00:38:18 +01:00
33cc9386d2
[RemoteURLToAttachment] Fix primary key, relation is: One Attachment Has Many URLs, One URL Has One Attachment
Diogo Peralta Cordeiro
2021-08-12 00:37:01 +01:00
78c5c4b084
[Attachment] Allow to delete the associated file
Diogo Peralta Cordeiro
2021-08-12 00:25:25 +01:00
508f1f8796
[MODULES] Add module configuration
Diogo Peralta Cordeiro
2021-08-12 00:24:25 +01:00