Commit Graph

180 Commits

Author SHA1 Message Date
Sonny
0f10092810 chore(deps): update deps 2023-12-17 16:19:24 +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
f3e0b8afae fix: wrong table name in sql query 2023-12-14 01:01:22 +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
6f04435d53 docs: update example SSH file path 2023-12-03 18:52:46 +01:00
Sonny
0e977986c9 ci: update deploy script 2023-12-03 18:35:48 +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
9196610980 ci: disable husky 2023-11-26 04:16:27 +01:00
Sonny
fe288c69b1 feat: settings modal add profile and lang selector 2023-11-26 04:05:12 +01:00
Sonny
f64476de37 chore: add husky pre commit 2023-11-26 02:56:41 +01:00
Sonny
9a5f661df4 refactor: apply prettier conf and cleanup 2023-11-26 02:39:04 +01:00
Sonny
c0af440302 chore: update project code style conf 2023-11-26 01:28:01 +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
5fe58c44d5 fix: wrong next config remote pattern 2023-11-22 02:08:38 +01:00
Sonny
0bb5a3bcc3 fix: add next.config.js file to docker context 2023-11-21 18:05:47 +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
b5d70d75d3 chore: fix wrong ci path 2023-11-20 01:19:33 +01:00
Sonny
3309f64553 Merge branch 'develop' 2023-11-20 01:12:26 +01:00
Sonny
b830837cee ci: force docker build on github workflows
Need to find a way to pull docker image and push Prisma migrations without reinstalling all packages
2023-11-20 01:11:33 +01:00
Sonny
23844a5c00 ci: force docker build on github workflows
Need to find a way to pull docker image and push Prisma migrations without reinstalling all packages
2023-11-20 01:09:34 +01:00
Sonny
208093dec4 chore: fix wrong ci path 2023-11-20 00:07:53 +01:00
Sonny
9102c20ab5 docs: add SSH_PORT secret env var 2023-11-20 00:05:33 +01:00
Sonny
9f9e82c869 ci: change app path and add secret env port 2023-11-20 00:00:57 +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
7387b4f364 chore(deps): update deps 2023-11-12 03:33:29 +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
57905d1485 chore: add missing prisma folder 2023-11-11 02:23:45 +01:00
Sonny
49c4b0824c chore: improved docker image weight 2023-11-11 02:22:51 +01:00
Sonny
18747ae0f8 fix: again docker compose 2023-11-11 00:59:25 +01:00