Jessica Chowdhury
687f4850ac
fix: hide empty image sizes from the preview drawer ( #3946 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-11-09 22:34:50 -05:00
Jarrod Flesch
acba5e482b
fix: focal and cropping issues, adds test ( #4039 )
2023-11-07 15:20:57 -05:00
Jarrod Flesch
fb07308dca
feat: 2.0 upload enhancements ( #3433 )
2023-10-06 17:02:42 -04:00
Alessio Gravili
e2df74bbff
chore: fix e2e tests by not importing from ./config
2023-09-07 22:53:28 +02:00
James
0f3b364e46
chore: hoists tests out of payload package
2023-09-01 14:45:41 -04:00
Alessio Gravili
a67278b29f
chore: move to monorepo structure
2023-08-23 12:20:30 +02:00
Josef Bredreck
144bb81721
feat: add support for sharp resize options ( #2844 )
...
* feat(ImageResize): add support for resize options
* fix(ImageUpload): reuse name for accidental duplicate
* fix(ImageResize): e2e tests for added media size
* chore: simplify fileExists method
* fix: typo
* feat(ImageResize): update name to be more transparent
* fix: use fileExists in file removal
* improve names, comments and clarity of needsResize function
* fix: jsDoc params
* fix: incorrect needsResize condition and add failing test case
* chore: improve comment
* fix: merge conflict error
---------
Co-authored-by: Alessio Gravili <70709113+AlessioGr@users.noreply.github.com >
2023-08-01 09:20:50 -04:00
Sanna Jammeh
5b7aac08f5
test(uploads): Add test case for adminThumbnail
2023-07-25 00:29:54 +00:00
Alessio Gravili
733fc0b2d0
feat: auto-login in config capability ( #3009 )
...
This is useful when developing/testing, where logging after every change can be cumbersome.
2023-07-17 16:35:58 -04:00
PatrikKozak
752b5456b9
chore: updates test/uploads test to check for value not text
2023-06-09 14:28:27 -04:00
Angelo Bartolome
85316879cd
feat: allow users to manipulate images without needing to resize them ( #2574 )
...
* Refactor imageResizer.ts to allow for keeping original size in certain cases
* revert new property for keeping desired size
* add unit tests for maintained image size feature
2023-05-10 08:44:53 -04:00
Dan Ribbens
0fedbabe9e
feat: bulk-operations ( #2346 )
...
Co-authored-by: PatrikKozak <patrik@trbl.design >
2023-03-23 12:33:13 -04:00
Jacob Fletcher
224b68dbf2
chore: fixes failing uploads e2e test
2023-02-07 12:32:08 -05:00
James Mikrut
96a90bbca4
Merge pull request #1978 from payloadcms/fix/1897
...
fix: removes old media when replaced and re-renders on save
2023-02-07 11:53:05 -05:00
Jacob Fletcher
2b654882fd
chore: writes uploads e2e test for mimetype filter options #2016 ( #2028 )
2023-02-06 16:30:51 -05:00
Jacob Fletcher
e6ed676117
chore: passing uploads-related e2e tests
2023-02-06 12:25:05 -05:00
Jacob Fletcher
1ab8ccdc99
chore: refines blocks drawer content
2023-01-24 16:05:40 -05:00
dsod
131b2796e7
now uses the converted image mimeType for file extension and in the admin interface
2022-10-03 19:24:14 +02:00
Elliot DeNolf
ba79b4446c
test: refactor all test directories into one
2022-07-15 12:51:43 -07:00
Dan Ribbens
40b6afff2d
feat: remove duplication of config in tests
2022-07-15 14:11:16 -04:00