103 Commits

Author SHA1 Message Date
Sonny
584489dbb9 feat: add optionnal link description 2024-04-09 23:05:14 +02:00
Sonny
cf6b87306e feat: add optionnal "required" param on TextBox and Selector inputs 2024-04-09 23:00:43 +02:00
Sonny
0bf5ac11b0 ci: create docker push only workflow
and change default behaviour: deploy when tag is created instead
2024-03-27 23:39:25 +01:00
Sonny
20b0eac03a fix: internal server error when unauthenticated user goes to legal pages 2024-02-26 23:55:59 +01:00
Sonny
48bf294f51 refactor: admin dashboard page and improve style 2023-12-28 19:18:38 +01:00
Sonny
cd7ad1f3d3 feat: admin dashboard 2023-12-28 19:18:38 +01:00
Sonny
480ca9bfa6 refactor: search modal component 2023-12-23 17:49:39 +01:00
Sonny
cfba05c58d feat: improve search 2023-12-23 17:49:39 +01:00
Sonny
9d59c3b993 feat: use react select in search modal filter 2023-12-23 17:49:39 +01:00
Sonny
f7fed8bde4 feat: open search modal when query param is defined 2023-12-23 17:49:39 +01:00
Sonny
f55d467f97 feat: store avatar and user name 2023-12-22 13:47:27 +01:00
Sonny
115ff3e2f8 fix: edit category not working when updating name 2023-12-22 13:47:27 +01:00
Sonny
5a28917429 Mobile swipeable menu (#13)
* feat(mobile): swipe right to open menu

* refactor: css for side nav bar

* refactor: side menu desktop & mobile
2023-12-19 16:49:31 +01:00
Sonny
4a7d5392ad fix: selector child not rendered correctly 2023-12-17 02:49:00 +01:00
Sonny
2d8cf41a83 fix: error when user has no category 2023-12-16 22:53:32 +01:00
Sonny
8b86fbfd7f feat: change some icons 2023-12-16 22:52:34 +01:00
Sonny
e8f2d80e6a feat: use react-select in lang-selector component 2023-12-16 20:48:02 +01:00
Sonny
f44d1c2d33 feat: rework login page 2023-12-16 20:46:54 +01:00
Sonny
ad682faa9e Reorder categories (#12)
* feat: add next category id column

* feat: reorder categories (front)

* refactor: remove dead code & some optimization

* feat(wip): add order column + sql request + trigger

* refactor: fix warnings

* fix: syntax error in migration

* feat: create sql query (category reorder)

* feat: use prisma generated types instead

* feat: create some react context with hooks

* refactor: move a lot of code from home page to
dedicated components

* refactor: extend generated prisma types

* refactor: use hooks and move links footer in dedicated component

* refactor: fix bad types used

* fix: warnings caused by setState loop

* feat: use nextid instead of order column

* fix: reorder categories (front)

* fix: sort categories by nextId

* feat: prevent send update request if cat.id equal target.id

* fix: reorganization applied even if there is no change

* chore: remove unused en var

* feat: check if nextid category exist

* chore: sql query for migration

* refactor: remove useless code and prevent sending request when category not moving

* fix: redorder categories when sending request
2023-12-14 00:15:58 +01:00
Sonny
406bf281b0 feat: update input/button style + add react-toggle 2023-12-07 17:49:47 +01:00
Sonny
d7fe801aa2 feat: pwa support 2023-11-30 14:02:59 +01:00
Sonny
db5fef08fc feat: add OG description + sitemap / robots.txt 2023-11-26 17:06:10 +01:00
Sonny
fe288c69b1 feat: settings modal add profile and lang selector 2023-11-26 04:05:12 +01:00
Sonny
9a5f661df4 refactor: apply prettier conf and cleanup 2023-11-26 02:39:04 +01:00
Sonny
557aa4444c feat: add privacy & terms links index page 2023-11-26 01:15:25 +01:00
Sonny
e0a2398e78 fix: index page responsive 2023-11-26 01:14:26 +01:00
Sonny
20a0f86118 feat: add settings modal 2023-11-25 22:12:25 +01:00
Sonny
6e3b2263b0 fix: window is not defined (server) 2023-11-25 19:32:38 +01:00
Sonny
12a898232e feat: add credits 2023-11-25 19:10:14 +01:00
Sonny
b1f5de0fa6 chore: update deps 2023-11-25 16:50:28 +01:00
Sonny
d4af0b4a4d feat: add support for domain without extension (ie: localhost) 2023-11-23 14:02:32 +01:00
Sonny
1feb551093 fix: api favicon call 2023-11-21 17:48:57 +01:00
Sonny
7a7d496dfe fix: apply reset style for ul 2023-11-21 17:47:55 +01:00
Sonny
d16c61ff5a fix: favicon api
finally!
2023-11-21 14:51:47 +01:00
Sonny
98f1dc4e31 fix: cookies cannot be used by browser extension
when cookies are set with same site policy, they cannot be used in an iframe (as the official extension does)
2023-11-20 13:48:08 +01:00
Sonny
1f42fad0ad refactor: apply prettier conf 2023-11-19 23:37:23 +01:00
Sonny
371eea85dc feat: terms of use page 2023-11-19 23:37:09 +01:00
Sonny
6d5afee4f4 feat: privacy page with translation
refactor: apply prettier conf to all files

feat: terms of use with translation
2023-11-19 19:33:35 +01:00
Sonny
5bdd42afdb feat: removing registration restrictions
Anyone can now register
2023-11-16 19:05:36 +01:00
Sonny
11ac5f4b05 fix: env var exposed in next.config are undefined 2023-11-12 05:34:15 +01:00
Sonny
f5c406a84c feat: favicon api always return an image
When the api cannot fetch the remote favicon, we return a placeholder image
2023-11-12 04:34:30 +01:00
Sonny
fbf12d9947 refactor: remove axios 2023-11-12 03:30:58 +01:00
Sonny
c35eb67890 fix: some cases where favicon are broken 2023-11-12 01:44:30 +01:00
Sonny
255f50080a Add translation (#9)
* feat(wip): translation

* fix: some i18n errors + use ssr translation

* fix: i18next implementation

* fix: tsc errors

* feat: i18n middleware

* feat: translate link view home page

* feat: translate quick actions

* feat: translate search modal

* feat: translate side menu

* feat: native error boundary + translation

* feat: translate error pages

* feat: translate category forms

* feat: translate link forms

* refactor: LangSelector is no longer absolute by default
2023-11-11 00:08:30 +01:00
Sonny
cc81ce26fb feat: more verbose favicon console.log 2023-11-08 17:15:47 +01:00
Sonny
472a6bb325 fix(revert): html & body overflow 2023-11-08 17:09:09 +01:00
Sonny
3497c3f92d feat: improve & fix some styles 2023-11-07 17:54:51 +01:00
Sonny
3204e31759 chore(deps): update major version & apply changes 2023-10-24 17:22:44 +02:00
Sonny
1a8e4e7270 feat: session expiration delay set to default 2023-07-10 17:08:08 +02:00
Sonny
680bdf3fba refacto: duplicated validation schema 2023-06-28 22:54:25 +02:00