1
0
Fork 0
Commit Graph

26 Commits

Author SHA1 Message Date
gluzzati 19cd21f50f use environment instead 2024-03-22 00:35:55 +00:00
gluzzati 231876e794 use config.webroot 2024-03-21 20:31:25 +00:00
gluzzati 8a5849dedb appUrl prefix 2024-03-21 16:48:35 +00:00
Ivan Li 98380e2d48
feat: ability to add and delete files of existing share (#306)
* feat(share): delete file api, revert complete share api.

* feat(share): share edit page.

* feat(share): Modify the DropZone title of the edit sharing UI.

* feat(share): i18n for edit share. (en, zh)

* feat(share): allow creator get share by id.

* feat(share): add edit button in account/shares.

* style(share): lint.

* chore: some minor adjustments.

* refactor: run formatter

* refactor: remove unused return

---------

Co-authored-by: Elias Schneider <login@eliasschneider.com>
2023-11-04 20:39:58 +01:00
Elias Schneider f02e2979c4
refactor: run formatter 2023-08-17 14:47:58 +02:00
Elias Schneider 231a2e95b9
feat: add share url alias `/s` 2023-07-22 16:09:10 +02:00
Elias Schneider b9f6e3bd08
feat: localization (#196)
* Started adding locale translations :)

* Added some more translations

* Working on translating even more pages

* More translations

* Added test default locale retrieval

* replace `intl.formatMessage` with custom `t` hook

* add more translations

* improve title syntax

* add more translations

* translate admin config page

* translated error messages

* add language selecter

* minor fixes

* improve language handling

* add upcoming languages

* add `crowdin.yml`

* run formatter

---------

Co-authored-by: Steve Tautonico <stautonico@gmail.com>
2023-07-20 15:32:07 +02:00
Pierre Bidet a1ea7c0265
fix: set link default value to random (#192)
* fix: set link default value to random

* fix: add auto EOL and add conventional-changelog package

* feat: Adding reverse shares' shares a clickable link (#178)

* Add clickable link to reverse share's shares

* Ran format

* Apply suggestions from code review

* fix: set link default value to random (#181)

* fix: set link default value to random

* fix: add auto EOL and add conventional-changelog package

* Apply suggestions from code review

---------

Co-authored-by: Elias Schneider <login@eliasschneider.com>

* feat: Adding reverse share ability to copy the link (#179)

---------

Co-authored-by: Elias Schneider <login@eliasschneider.com>
2023-07-10 13:58:17 +02:00
pierrbt 1466240461
feat: Adding more informations on My Shares page (table and modal) (#174)
* Adding an information button to the shares and corrected MyShare interface

* Adding other informations and disk usage

* Adding description, disk usage

* Add case if the expiration is never

* Adding file size and better UI

* UI changes to Information Modal

* Adding description to the My Shares page

* Ran format

* Remove string type

Co-authored-by: Elias Schneider <login@eliasschneider.com>

* Remove string type check

Co-authored-by: Elias Schneider <login@eliasschneider.com>

* Remove string type conversion

Co-authored-by: Elias Schneider <login@eliasschneider.com>

* Variable name changes

Co-authored-by: Elias Schneider <login@eliasschneider.com>

* Remove color

Co-authored-by: Elias Schneider <login@eliasschneider.com>

* Requested changes made

* Ran format

* Adding MediaQuery

---------

Co-authored-by: Elias Schneider <login@eliasschneider.com>
2023-06-26 08:22:15 +02:00
Elias Schneider fddad3ef70
feat: custom branding (#112)
* add first concept

* remove setup status

* split config page in multiple components

* add custom branding docs

* add test email button

* fix invalid email from header

* add migration

* mount images to host

* update docs

* remove unused endpoint

* run formatter
2023-03-04 23:29:00 +01:00
Elias Schneider 38de022215
feat(frontend): server side rendering to improve performance 2023-02-07 10:21:25 +01:00
Elias Schneider 4e840ecd29
refactor: handle authentication state in middleware 2023-02-04 18:12:49 +01:00
Elias Schneider 4a5fb549c6
feat: reverse shares (#86)
* add first concept

* add reverse share funcionality to frontend

* allow creator to limit share expiration

* moved reverse share in seperate module

* add table to manage reverse shares

* delete complete share if reverse share was deleted

* optimize function names

* add db migration

* enable reverse share email notifications

* fix config variable descriptions

* fix migration for new installations
2023-01-26 13:44:04 +01:00
Elias Schneider f1b44f87fa fix: shareUrl uses wrong origin 2023-01-11 13:06:38 +01:00
Steve 16480f6e95
feat: TOTP (two-factor) Authentication (#55)
* Working on some initial prototype stuff for TOTP

* Fixed a bug that prevented the change password menu from working

* Enable/disable totp working

* Added the new login procedure including TOTP! :)

* misc: Changed bad description for the TOTP_SECRET env var

* I forgot to include the migration for the new prisma stuff

* fix: refresh user context instead refreshing the page

* refactor: simplify totp error handling

* Removed U2F tab + format schema

* fix: tokens not saved in cookies

* refactor: deleted commented out code

* refactor: move password text to input description

* refactor: remove tabler icon package

Co-authored-by: Elias Schneider <login@eliasschneider.com>
Co-authored-by: Elias Schneider <58886915+stonith404@users.noreply.github.com>
2022-12-21 17:58:37 +01:00
Elias Schneider 7e877ce9f4 fix: show alternative to copy button if site is not using https 2022-12-10 13:16:23 +01:00
Elias Schneider 43299522ee chore: upgrade to Next.js 13 2022-10-31 11:20:54 +01:00
Elias Schneider 4e3f6be8e3 feat: automatically detect hour format 2022-10-16 20:21:35 +02:00
Elias Schneider 9d17377bbc Merge remote-tracking branch 'stonith404/main' into main 2022-10-16 00:08:37 +02:00
Steve Tautonico 5988d5ffcc
Added granular control of expiration + 12/24 hour modes 2022-10-14 18:14:46 -04:00
Elias Schneider d906d56b9f performance: replace `tabler-icons-react` with `react-icons` to reduce bundle size 2022-10-14 11:59:40 +02:00
Elias Schneider 247ce92744 fix: my shares doesn't make an api request 2022-10-14 11:29:54 +02:00
Elias Schneider 6358ac3918 feat: improve share security 2022-10-13 23:24:36 +02:00
Steve Tautonico 56349c6f4c
feature: Added "never" expiration date 2022-10-12 16:59:04 -04:00
Elias Schneider 2c47b2a284 fix: add rule to check if user is owner of share 2022-10-10 23:34:03 +02:00
Elias Schneider 4bab33ad8a feat: remove appwrite and add nextjs backend 2022-10-09 22:30:32 +02:00