Borislav Pantaleev
31d3712dbb
Better media preview/download implementation ( #53 )
...
* Add download option for non image media
* make view media button change the icon during the loading; update readme
2024-10-03 11:23:51 +03:00
Aine
a15dad4a31
ensure preview works for images only (for now)
2024-10-03 01:18:45 +03:00
Borislav Pantaleev
9062a6afb1
Remove Dialog window for image preview, open all media in new tab
2024-10-03 00:52:07 +03:00
Borislav Pantaleev
a79c3597d6
Authenticated Media Support ( #51 )
...
* Fix AvatarField to work with authenticated media
* Fix ViewMediaButton to work for user's media tab and reported events
* remove console.log
* cleanup AvatarField
* use correct thumbnail size
* fix AvatarField.test
* ignore postgres data for watchman
* fix new avatar preview
* watchman should ignore testdata completely, instead of specific subdirs
* update README
* change user's media icon in sidebar - use the same icon as the media tab
* Add preview for user media files if mimeType is image/*
* Add new line in user media Dialog
2024-10-03 00:38:35 +03:00
Borislav Pantaleev
48d933e028
Upgrade react-admin to version 5 ( #40 )
...
* wip on ra upgrade
* Finish upgrade
* fix package.json
* pr fixes
* more pr fixes
* update readme
2024-09-24 10:02:47 +03:00
Manuel Stahl
dbcb4f92dc
Use central defintion of storage system
...
Change-Id: Ibf31c650b08920bf82827607c3421556ac90ae61
2024-08-17 10:50:29 +02:00
Manuel Stahl
ec0fc14b68
Use custom data provider method for "delete_media"
...
This is not a REST endpoint, so it's better to use a custom method, see
https://marmelab.com/react-admin/DataProviders.html#adding-custom-methods
Change-Id: I256286949e77b998f759f671b2d4e9790f8ca39c
2024-07-09 13:03:53 +02:00
Manuel Stahl
4761ea36bc
Update eslint for typescript
...
Change-Id: I39ad44666fe958dd4f6c8f0d88b3dc960d7cb6c7
2024-05-06 08:33:32 +02:00
Manuel Stahl
39dd6617de
Extract date formatting into separate file
...
Change-Id: I0004617349253450c6c706e4334d63924203a804
2024-04-26 11:48:53 +02:00
Manuel Stahl
2466af6936
Transform code base to typescript
...
Change-Id: Ia1f862fb5962ddd54b8d7643abbc39bb314d1f8e
2024-04-26 11:48:52 +02:00