Commit Graph

19513 Commits

Author SHA1 Message Date
b7b69b549e
[TWIG][CSS] Complete HTML refactoring, now using details element instead of a checkbox trick per panel. Using a "grid" akin to IBM's Carbon design guidelines. 2021-07-28 11:46:11 +01:00
681f001f4e
[TWIG][CSS] Timeline WIP. Creating a notice is now done on the right panel. HTML structure improvements, such as the timeline divided from the navigation div. 2021-07-28 11:46:11 +01:00
c5e5708915
[TWIG][CSS] Base template structural refactoring to accommodate true canons of page construction. CSS WIP to reflect these changes.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:46:10 +01:00
86e92fedc2
[MEDIA][Thumbnail] Fix non-instantiated variable 2021-07-26 21:19:40 +01:00
8ef6aceb6a
[DOCS][Dev] Write paradigms 2021-07-26 20:38:23 +01:00
bf01e97533
[SECURITY] Remove aggressive normalization of nicknames. This will be moved to a plugin in the future and we'll open an RFC, as discussed 2021-07-26 17:12:42 +00:00
835a3c6701 [TOOLS] Fix pre commit hook to allow for partial file commits (git add -p/git reset -p) 2021-07-26 15:46:20 +00:00
cc0ef73799 [MEDIA][AttachmentThumbnail] Add mimetype to Entity 2021-07-22 21:17:23 +01:00
c3eda07521 [Media] EncoderPlugins should handle the views that concern them
Ensure the intended filetypes and mimetypes during Vips conversions (part 2)
Sanitize Attachments instead of Validate (part 2)
Various bug fixes
2021-07-22 21:10:45 +01:00
832a5c0bd9 [Media] Support any kind of thumbnails in the Core
Sanitize Attachments instead of Validate (part 1)
Ensure the intended filetypes and mimetypes during Vips conversions (part 1)
Various bug fixes
2021-07-22 21:10:45 +01:00
143ecea376 [Media] File quota should be triggered by the Core 2021-07-22 21:10:45 +01:00
0eebcdbd51 [POSTING] Make it possible for plugins to change the placeholder string 2021-07-22 13:02:09 +01:00
aada96beb7 [MEDIA] We need permissions to run chmod in directories
It's better to have in the filename data that we couldnt't otherwise rapidly retrieve
2021-07-22 12:32:52 +01:00
218bec1826 [MEDIA] Fix database misses on thumbnail retrieval
We were storing the real scaling values instead of the predictions, but the core is never able to pre-compute the real values generated by the encoding plugins so, we have to rely on our own aproximation function ported from v2
2021-07-20 23:47:27 +01:00
4d2131808a [FILE][TemporaryFile] Fix various issues now that we also have Symfony's file abstractions 2021-07-20 23:46:18 +01:00
4ef400f509 [DOCS][Developer] Adopt a top-down approach
Minor corrections to the overview
2021-07-20 12:41:48 +01:00
086754d95b [CORE][GNUsocial] Fix undefined property typo 2021-07-20 11:48:29 +01:00
5e9cd21db5 [DOCS][User][SysAdmin] Add thomask as an author as we're starting this from his unofficial docs 2021-07-20 11:48:07 +01:00
65c2c42790 [DOCS] Add designer book. 2021-07-20 10:56:51 +01:00
d6f31ad4b4 [DOCKER][nginx] Removing default nginx config through docker/nginx/domain.sh. The default config conflicts with 'localhost' server_name. 2021-07-20 10:56:51 +01:00
8f7e0f2131 [DOCS] Elaborate initial architecture page 2021-07-20 09:41:30 +01:00
3af3526b5c [CORE] Proxies: constant HEADER_X_FORWARDED_ALL is deprecated
Give ENV preference over SERVER
2021-07-19 15:24:12 +01:00
a46140fc00 [UTIL] Add utility to flatten the result of note queries 2021-05-23 19:59:42 +00:00
eecef99372 [TESTS] Raise test coverage for App\Controller\Network to 100% and fixup related code 2021-05-23 19:56:45 +00:00
5543f65ce9 [UI] Remove margin in timeline container 2021-05-12 19:40:47 +00:00
818a31a690 [UTIL] Provide static access to current request and utilities in Common 2021-05-12 19:33:03 +00:00
9b862d6a26 [CORE] Throw more meaningfull error when method doesn't exist in Security and Entity 2021-05-12 15:44:09 +00:00
f8107c86c5 [TESTS] Raise App\Core\DB\DB test coverage to 100% and fix issues found 2021-05-11 21:04:15 +00:00
ce98e80836 [TESTS] Raise App\Core\DB\UpdateListener test coverage to 100% 2021-05-06 21:57:06 +00:00
75adf2e59f [TESTS] Change relevant tests to use GNUsocialTestCase, so they can access all the needed features 2021-05-06 21:56:28 +00:00
31518f97ee [CORE] Clarify message when calling non existent method in Entity 2021-05-06 21:54:50 +00:00
dab822037c [TESTS] Merge datafixtures to allow for using the correct ID in notes, and add group_inbox 2021-05-06 21:54:50 +00:00
79644d1e2b [TESTS] Add GNUsocialTestCase, which initializes our infrastructure when bootKernel is called 2021-05-06 21:54:50 +00:00
5f9b61f4bf [AUTOGENERATED] Update autogenerated code 2021-05-05 16:03:03 +00:00
3a6a1b71d6 [TOOLS][TESTS] Add coverage ignore tag to autogenerated code 2021-05-05 15:56:03 +00:00
f25494cd83 [TOOLS][TESTS] Add a data fixture with example notes, for testing 2021-05-05 13:37:43 +00:00
b79c0595d5 [TESTS] Expand test coverage for App\Util\Forms\ArrayTransformer, App\Util\Notification and App\Twig\Runtime 2021-05-05 13:37:10 +00:00
33cdea87ee [TWIG] Remove unused Twig function 'get_note_other_content' 2021-05-05 13:35:25 +00:00
c532fdb4c8 [TESTS] Add ignored files and folders to config 2021-05-05 13:34:32 +00:00
5cc82785c6 [TESTS] Raise App\Util\TemporaryFile test coverage to 100% 2021-05-05 12:46:29 +00:00
05fbcdefa8 [TOOLS][TESTS] Make tests run as www-data 2021-05-05 12:46:29 +00:00
dd218b04e9 [UTIL] Fix App\Util\TemporaryFile, adding default options and preventing warning on not enough permission 2021-05-05 12:46:17 +00:00
059ed1fa76 [TESTS] Raise test coverage for NicknameTest to 100% 2021-05-05 12:46:17 +00:00
f946da6f29 [TOOLS][TESTS] Add data fixtures, which populate the database with users used for testing 2021-05-05 12:46:08 +00:00
9e2037e086 [UTIL] Rename and rewrite isTaken to checkTaken 2021-05-05 12:46:08 +00:00
84399a76e3 [ENTITY] Add 'normalized_nickname' to GSActor, the result of Nickname::normalize, so we can make sure we don't have very similar nicknames duplicated 2021-05-05 12:46:08 +00:00
4f0bdade45 [DEPENDENCIES] Add doctrine/doctrine-fixtures-bundle, which allows populating the database in the testing environment 2021-05-05 12:46:08 +00:00
d5db350595 [TOOLS][TESTS] Adjust configuration for testing environment 2021-05-05 12:45:58 +00:00
f5fcfe628e [TESTS] Raise App\Util\HTML test coverage to 100% 2021-05-02 21:02:43 +00:00
fde7b87c65 [TESTS] Raise App\Util\Bitmap test coverage to 100% 2021-05-02 20:47:15 +00:00