Rohan Verma
3cbab96f51
[ #661 ] serve css files with text/css content-type
...
Currently, css files are served as text/plain by the server. It is not
trivial to detect css file types similar to the issue with svg files.
When the css files are served as text/plain instead of
text/css they become unusable as stylesheets in the browser when served
via the api.
In this commit we generalize the svg detection to also detect css files
and serve specific extensions with their respective mimetypes.
2022-09-28 21:25:50 +03:00
Gani Georgiev
6c005c4a9a
remove OrderBy nil variadic argument
2022-09-22 20:35:20 +03:00
Gani Georgiev
ccc3707fb6
replaced empty slice literal with nil
2022-09-22 20:23:50 +03:00
Gani Georgiev
3d36ff7e96
unset ORDER BY for search count queries
2022-09-22 20:18:17 +03:00
Gani Georgiev
954067860c
[ #590 ] fixed realtime events bind order by adding hooks.PreAdd
2022-09-21 14:41:20 +03:00
Gani Georgiev
9a8c9dd115
[ #586 ] fixed multiple nested relation expansions with shared base path
2022-09-21 13:34:34 +03:00
Aaron Schmied
a1ad5004f8
[ #585 ] respect the EXIF orientation tag when generating thumbs
...
@see: https://github.com/disintegration/imaging#incorrect-image-orientation-after-processing-eg-an-image-appears-rotated-after-resizing
2022-09-21 13:13:26 +03:00
Gani Georgiev
8be8f3f3cb
updated search provider tests
2022-09-18 08:49:51 +03:00
Gani Georgiev
00fd007d50
raised MaxPerPage limit to 400
2022-09-18 08:41:42 +03:00
Gani Georgiev
2fa5233fa6
[ #440 ] try to use the original image format when creating thumbs
2022-09-14 17:12:47 +03:00
Gani Georgiev
96d09a30c4
[ #405 ] updated Google OAuth2 userinfo response data
2022-09-09 09:12:34 +03:00
Gani Georgiev
b79a7982bf
[ #385 ] added username to the OAuth2 AuthUser model
2022-09-05 16:15:27 +03:00
Gani Georgiev
b717896232
[ #390 ] serve the mimetype detected during upload
2022-09-05 15:46:40 +03:00
Gani Georgiev
07ac5bf6a2
[ #33 ] added Twitter OAuth2 provider
2022-09-01 16:46:06 +03:00
Gani Georgiev
0f9ddbf7ec
added auto html to plain text mail generation
2022-08-26 06:46:34 +03:00
Gani Georgiev
f14105b04a
synced with master
2022-08-25 16:50:28 +03:00
Gani Georgiev
9e3c59f966
reverted changes to the mailer To: address format
2022-08-25 10:59:55 +03:00
Gani Georgiev
49b084cf50
[ #335 ] added Discord OAuth2 provider
2022-08-21 20:04:38 +03:00
Gani Georgiev
587cfc335c
[ #75 ] added option to test s3 connection and send test emails
2022-08-21 14:30:36 +03:00
Gani Georgiev
7e14ea7cfb
[ #210 ] change the uploaded filename strategy to include the original filename
2022-08-18 20:44:29 +03:00
Gani Georgiev
efda3d5a0b
[ #87 ] added additional thumb resizers
2022-08-17 22:29:47 +03:00
Gani Georgiev
456ced75ce
[ #197 ] added now datetime filter constant
2022-08-15 22:38:17 +03:00
Gani Georgiev
7d10d20de1
[ #275 ] added support to customize the default user email templates from the Admin UI
2022-08-14 19:30:45 +03:00
Gani Georgiev
d60dd13581
[ #294 ] added additional inline serving mime types
2022-08-11 20:09:26 +03:00
Gani Georgiev
ff935a39a1
removed spacing
2022-08-11 08:13:07 +03:00
Gani Georgiev
f8f785d6e3
call transaction Dao events only after commit, added totalPages to the search response and updated the tests
2022-08-09 16:20:39 +03:00
Gani Georgiev
8009d37d24
updated tests
2022-08-08 19:16:33 +03:00
Gani Georgiev
686198a22e
normalize number filter literals
...
Always cast number literals to provide consistent eq/neq behavior when combined with COALESCE, because '1' = 1 is TRUE but COALESCE('1', '') = COALESCE(1, '') will result to FALSE.
2022-07-28 05:23:58 +03:00
Takeshi Sato
88d8cec3d9
[ #207 ] use read-only scopes for the GitHub OAuth2 provider
2022-07-24 18:04:53 +03:00
Gani Georgiev
7926501649
updated comments and added CSP header check in the tests
2022-07-21 17:22:31 +03:00
Gani Georgiev
4c2cd5a534
simplify the svg extension check
2022-07-21 12:58:06 +03:00
Gani Georgiev
5d8fc939e2
[ #164 ] serve common media files inline and fix svg content-type
2022-07-21 12:56:17 +03:00
Gani Georgiev
1a5180d7d3
added support to filter request.user.profile relation fields
2022-07-20 22:33:24 +03:00
Gani Georgiev
73fb12c2bc
[ #156 ] added forcePathStyle to the s3 config
2022-07-19 10:45:38 +03:00
Kenneth Lee
571c4dcc8d
[ #163 ] fixed migrate down cmd
2022-07-18 23:00:54 +03:00
Gani Georgiev
47fc9b1066
normalized null handling in search filters
2022-07-18 14:07:25 +03:00
Gani Georgiev
9a231ba7b3
applied some of the changes from #149
2022-07-18 01:03:09 +03:00
Gani Georgiev
2dc000da65
improve error reporting on OAuth2 user profile fetch
2022-07-15 18:52:37 +03:00
Gani Georgiev
c4fcba5210
[ #109 ] prealocated handlers and replaced OnRecordBeforeDeleteRequest with OnModelBeforeDelete
2022-07-14 22:35:57 +03:00
Gani Georgiev
dbbfa243bc
added new lines for readability and consistency
2022-07-14 20:01:53 +03:00
Valley
a16b0c9004
[ #114 ] simplified some code by returning early and added cap for slices
2022-07-14 19:26:08 +03:00
Gani Georgiev
d129959098
added store.RemoveAll() helper method
2022-07-14 16:39:42 +03:00
Valley
63d5a8d633
[ #89 ] simplified some code by returning early and reducing local variable scopes
2022-07-12 19:52:09 +03:00
Gani Georgiev
52c288d9db
added linter skip comments and removed the Presentator specific inflector.Usernamify
2022-07-11 16:16:01 +03:00
Gani Georgiev
7b2d88fa30
[ #45 ] don't set Last-Modified header if time.location data cannot be loaded
2022-07-10 20:53:24 +03:00
Gani Georgiev
0739e90ff2
[ #31 ] replaced the initial admin create interactive cli with Installer web page
2022-07-10 11:46:21 +03:00
Valley
460c684caa
[ #47 ] fixed some doc and code inconsistencies and removed some redundant parentheses
2022-07-10 09:13:44 +03:00
Valley
d64fbf9011
[ #38 ] added lint and used the lint suggestions
2022-07-09 17:17:41 +03:00
Gani Georgiev
e986848a7a
fixed typo in comment
2022-07-08 10:30:23 +03:00
Gani Georgiev
3d07f0211d
initial public commit
2022-07-07 00:19:05 +03:00