490 Commits

Author SHA1 Message Date
GitBluub
cfd4a8acec sort by rating and slug and normal title 2024-01-15 01:29:05 +01:00
GitBluub
e63789cbc1 fix: skip if no artist or song name 2023-11-13 22:55:22 +01:00
GitBluub
4a4f9e2a55 fix: email template 2023-09-21 15:23:07 +02:00
3860c9f72a Fix prettier 2023-09-21 15:11:21 +02:00
b02b23a978 Fix signup mismatch 2023-09-21 15:06:38 +02:00
5b0c1f8992 Fix verify mail 2023-09-21 14:38:51 +02:00
Bluub
8155549031 feat: back password reset email (#277) 2023-09-21 14:29:09 +02:00
Amaury
1ca4633360 Merge pull request #271 from Chroma-Case/feature/adc/#242-liked-songs
Feature/adc/#242 liked songs
2023-09-21 12:05:16 +02:00
danis
bb304fa8cd merge main into liked songs 2023-09-21 12:04:30 +02:00
Bluub
9a1f1f78cb Merge pull request #275 from Chroma-Case/logs 2023-09-21 00:49:24 +02:00
GitBluub
96bb830600 fix: try to fix scoro tests 2023-09-21 00:43:45 +02:00
Bluub
1333b74001 Merge branch 'main' into logs 2023-09-21 00:35:37 +02:00
GitBluub
ece87dbdb9 fix: try to fix scoro tests 2023-09-21 00:26:23 +02:00
GitBluub
e82a6b1dd6 fix: try to fix scoro tests 2023-09-21 00:17:02 +02:00
GitBluub
cd2e119dc6 fix: separate file for logging containers 2023-09-21 00:09:41 +02:00
Clément Le Bihan
c9928f1cce Merge pull request #276 from Chroma-Case/redesign-settings 2023-09-21 00:01:13 +02:00
Clément Le Bihan
7aac3922d6 Merge remote-tracking branch 'origin' into redesign-settings 2023-09-20 23:59:51 +02:00
GitBluub
82403c811e fix: format 2023-09-20 23:54:04 +02:00
GitBluub
230c60bcd0 fix: ok instead of created 201 -> 200 2023-09-20 23:46:38 +02:00
GitBluub
177e903b07 fix: ok instead of created 201 -> 200 2023-09-20 23:46:38 +02:00
GitBluub
a11c236753 fix: ok instead of created 201 -> 200 2023-09-20 23:46:38 +02:00
GitBluub
29ef585410 doc: genre, lesson and history controller 2023-09-20 23:46:38 +02:00
GitBluub
f8be2c2462 doc: artist and album controller 2023-09-20 23:46:38 +02:00
GitBluub
7d27af1e2d doc: search controller 2023-09-20 23:46:38 +02:00
GitBluub
258fe91ae7 doc: song controller 2023-09-20 23:46:38 +02:00
GitBluub
711b5d583b doc: users controller 2023-09-20 23:46:38 +02:00
GitBluub
4416808056 doc: auth controller 2023-09-20 23:46:38 +02:00
GitBluub
979c27c087 feat: doc for app controller 2023-09-20 23:46:38 +02:00
GitBluub
b3117886cf fix: class gen folder in gitignore 2023-09-20 23:46:38 +02:00
GitBluub
1c248fa479 fix: model for the plagination in swagger 2023-09-20 23:46:38 +02:00
GitBluub
ec62f4b085 feat: prisma class generator and models in the swagger 2023-09-20 23:46:38 +02:00
GitBluub
04bad30aaa feat: install prisma class generator 2023-09-20 23:46:38 +02:00
mathysPaul
e5a52d0f94 fix checkbox Profile off-screen 2023-09-20 18:34:20 +02:00
mathysPaul
68c6c6fa11 fixing error from CI 2023-09-20 17:59:36 +02:00
mathysPaul
94a64d16e6 Redesign profil with datafake for skills 2023-09-20 17:40:52 +02:00
7aa7f50ecb Fix prod nginx 2023-09-20 14:58:09 +02:00
ee8e0e26db Fix eslint and bad reverify mail issue 2023-09-20 14:58:09 +02:00
31b965e8f6 Add volume/enable state and follow the music's bpm for the metronome 2023-09-20 14:58:09 +02:00
94658d4379 Add static assets to nginx 2023-09-20 14:58:09 +02:00
Clément Le Bihan
49a735631a prettied 2023-09-20 13:39:26 +02:00
Clément Le Bihan
1905daec60 MainHomeCard is now displaying the first 4 songs 2023-09-20 13:39:26 +02:00
Clément Le Bihan
7a1f4fb787 Fix to really allow guest accounts empty strings are transformed to null values 2023-09-20 13:39:26 +02:00
Clément Le Bihan
f3cdba34fb Now usign real play history for the TabNavigator Desktop 2023-09-20 13:39:26 +02:00
Clément Le Bihan
5b7cb6746d Added specific fontSizes for each card 2023-09-20 13:39:26 +02:00
Clément Le Bihan
6e3e73982f Added callback for onPress for the SongCardInfos and replaced the button to have the play icon more centered but some state issue 2023-09-20 13:39:26 +02:00
Clément Le Bihan
8e5c65e6f2 Added SongCardInfo for the V2 design and type fixes 2023-09-20 13:39:26 +02:00
Clément Le Bihan
94875d4c7f trying golden ratio 2023-09-20 13:39:26 +02:00
Clément Le Bihan
e817021ede fix type errors 2023-09-20 13:39:26 +02:00
Clément Le Bihan
dcca1b1f1c Added phone and responsive support on the tabnavigation added callapsables fixed colorscheme and setting background color 2023-09-20 13:39:26 +02:00
Clément Le Bihan
c0c2918e72 Started navigation 2023-09-20 13:39:26 +02:00
mathysPaul
973f9bf5b3 redesign AuthenticationView 2023-09-20 10:27:24 +02:00
GitBluub
162fc9148f grafana: auto setup of dashboard 2023-09-20 00:26:15 +02:00
GitBluub
57d646f6eb scoro: direct log to loki not working 2023-09-20 00:25:26 +02:00
mathysPaul
6768b0b2a6 merge main 2023-09-19 19:22:25 +02:00
mathysPaul
fa14d1f979 Fixing error prettier redesign CI 2023-09-19 18:43:38 +02:00
mathysPaul
c4ca2e509e Fixing redesign-settings prettier & lint => CI 2023-09-19 18:23:31 +02:00
mathysPaul
1abfbf391f Fixing error prettier redesign CI 2023-09-19 17:36:19 +02:00
mathysPaul
073ff033f3 Fixing error redesign CI 2023-09-19 17:12:49 +02:00
GitBluub
23e5941700 scoro: log directly to loki 2023-09-19 17:11:42 +02:00
Clément Le Bihan
027d450579 Forgot a merge conflict 2023-09-19 15:19:42 +02:00
Clément Le Bihan
ad9bbbc2b9 Cleanup random 2023-09-19 15:19:42 +02:00
Clément Le Bihan
58af78b1d3 prettied phaserCanvas.ts 2023-09-19 15:19:42 +02:00
Clément Le Bihan
09d2da8eec Fixed scaling issue with the cursor position texture size is still a concern 2023-09-19 15:19:42 +02:00
Clément Le Bihan
8abaaf6624 style the scaling not working to fix 2023-09-19 15:19:42 +02:00
Clément Le Bihan
3c3697be61 fix test back for duplicated user 2023-09-19 15:19:42 +02:00
Clément Le Bihan
073c00a35e Fixed a bug when current streak is 0 and Linter fix 2023-09-19 15:19:42 +02:00
Clément Le Bihan
58d761c359 prettier cleanup 2023-09-19 15:19:42 +02:00
Clément Le Bihan
aaaf73f632 PR cleanup 2023-09-19 15:19:42 +02:00
Clément Le Bihan
f83043a9c9 Handling in satisfactory manner scoro messages 2023-09-19 15:19:42 +02:00
Clément Le Bihan
cea6d8d0bc Added the message pinao system reusing a react context for simplicity and emitting note timing messages when scoro gives the result 2023-09-19 15:19:42 +02:00
Clément Le Bihan
607c35b621 Added first effect of particules 2023-09-19 15:19:42 +02:00
Clément Le Bihan
13d0be4586 Small QoL fixes thare were really needed 2023-09-19 15:19:42 +02:00
danis
3e1e41f117 pretty 2023-09-19 09:39:54 +02:00
danis
8f9d7e4a85 typo 2023-09-19 09:37:00 +02:00
mathysPaul
1e504c8982 Redesign settings 2023-09-19 03:54:12 +02:00
danis
e56436db3a merging main into feature/adc/#242-liked-songs 2023-09-18 16:49:47 +02:00
danis
bc227fb0ea pretty + better handling + handling in artist detail view 2023-09-18 16:45:03 +02:00
Clément Le Bihan
49bc4f9f45 Update front/views/StartPageView.tsx 2023-09-18 15:37:58 +02:00
Arthur Jamet
73076c4b28 Front: Recover package.json 2023-09-18 15:37:58 +02:00
Arthur Jamet
8732972b3f Front: Recover yarn.lock 2023-09-18 15:37:58 +02:00
Arthur Jamet
cd9d64e501 Front: Prettier 2023-09-18 15:37:58 +02:00
Arthur Jamet
62bf7ec035 Front: Apply New Color, Button and Link Style 2023-09-18 15:37:58 +02:00
Arthur Jamet
659f5d5d84 Front: Setup New Font 2023-09-18 15:37:58 +02:00
Arthur Jamet
bbc53f04de Front: Get Rid of external image, load local assets 2023-09-18 15:37:58 +02:00
danis
431427d7ad fixed mirgation + back-end + front end filter, heart shaped button and special FavSongRow 2023-09-17 20:57:10 +02:00
GitBluub
611ab57c5d scoro: game uuid for logging and bug fixing 2023-09-16 16:55:55 +02:00
bc13c10f1a Fix ci 2023-09-15 17:57:03 +02:00
91c9e2b295 Update .env.example to use dummy values for the ci 2023-09-15 17:57:03 +02:00
585be2aa19 Fix prettier warnings 2023-09-15 17:57:03 +02:00
654022b48a Update .env.example 2023-09-15 17:57:03 +02:00
afab03baf8 Add a button to resend verified mail 2023-09-15 17:57:03 +02:00
a52c10fc2c Add verified badge and page on the front 2023-09-15 17:57:03 +02:00
f2ed598865 Use a fixed python version for the scorometer 2023-09-15 17:57:03 +02:00
02fc8175f4 Send mails on account creation 2023-09-15 17:57:03 +02:00
Arthur Jamet
628e50a48d Merge pull request #257 from Chroma-Case/feature/adc/#224-genre-view
Feature/adc/#224 genre view
2023-09-14 15:33:40 +02:00
Arthur Jamet
70ab56ce3a Front: Remove unused value 2023-09-14 11:41:38 +02:00
Arthur Jamet
1fefe7912d Front: Run Pretty 2023-09-14 11:37:50 +02:00
danis
c21f5f0659 Merge branch 'feature/adc/#224-genre-view' into feature/adc/#242-liked-songs 2023-09-13 13:23:16 +02:00
danis
46ef0a7f1b remove expo-linear-gradient 2023-09-12 22:05:31 +02:00
danis
b43c64962a favorites search view filter + song query from favorites data 2023-09-10 14:48:39 +02:00
danis
64640eda55 lints fix 2023-09-09 19:18:30 +02:00
danis
a6d9cb3b40 run prettier 2023-09-09 18:55:32 +02:00
danis
b61541f7b8 fix PR III 2023-09-09 17:52:22 +02:00
danis
3ff523560b fix PR II 2023-09-09 17:51:18 +02:00
danis
b61968706d fix PR I 2023-09-09 14:25:43 +02:00
Arthur Jamet
2f27278d3a Front: Pretty 2023-09-08 17:53:23 +02:00
Arthur Jamet
e1ab9fe118 Front: Fix an error that occured on prod, caused by the avatar's url 2023-09-08 17:53:23 +02:00
Arthur Jamet
b1d0415ba0 Front: Fix genre view 2023-09-07 17:10:18 +02:00
Arthur Jamet
8ab85ab689 Front: remove file64 dependency 2023-09-07 17:06:27 +02:00
danis
16cd794e3b trial for artist name 2023-09-07 10:31:03 +02:00
danis
f85c30a53b clean code VI 2023-09-06 17:07:16 +02:00
danis
6da96ed886 clean code V 2023-09-06 17:00:36 +02:00
danis
852fbd5c87 clean code IV 2023-09-06 16:39:38 +02:00
danis
5cec62d1b1 search view update 2023-09-06 16:38:44 +02:00
danis
7e866f9826 clean code III 2023-09-06 15:59:50 +02:00
danis
2f50f694f3 clean code 2023-09-06 15:57:38 +02:00
Clément Le Bihan
e0f2674811 fix pr 2023-09-06 15:09:54 +02:00
Clément Le Bihan
b84ee11f45 Fix de arthur 2023-09-06 15:09:54 +02:00
Clément Le Bihan
a2494ce498 prettied 2023-09-06 15:09:54 +02:00
Clément Le Bihan
b76d496034 fix ts issues 2 2023-09-06 15:09:54 +02:00
Clément Le Bihan
a81d3ee34d fixed ts type issue 2023-09-06 15:09:54 +02:00
Clément Le Bihan
85473ae492 Removed old commented react useState 2023-09-06 15:09:54 +02:00
Clément Le Bihan
9655e986ff Removed old code from HomeView and auto format some files 2023-09-06 15:09:54 +02:00
Clément Le Bihan
101ea8498b removing old code commented and unused dependancies 2023-09-06 15:09:54 +02:00
Clément Le Bihan
7d33f85cbc Cleanup parition view 2023-09-06 15:09:54 +02:00
Clément Le Bihan
66d792715e Removed Parition context declaration/init 2023-09-06 15:09:54 +02:00
Clément Le Bihan
40581f4a45 Removed the timestamp partition context to reuse normal props clean up console logs and now displaying a toast to tell is the scorometer crashed 2023-09-06 15:09:54 +02:00
Clément Le Bihan
2ca3fcb81a reactivating websocket connection but error view appear when it shouldn't 2023-09-06 15:09:54 +02:00
Clément Le Bihan
30fcacbec6 Now using redux to not create sound player every time the phaser is also implicitely cached 2023-09-06 15:09:54 +02:00
Clément Le Bihan
7c3289ccec now phasercanvas makes sounds used the same stack as previously and ram issue spotted 2023-09-06 15:09:54 +02:00
Clément Le Bihan
7438986bcd Cursor is controlled by partition timestamps provided by playview and can thus be paused and onEndReached is now called 2023-09-06 15:09:54 +02:00
Clément Le Bihan
3ac017a5f0 Cursor with cam follow is moving to correct notes, timing is fake 2023-09-06 15:09:54 +02:00
Clément Le Bihan
8e5cc1bc44 Added sliding to the partition but some issues 2023-09-06 15:09:54 +02:00
Clément Le Bihan
125a7faf02 early Experiment working 2023-09-06 15:09:54 +02:00
danis
c9d3ef88e7 clean code + search history handler fix 2023-09-05 13:44:30 +02:00
danis
0ba3bec5aa Merge branch 'main' into feature/adc/#224-genre-view 2023-09-05 09:41:20 +02:00
danis
539c35c903 song cards routing fix 2023-09-05 09:36:11 +02:00
danis
e1463d41b9 actual data from db tho needs better design care 2023-09-05 09:33:31 +02:00
danis
01394056a6 Merge branch 'feature/adc/artist-view' into feature/adc/#224-genre-view 2023-09-04 14:24:21 +02:00
danis
1396fcb39c artist name fix 2023-09-04 11:05:33 +02:00
danis
c81f8df61c prisma migration + back auth/me/likes + front API add and get methods for liked song 2023-08-30 13:06:25 +02:00
danis
1255343b97 artist view + moved components 2023-08-12 11:16:22 +02:00
danis
f7562c18bd basic genre details view 2023-08-12 10:43:02 +02:00
Arthur Jamet
a3676fabf8 Front: Update User Avatar (#250)
* Front: Update User Avatar

* Front: Fix expo-image-picker version
2023-08-07 10:28:55 +02:00
GitBluub
dc398d6e06 rm useless file 2023-07-26 22:22:03 +09:00
GitBluub
d5da112a01 scorometer create uuid 2023-07-26 22:21:36 +09:00
GitBluub
96048bd671 back logging every request 2023-07-26 22:21:21 +09:00
GitBluub
dcdc6b196d grafana setup and dashboard json 2023-07-26 22:21:00 +09:00
Arthur Jamet
9f542fc9dd Front: User Avatar 2023-07-26 21:00:41 +09:00
930191569f Fix upload file issue 2023-07-26 21:00:41 +09:00
74cd9c0df2 Remove a usless validator 2023-07-26 21:00:41 +09:00
d2642b4fb8 Fixing gravatar 2023-07-26 21:00:41 +09:00
ebcc48cc57 Upgrade back packages 2023-07-26 21:00:41 +09:00
95b08935cc Add file upload 2023-07-26 21:00:41 +09:00
04487c9b24 Add get profile route that supports gravatar 2023-07-26 21:00:41 +09:00
Arthur Jamet
20eb62d19b Front: Graphes de Score (#248) 2023-07-26 12:00:06 +01:00
Zoe Roux
567d3250e2 Merge pull request #234 from Chroma-Case/feat/google 2023-07-24 19:40:15 +09:00
4207d5ee50 Try to fix the CI 2023-07-24 19:33:25 +09:00
GitBluub
509cc5b9f8 rename musics 2023-07-24 14:51:19 +09:00
GitBluub
1b22dba9cd rename musics 2023-07-24 14:44:55 +09:00
GitBluub
2ec95dd3c3 wip 2023-07-23 18:14:11 +09:00
Arthur Jamet
c0d9ee7ca6 Front: Merge 2023-07-16 18:11:34 +01:00
danis
bf09a25eb5 linear gradient 2023-07-11 10:06:55 +02:00
danis
373128ba53 broke my glasses 2023-07-10 23:12:37 +02:00
danis
3a09d10d3b you miss 100% of the shots you dont take 2023-07-09 23:24:31 +02:00
Arthur Jamet
87de52cae0 Front: 'Get Song By Artist' Query: fix typings 2023-07-05 14:18:31 +01:00
Arthur Jamet
931fe13eee Merge branch 'main' of github.com:Chroma-Case/Chromacase into feature/adc/artist-view 2023-07-05 14:06:27 +01:00
Arthur Jamet
10d1342294 Front: Api models validation (#245)
* Front: Model: Write Validators

* Front: Plage response validator

* Front: API: Typing 'fetch' return

* Front: Basic Models: Response Handlers

* Front: API: Validate authentication response

* Front: Validate Search History

* Front: Validate Responses of User updates

* Front: On Validation Error, more verbose console error
2023-07-05 09:22:55 +01:00
danis
28716eeab2 init genreDetailsView 2023-07-05 09:26:45 +02:00
Arthur Jamet
350a4870cd Front: WebSocket Connection: Fix (#244) 2023-07-03 06:46:16 +01:00
Arthur Jamet
27f7945289 Front: Use React-Native feature to handle Google Redirections 2023-06-29 15:02:06 +01:00
GitBluub
5a190f3b96 wip 2023-06-28 22:03:59 +09:00
danis
606af3901c Merge branch 'main' into feature/adc/artist-view 2023-06-28 09:22:25 +02:00
danis
b2247e79ae having a bug with api :/ 2023-06-28 09:11:49 +02:00
Arthur Jamet
3d76834f45 Front: Add Missing Translation + Prettier 2023-06-26 15:00:35 +01:00
ccc86895e2 Add an indicator of the google account on the front 2023-06-26 22:41:07 +09:00
279d16d59a Add google things on the front 2023-06-26 22:38:59 +09:00
04d288b844 Add google signin/signup 2023-06-26 22:38:59 +09:00
Arthur Jamet
857158c6cf Front: Standardise queries (#233) 2023-06-23 15:16:22 +01:00
Clément Le Bihan
80b06f15fe Update front/i18n/Translations.ts 2023-06-22 18:30:52 +02:00
Arthur Jamet
62877f9bd2 Front: Typecheck 2023-06-22 18:30:52 +02:00
Arthur Jamet
3e84605c59 Front: If resource is not found, redirect to Error View 2023-06-22 18:30:52 +02:00
Arthur Jamet
45595408fe Front: Settings URL: Tweak to avoid code repitition 2023-06-22 18:30:52 +02:00
Arthur Jamet
f362531d42 Front: Reanme Settings' subroutes for URLs 2023-06-22 18:30:52 +02:00
Arthur Jamet
3dea5a0865 Front: Prettier 2023-06-22 18:30:52 +02:00
Arthur Jamet
0416e1ba41 Front: Loading View: Use Theme to set background color 2023-06-22 18:30:52 +02:00
Arthur Jamet
f77fa33396 Front: Authentication View: Refactor to be usable with URL navigation 2023-06-22 18:30:52 +02:00
Arthur Jamet
b736dbc1f0 Front: Navigation: Prevent Auth Loading from breaking access by URL 2023-06-22 18:30:52 +02:00
Arthur Jamet
b53aff5bb2 Front: On navigate, set URL 2023-06-22 18:30:52 +02:00
danis
a6ae770194 Merge branch 'main' into feature/adc/artist-view 2023-06-21 09:19:04 +02:00
danis
e378465126 components RowCustom & SongRow + artist banner 2023-06-21 08:21:34 +02:00
9b51bfda0b Add not found error handling for delete 2023-06-20 19:34:59 +09:00
2838beae12 Remove the unsafe user api 2023-06-20 19:34:59 +09:00
93ae411ebe Use the new filter pipe for every resources 2023-06-20 19:34:59 +09:00
1a5ab5d099 Remove auto-generated spec files 2023-06-20 19:34:59 +09:00
477bff5bff Create a filter pipe 2023-06-20 19:34:59 +09:00
9f55a1498b wip 2023-06-20 19:34:59 +09:00
Arthur Jamet
c5d465df97 Front: Pretty and Lint (#225) 2023-06-17 07:01:23 +01:00
Arthur Jamet
399c7d0d9e Merge pull request #220 from Chroma-Case/front/ci-typecheck
Front: typecheck and CI
2023-06-11 12:53:56 +01:00
Arthur Jamet
794a7578a8 A README for GitHub (#221)
* README: Logo and pitch

* README: Better Title Image
2023-06-11 12:53:10 +01:00
Arthur Jamet
87dab44ad0 Front: Settings Navigator: Allow passing screen name as props 2023-06-09 11:51:17 +01:00
Arthur Jamet
242e67edaa Front: Play View: Typecheck Audio Context 2023-06-09 09:43:53 +01:00
Arthur Jamet
d84b789458 Front: TabRow Navigator: Hide header on small viewports using global navigator for ts 2023-06-09 09:34:59 +01:00
Arthur Jamet
4cf5c39da8 Front: Typecheck TabRow Navigator 2023-06-09 09:31:05 +01:00
Arthur Jamet
fa74016257 Front: Allow Use of DOM for Play view 2023-06-08 19:20:36 +01:00
Arthur Jamet
d7848692f7 Front: More Typechecks 2023-06-08 12:25:34 +01:00
Arthur Jamet
c4c4361ff9 Front: HomeView: Fix bad argument to song card (#216) 2023-06-08 10:53:32 +01:00
Arthur Jamet
19ded9ca74 Front: Typecheck Navigators and hooks 2023-06-08 10:52:23 +01:00
Arthur Jamet
63d4b10ebb Front: Typecheck Elements 2023-06-08 10:52:22 +01:00
Arthur Jamet
ff0fc7a8ae CI: Before running build, run tsc 2023-06-08 10:52:22 +01:00
GitBluub
f0ea73a2dd fix: scorometer test 2023-06-01 01:13:00 +09:00
GitBluub
3276b02e0f fix: precision calculation with wrong notes 2023-06-01 01:13:00 +09:00
GitBluub
35049eede9 fix: set a note to done on note off 2023-06-01 01:13:00 +09:00
GitBluub
a319447ecd fix: scoreview more infos 2023-06-01 01:13:00 +09:00
918c113643 Fix guest user settings 2023-05-30 11:33:43 +02:00
GitBluub
2434d5f5df fix: image via props and remove songIllustration function for cover property 2023-05-30 11:33:43 +02:00
GitBluub
25e3d99e22 rm: useless jpg 2023-05-30 11:33:43 +02:00
GitBluub
f99dfd0fdd fix: updated robot test 2023-05-30 11:33:43 +02:00
GitBluub
c8a95ce8a6 fix: updated scorometer test runner 2023-05-30 11:33:43 +02:00
GitBluub
6dcda01f6f feat: song illustrations code 2023-05-30 11:33:43 +02:00
GitBluub
41d020e7a2 feat: song illustrations 2023-05-30 11:33:43 +02:00
GitBluub
3553954afd feat: artist illustrations 2023-05-30 11:33:43 +02:00
GitBluub
7f51582043 feat: front illustration, sorry for linting 2023-05-30 11:33:43 +02:00
GitBluub
5843da2d02 fix: back crash if file not found 2023-05-30 11:33:43 +02:00
GitBluub
7eb3d54903 feat: genre illustrations 2023-05-30 11:33:43 +02:00
GitBluub
9fb165e4ff fix: scorometer muscis folder and populate fix 2023-05-30 11:33:43 +02:00
GitBluub
5c7648541f feat: artist and genre illustration 2023-05-30 11:33:43 +02:00
GitBluub
8dbb724a0f feat: song illustration 2023-05-30 11:33:43 +02:00
GitBluub
7b5629f4a4 fix: scorometer musics folder 2023-05-30 11:33:43 +02:00
GitBluub
17955a0525 feat: assets volume instead of musics only 2023-05-30 11:33:43 +02:00
Arthur Jamet
73e0890b3b Front: Play View: Better toasts for score messages (#207) 2023-05-27 18:42:38 +01:00
Arthur Jamet
e081b03f20 Musics: Fix tempo of Short (#206) 2023-05-26 13:35:51 +01:00
Amaury
97bf7bdac8 Feature/adc/#192 barre de recherche (#201)
* context and react query add to searchView

* handle empty result + back

* #192 - New card components and history fetch + dummy suggestions fetch

* respoonsive design + filters map

* artist details view + translations + SongData mapping fix + items limitation

* history search back and front + cards + fix

* fixed useless history entries

* clean code

* clean code

* fix pr: SearchHistory new type related fixes

* simplified SearchResultComponent (useEffect removed, condition simplified to trigger different 'modes'

* search re-do onPress history cards + scoreView obj map

* clean code API.ts

* fix pr + search history behavior

* added utility function to get song suggestions with artists and fixed error types along the way

* fix in songrow the title didn't shrinked when not enough space on screen

* removed redirect callback from ArtistCard to ArtistResults

* moved the callback from genre card grid to searchresult and implemented history for songs

* SearchBar is now updating input search following stringQuery

* added scroll view to have the complete background

* Added the route props for query in Searchview

* fixed robot test

---------

Co-authored-by: Clément Le Bihan <clement.lebihan773@gmail.com>
2023-05-26 10:50:25 +02:00
5baf9309c6 Remove the special case on the score page 2023-05-25 17:40:03 +09:00
aa75ece3a1 Fix robot tests 2023-05-25 17:40:03 +09:00
GitBluub
b3369a158f fix: update the scorometer test and fix missed counter 2023-05-25 17:40:03 +09:00
Arthur Jamet
1fa8c7a560 Front: Fix Score computation 2023-05-25 17:40:03 +09:00
Arthur Jamet
1545c9240b Front: Song Lobby: use null safety 2023-05-25 17:40:03 +09:00
Arthur Jamet
028aed2e9a Front: Fix getSongHistory route call 2023-05-25 17:40:03 +09:00
47e0861d47 Make the scoreview use scorometer's information 2023-05-25 17:40:03 +09:00
b1d2027d4b Add informations to the history 2023-05-25 17:40:03 +09:00
155e6f49af Reverse history order 2023-05-25 17:40:03 +09:00
d4f8afd61b Fix api issue 2023-05-25 17:40:03 +09:00
b80d4e20c1 Use the new history api on the front 2023-05-25 17:40:03 +09:00
3585c259a0 Add best score in song history 2023-05-25 17:40:03 +09:00
571b3b89e5 Add song history 2023-05-25 17:40:03 +09:00
712c08303a Add create date on history items 2023-05-25 17:40:03 +09:00
GitBluub
7adfb6e294 fix: fix the smoothie 2023-05-24 17:53:15 +02:00
GitBluub
3f4fb8f984 fix: fix robot test with old music 2023-05-24 17:53:15 +02:00
GitBluub
6bce844411 fix: fix scormeter tests and autofix script 2023-05-24 17:53:15 +02:00
GitBluub
58b8515471 fix: song checking script and rm invalid songs 2023-05-24 17:53:15 +02:00
Arthur Jamet
ce42aadd44 Front: Fix Score computation 2023-05-24 17:53:15 +02:00
GitBluub
c5a7436e2c fix: midi message parsing in front and remove delay in scorometer 2023-05-24 17:53:15 +02:00
Arthur Jamet
004ffa0be8 Front: PlayView: Fix time on notes 2023-05-24 17:53:15 +02:00
GitBluub
2f5a80a9c7 fix: try checking velocity for note off 2023-05-24 17:53:15 +02:00
GitBluub
9b12c76978 crawler piano only 2023-05-24 17:53:15 +02:00
GitBluub
3335516f0e new musics test 2023-05-24 17:53:15 +02:00
GitBluub
a660b90e68 handle multiple genres 2023-05-24 17:53:15 +02:00
GitBluub
be0e41006a fix populate.py and new musics 2023-05-24 17:53:15 +02:00
GitBluub
7edc5b75ef random fixes 2023-05-24 17:53:15 +02:00
Arthur Jamet
45c07b68a0 Merge pull request #200 from Chroma-Case/front/osmd-view 2023-05-08 13:44:27 +01:00
Arthur Jamet
5bc4289bdc Front: Merge 2023-05-08 12:55:16 +01:00
Arthur Jamet
9f17cd9f83 Front: Score View: Back Button On Error 2023-05-07 14:57:06 +01:00
Clément Le Bihan
c82cdc0445 PR fixes 2023-05-06 17:25:49 +02:00
Clément Le Bihan
4d77007010 fixed indent and removing debug comment 2023-05-06 17:25:49 +02:00
Clément Le Bihan
2ece5b44ac added duplicatas removal and reverse order 2023-05-06 17:25:49 +02:00
Clément Le Bihan
1fa3d77e8d added search history in API.ts and displaying it on the HomePage 2023-05-06 17:25:49 +02:00
Clément Le Bihan
7166bb46ed Fixed sessiontoken lock 2023-05-06 15:58:48 +02:00
Arthur Jamet
d0166c6b27 Music: Add Short Music 2023-05-06 14:31:29 +01:00
Arthur Jamet
393ff3c2c7 Front: Remove Log 2023-05-06 14:30:19 +01:00
Arthur Jamet
ae4d1f00d9 Front: Partition: Prevent skip of first note 2023-05-06 14:18:18 +01:00
Arthur Jamet
8a3d4f9c25 Front: Merge 2023-05-06 13:52:01 +01:00
Arthur Jamet
4034d29056 Front: Partition View: Management of long rests 2023-05-05 13:15:35 +01:00
Arthur Jamet
cce560031a Front: Partition View: Set arbitrary bpm if not found in musicxml 2023-05-04 13:06:15 +01:00
Arthur Jamet
f6226ce127 Front: Play View: Prevent double midi setup 2023-05-04 13:03:23 +01:00
Arthur Jamet
20deb7ae99 Front: Partition View: Handle End reached 2023-05-04 13:02:36 +01:00
Arthur Jamet
3c3ed74995 Front: Song Lobby: Fallback if no previous score 2023-05-04 13:02:08 +01:00
Arthur Jamet
c3e8fb1c45 Back: Fix Musicxml route 2023-05-04 11:47:44 +01:00
Arthur Jamet
97be3b9c76 Front: Play View: Fix Loading Flow 2023-05-04 11:47:29 +01:00
Arthur Jamet
5662082048 Front: Get Song History: Actually use API 2023-05-04 11:40:39 +01:00
Arthur Jamet
9dc2389c35 Front: Score View: Fix artist in cards 2023-05-04 11:33:35 +01:00
Arthur Jamet
10f80b6191 Merge pull request #197 from Chroma-Case/front/fix-game-end-flow 2023-05-04 06:49:47 +01:00
Arthur Jamet
b943b9a621 Front: Partition View: Fix speed + play sound from musicxml 2023-05-03 14:35:31 +01:00
Arthur Jamet
fb9467e58e Front: Prevent Crash on Quit and restart 2023-05-02 15:32:57 +01:00
Arthur Jamet
bf4b84e1f8 Front: Partition: Infinite Scroll 2023-05-02 15:04:05 +01:00
Arthur Jamet
03ac681dd6 Front: Partition View: Give rendering div a proper name 2023-05-02 14:16:40 +01:00
Arthur Jamet
9d60993f8d Front: Partition View: Fix disappearing cursor on resize 2023-05-02 14:13:57 +01:00
Arthur Jamet
10e53abfc1 Front: Play View: Draft of Partition View 2023-05-01 15:32:45 +01:00
Arthur Jamet
18cc79f4a2 Front: API: Type Raw responses 2023-05-01 15:32:23 +01:00
Arthur Jamet
5c8e35ba7d Front: Navigation: Add key to routes + logout button on profile error 2023-05-01 15:31:24 +01:00
Arthur Jamet
2db657dd59 Front: Home View: Fix Overlap when empty card grid 2023-04-28 16:53:50 +02:00
Arthur Jamet
cbe8d291dd Front: Remove unused expo configuration files 2023-04-28 14:23:06 +01:00
Arthur Jamet
e0bdd5fd8f Front: Hide Stop Button while game has not started 2023-04-28 13:57:08 +01:00
Arthur Jamet
030cbfc786 Front: Navigation: Prevent Back action in home and score view 2023-04-28 13:56:50 +01:00
Arthur Jamet
d0597f0e95 Score View: Fix Condition 2023-04-26 21:35:02 +02:00
Arthur Jamet
f640b0d6f8 Merge pull request #194 from Chroma-Case/front/link-settings 2023-04-25 18:41:28 +01:00
Arthur Jamet
c005ebbdc9 Front: Merge 2023-04-25 15:55:50 +01:00
Arthur Jamet
cf6b61e0e9 Front: Global Error Handling on User Profile Fetch Error 2023-04-25 15:53:24 +01:00
Arthur Jamet
9a7c4405bb Merge pull request #193 from Chroma-Case/front/play-page-connection 2023-04-24 17:29:17 +01:00
Arthur Jamet
7716c5f9c6 Front: Indet fix 2023-04-24 16:48:45 +01:00
Arthur Jamet
42ab0f6ed6 Merge branch 'scoro_rework' of github.com:Chroma-Case/Chromacase into front/play-page-connection 2023-04-24 16:45:50 +01:00
GitBluub
8628e07be1 me dumb 2023-04-25 00:02:49 +09:00
GitBluub
fa60fca466 cat the diff for the CI 2023-04-24 23:54:18 +09:00
GitBluub
a51aa60e20 fix tests 2023-04-24 23:43:13 +09:00
Arthur Jamet
4b44ef0c11 Front: Remove comment 2023-04-23 15:32:44 +01:00
Arthur Jamet
bb96d57f27 Front: Use API to get settings 2023-04-23 15:30:37 +01:00
Arthur Jamet
8ccc90eceb Front: LoadingView Component 2023-04-23 15:18:07 +01:00
Arthur Jamet
467f440c54 Front: Play View State: Reduce conditional complexity 2023-04-20 12:37:38 +01:00
Arthur Jamet
88cfd1ecde Front: Fix Merge 2023-04-19 13:06:44 +01:00
Arthur Jamet
deaaaac2cd Front: Navigation: Route Props include route info 2023-04-19 06:01:13 +02:00
Clément Le Bihan
6871aaf759 added privacy settings in the settings store and linked to the settings ui 2023-04-19 06:01:13 +02:00
Clément Le Bihan
31d3909e80 fixed the new useNavigation hook usage 2023-04-19 06:01:13 +02:00
Clément Le Bihan
ae36edfff4 now using useSelector with the settings sotre instead of standalone useStates 2023-04-19 06:01:13 +02:00
Clément Le Bihan
fe782a4f94 fixed useQuery some code style and unused hooks 2023-04-19 06:01:13 +02:00
Clément Le Bihan
9d8bb499ba Added midjourey generated images 2023-04-19 06:01:13 +02:00
Clément Le Bihan
968ae149a5 fixed dark theme for big Action button 2023-04-19 06:01:13 +02:00
Clément Le Bihan
50f6fe6851 fixed dark mode for element list baxShadow and hover color 2023-04-19 06:01:13 +02:00
Clément Le Bihan
eddbe6e2be fixed responsive issue with an explicit flex-shrink 2023-04-19 06:01:13 +02:00
Clément Le Bihan
c4bc7c795c added some margin in TabRow navigator because some icons were displayed onto the title 2023-04-19 06:01:13 +02:00
Clément Le Bihan
509d079bce fixed style layout in GuestToUserView and added SignOutGuestWarning translations 2023-04-19 06:01:13 +02:00
Clément Le Bihan
af3da974bf fixed bad naming for gamePlayed user data 2023-04-19 06:01:13 +02:00
Clément Le Bihan
da0b43c348 added missing translation for the profile setting page 2023-04-19 06:01:13 +02:00
Clément Le Bihan
1c76266444 added the front API function to tranform guest account into regular account and added translations 2023-04-19 06:01:13 +02:00
Clément Le Bihan
9033fbe937 Added a tab settings when user is guest to transform guest account into regular account 2023-04-19 06:01:13 +02:00
Clément Le Bihan
34d646021f Added some premium features options to show of possibilities of the ElementList 2023-04-19 06:01:13 +02:00
Clément Le Bihan
3aa104a923 Removed the previous inputs of settings preference view 2023-04-19 06:01:13 +02:00
Clément Le Bihan
047cd054bd hardcoded a width value for range element slider and separated settings in settings preference view into multiple categories 2023-04-19 06:01:13 +02:00
Clément Le Bihan
b0dddbe815 used ElementList to reimplement Settings Preference View and changed callback function name for ElementRange from onValueChange to onChange 2023-04-19 06:01:13 +02:00
Clément Le Bihan
70b506c6c2 Moved Settings Preference View into its dedicated file and started to implement ElementRange 2023-04-19 06:01:13 +02:00
Clément Le Bihan
8ce1beb518 used ElementList in the PrivacyView and using the dedicated file 2023-04-19 06:01:13 +02:00
Clément Le Bihan
4ec8878e8a fixed a bug in ElementToggle and added statte for notifications and ElementList overhaul 2023-04-19 06:01:13 +02:00
Clément Le Bihan
d9ede44d7d moved functionnal NotificationView into it's dedicated file 2023-04-19 06:01:13 +02:00
Clément Le Bihan
0cd8846e2c removed test entries in the SettingsProfileView 2023-04-19 06:01:13 +02:00
Clément Le Bihan
1b63d27f74 fixed a little style issue of ElementList and setting the mail pressed action to navigate to the mail options 2023-04-19 06:01:13 +02:00
Clément Le Bihan
8cde4747a7 added visual arrow when text is pressable 2023-04-19 06:01:13 +02:00
Clément Le Bihan
5a5654d4f5 fix missing disbled feature not working with pressable 2023-04-19 06:01:13 +02:00
Clément Le Bihan
9c8395b578 added the actionClick support for toggle element type 2023-04-19 06:01:13 +02:00
Clément Le Bihan
0ce17054fc Element functions are now split into multiple file and started the ground work for onPress support 2023-04-19 06:01:13 +02:00
Clément Le Bihan
87fecb7522 now using data for every type of Elements (no more node for custom type) and fixed child keys warning 2023-04-19 06:01:13 +02:00
Clément Le Bihan
9d5060fc31 fixed missing isGuest info in the return of the user info from the front API wrapper, added a warning pop over when clicking disconnect while using a guest account 2023-04-19 06:01:13 +02:00
Clément Le Bihan
2f19c0e547 Added the disabled implementation for elements 2023-04-19 06:01:13 +02:00
Clément Le Bihan
c5ba72229f Added a better handling of text and descriptions of the buttons with different sizes 2023-04-19 06:01:13 +02:00
Clément Le Bihan
067f5e711d helperText is working great 2023-04-19 06:01:13 +02:00
Clément Le Bihan
f725a89c0c created separate types for each element type in order to handle the different props more sanely 2023-04-19 06:01:13 +02:00
Clément Le Bihan
69fbbd5e00 implemented the toggle element 2023-04-19 06:01:13 +02:00
Clément Le Bihan
a1a2b77a16 updated missed xp usage in homeview 2023-04-19 06:01:13 +02:00
Clément Le Bihan
deda1f738b fixed text values that weren't seeable in dark mode and styling in the ElementList component 2023-04-19 06:01:13 +02:00
Clément Le Bihan
cf1e98f9e6 added createdAt info in user data and added types of elements to render in the list in order to have a more coherent look and a simpler api for the ElementList user 2023-04-19 06:01:13 +02:00
Clément Le Bihan
124f87c199 starting to implemnt GtkUI inspired Element list 2023-04-19 06:01:13 +02:00
Clément Le Bihan
572bb0056d reamed user metrics into user data and added avatar picture and started to implement the user settings page 2023-04-19 06:01:13 +02:00
Clément Le Bihan
fbf85a635e fixed guest creation API front wrapping 2023-04-19 06:01:13 +02:00
Clément Le Bihan
92e439892d fix various style issues and implemented the mechanics to allow guest creation 2023-04-19 06:01:13 +02:00
Clément Le Bihan
93a2141c7c hiding the navigation bar for startpage, added content on the start page (paragraph & website button) 2023-04-19 06:01:13 +02:00
Clément Le Bihan
dc9f74c047 fixed styling and hiding navigation bar on StartPage and login and register button are navigating to login page 2023-04-19 06:01:13 +02:00
Clément Le Bihan
950e4c7767 the start page view layout is finished 2023-04-19 06:01:13 +02:00
Clément Le Bihan
c9c95be60f removed the scale animation of the title due to a lack of anchorpoint support 2023-04-19 06:01:13 +02:00
Clément Le Bihan
d931d00187 added the register button but the button animations/styling needs to be reworked 2023-04-19 06:01:13 +02:00
Clément Le Bihan
a0040c26ca added the first version of BigActionButton 2023-04-19 06:01:13 +02:00
Clément Le Bihan
728bb3d6a2 added guest support in the API and started the StartPageView layout 2023-04-19 06:01:13 +02:00
Arthur Jamet
84f91e0d7f Front: Play View: Get Score 2023-04-16 14:43:09 +01:00
Arthur Jamet
5a42f098d6 Front: Pull Scorometer 2023-04-16 14:33:52 +01:00
GitBluub
0922e6038b fix assign on dict 2023-04-15 22:54:53 +09:00
GitBluub
c45f425a5d use the info object instead of class properties 2023-04-15 22:48:38 +09:00
Arthur Jamet
2accb7dd72 Merge pull request #190 from Chroma-Case/front/typesafe-navigator
Front: Navigation: Use actual routes to build a typed navigator
2023-04-14 14:27:03 +01:00
Arthur Jamet
db5e62c6ab Front: Navigator: Wrap components in navigator to avoid having to pass additional props 2023-04-14 12:57:13 +01:00
Arthur Jamet
b0e01ffbed Front: Navigation: Use actual routes to build a typed navigator 2023-04-14 11:46:40 +01:00
Arthur Jamet
9cd6c90188 Merge pull request #189 from Chroma-Case/front/typesafe-store 2023-04-13 18:26:34 +01:00
Arthur Jamet
e108bf2c66 Front: Song Lobby: Add 'practice button' 2023-04-13 15:10:50 +01:00
Arthur Jamet
b43979dd58 Front: Store: Fix typesafety 2023-04-13 14:17:54 +01:00
GitBluub
7b20792a51 info object sent on each request 2023-04-13 11:02:39 +09:00
Arthur Jamet
4f9a3a9333 Front: Home Page: Use History 2023-04-12 11:31:20 +01:00
Amaury
a26efefd01 Feature/adc/#50 users settings route (#89)
* #50 - migration 20221023123919_ + route settings

* #50 - migration 20221023123919_ + route settings

* #50 - settings creation at user creation + update migration

* changed settings acces from by id to userId

* deleting the user results in deleting it's associated userSettings row

* pr fixes + robot tests + other minor fixes

* removed useless comments

* added settings endpoint to /auth/me and automated creation to /register

* clean code before merge
2023-04-12 05:32:41 +03:00
Arthur Jamet
ac4d4f6f66 Front: Models: Update History 2023-04-10 10:20:08 +01:00
Arthur Jamet
2764805c04 Front: Play Page: Fix timer 2023-04-10 10:19:28 +01:00
e43a8fd111 Fix duplicated guests 2023-04-09 10:35:10 +02:00
Arthur Jamet
29414b5392 Front: Format Feedback Messages from Scorometer 2023-04-08 12:01:26 +01:00
Arthur Jamet
ef5a74da3b Front: Pull Scorometer 2023-04-08 11:34:45 +01:00
GitBluub
39bb7ced04 send a response on a note on and a note off with separation of duration and timing 2023-04-08 01:26:24 +09:00
Clément Le Bihan
6cc7090360 translated Settings categories names and added icons 2023-04-05 16:33:24 +02:00
Clément Le Bihan
9dfc2881a2 added partyPlayed into the user metrics model and added a dummy profile setting view page 2023-04-05 16:33:24 +02:00
Clément Le Bihan
4e26925113 moved and reformat with tab SettingsView and updated view s with amaury's forms 2023-04-05 16:33:24 +02:00
Clément Le Bihan
46f4ac82a8 Set a dynamic hight for TabRowNavigator 2023-04-05 16:33:24 +02:00
Clément Le Bihan
77a230c944 Added an internal initial view to handle homepage for settings 2023-04-05 16:33:24 +02:00
Clément Le Bihan
fd8b4c59de responsive mecamic is working great but styling still need to be done 2023-04-05 16:33:24 +02:00
Clément Le Bihan
e4d998b0ff added overflow support when there's a lot of options 2023-04-05 16:33:24 +02:00
Clément Le Bihan
7722eba86f TabRowNavigator is now quite usable and almost pleasing to look at 2023-04-05 16:33:24 +02:00
Clément Le Bihan
5ada22d267 added support for icons in front of the names 2023-04-05 16:33:24 +02:00
Clément Le Bihan
8d665175fd started to colorise the layout 2023-04-05 16:33:24 +02:00
Clément Le Bihan
8eb524cc81 v1 of TabRowNavigator 2023-04-05 16:33:24 +02:00
Clément Le Bihan
8728707b28 updated API.ts handling code to update email and password 2023-04-05 16:33:24 +02:00
Clément Le Bihan
1e667813ad fixed: a translation, missing import and updated navigation to actually be on the new settings page 2023-04-05 16:33:24 +02:00
Clément Le Bihan
aa8782a5de fixed merge translations 2023-04-05 16:33:24 +02:00
danis
ac4012087c password check 2023-04-05 16:33:24 +02:00
danis
6cca70a290 removed console.log + better reject message 2023-04-05 16:33:24 +02:00
danis
0fd64bfba0 clean code 2023-04-05 16:33:24 +02:00
danis
1fa43555df 94 - functionnal screens 2023-04-05 16:33:24 +02:00
danis
47629e3938 94 - API methods GET/POST 2023-04-05 16:33:24 +02:00
Chloé CHAUVIN
8abf3e339a [ADD] call the email changing form component 2023-04-05 16:33:24 +02:00
Chloé CHAUVIN
9297a28d7a [ADD] new translations relative to the password modification 2023-04-05 16:33:24 +02:00
Chloé CHAUVIN
44411454b2 [WIP] finished the aesthetic but not functionnal 2023-04-05 16:33:24 +02:00
Chloé CHAUVIN
88dea2784c [ADD] new translations relative to the password modification 2023-04-05 16:33:24 +02:00
Chloé CHAUVIN
6e6dff526b [WIP] finished the aesthetic but not functionnal 2023-04-05 16:33:24 +02:00
Chloé CHAUVIN
185f415e8d [UPD] separated some windows and added the form to change the password 2023-04-05 16:33:24 +02:00
danis
ec4ee5b94a handlers 2023-04-05 16:33:24 +02:00
Arthur Jamet
0e2d2cf51c Merge branch 'main' of github.com:Chroma-Case/Chromacase into front/play-page-connection 2023-04-05 11:14:27 +01:00
Zoe Roux
fb5e313f6f Fix duplicated history (#182) 2023-04-05 15:30:48 +09:00
GitBluub
f1f7500b44 fix: messages in separate file 2023-04-03 01:58:06 +09:00
Arthur Jamet
08494936af Front: Play Page: Use new Scorometer API 2023-04-02 16:11:02 +01:00
Arthur Jamet
e3ba076870 Merge branch 'main' of github.com:Chroma-Case/Chromacase into front/play-page-connection 2023-04-02 15:44:23 +01:00
GitBluub
5ac118efbd format 2023-04-02 23:21:07 +09:00
GitBluub
7882deab0b fix: send better error 2023-04-02 23:21:07 +09:00
GitBluub
58ac90d68d updating tests output for the score 2023-04-02 23:21:07 +09:00
GitBluub
9bb5139f76 changing how to handle message and tests 2023-04-02 23:21:07 +09:00
GitBluub
31771f18ff wip: validated dataclasses and input 2023-04-02 23:21:07 +09:00
GitBluub
a3191eda3c ci 2023-04-02 23:21:07 +09:00
GitBluub
5f34fc4310 ci 2023-04-02 23:21:07 +09:00
GitBluub
86337d4525 ci 2023-04-02 23:21:07 +09:00
GitBluub
a4299aadb9 scorometer shebang bahs 2023-04-02 23:21:07 +09:00
GitBluub
aa0c7d9621 scorometer test CI 2023-04-02 23:21:07 +09:00
GitBluub
73695e2580 logs are sent to stderr 2023-04-02 23:21:07 +09:00
GitBluub
e8f1a34372 every note missed at the end diminish score and test 2023-04-02 23:21:07 +09:00
GitBluub
a7dc6a76e9 hold not enough test 2023-04-02 23:21:07 +09:00
GitBluub
d051d36406 hold too long test 2023-04-02 23:21:07 +09:00
GitBluub
31e46904a8 random miss test 2023-04-02 23:21:07 +09:00
GitBluub
e79fad1208 fix: runner exit code 2023-04-02 23:21:07 +09:00
GitBluub
faf12839bc invalid song test 2023-04-02 23:21:07 +09:00
GitBluub
bebea61036 early and late test 2023-04-02 23:21:07 +09:00
GitBluub
38aa680b82 almost perfect play test 2023-04-02 23:21:07 +09:00
GitBluub
9910f51c2a oops 2023-04-02 23:21:07 +09:00
GitBluub
9d74673cff oops 2023-04-02 23:21:07 +09:00
GitBluub
b9513ad154 oops 2023-04-02 23:21:07 +09:00
GitBluub
7cb01a3cba feat: runner of tests 2023-04-02 23:21:07 +09:00
GitBluub
3a32fcf559 fix: Exception was not json serializable 2023-04-02 23:21:07 +09:00
GitBluub
445b949fa8 format 2023-04-02 23:12:32 +09:00
GitBluub
437d5c7b5c fix: send better error 2023-04-02 23:11:54 +09:00
GitBluub
e7b9accb50 updating tests output for the score 2023-04-02 23:10:15 +09:00
GitBluub
09fd62706b changing how to handle message and tests 2023-04-02 23:10:15 +09:00
GitBluub
b2e11b013c wip: validated dataclasses and input 2023-04-02 23:10:15 +09:00
GitBluub
057726617b ci 2023-04-02 23:10:15 +09:00
GitBluub
b333ec676a ci 2023-04-02 23:10:15 +09:00
GitBluub
9db8e84086 ci 2023-04-02 23:10:15 +09:00
GitBluub
8a741b920b scorometer shebang bahs 2023-04-02 23:10:15 +09:00
GitBluub
702d9bcaef scorometer test CI 2023-04-02 23:10:15 +09:00
GitBluub
165ef44c77 logs are sent to stderr 2023-04-02 23:10:15 +09:00
GitBluub
9edccf1fb4 every note missed at the end diminish score and test 2023-04-02 23:10:15 +09:00
GitBluub
12120fb25a hold not enough test 2023-04-02 23:10:14 +09:00
GitBluub
f60172b160 hold too long test 2023-04-02 23:10:14 +09:00
GitBluub
3da5d927cf random miss test 2023-04-02 23:10:14 +09:00
GitBluub
1b947a580a fix: runner exit code 2023-04-02 23:10:14 +09:00
GitBluub
34c7205cfe invalid song test 2023-04-02 23:10:14 +09:00
GitBluub
c1f8ab51b0 early and late test 2023-04-02 23:10:14 +09:00
GitBluub
da9570da65 almost perfect play test 2023-04-02 23:10:14 +09:00
GitBluub
dad54f81f2 oops 2023-04-02 23:10:14 +09:00
GitBluub
db926a2747 oops 2023-04-02 23:10:14 +09:00
GitBluub
7aec52ee43 oops 2023-04-02 23:10:14 +09:00
GitBluub
71f7dae657 feat: runner of tests 2023-04-02 23:10:14 +09:00
GitBluub
f8bb6ed1c0 fix: Exception was not json serializable 2023-04-02 23:10:14 +09:00
Arthur Jamet
81ac9b91ef Front: Play Page: Timer: Use miliseconds 2023-04-01 13:13:17 +01:00
Arthur Jamet
870489a220 Front: Play Page: Fix connection and message format w/ scorometer 2023-04-01 12:44:01 +01:00
Clément Le Bihan
b8811a7ff7 added env vars into all docker composes (dev & prod) 2023-03-29 18:57:29 +02:00
Clément Le Bihan
8784e8de3c Added support for env vars in nginx.conf.template and fixed websocket proxy 2023-03-29 18:57:29 +02:00
Clément Le Bihan
e9f6adab63 cleanup before merge 2023-03-29 18:55:06 +02:00
Clément Le Bihan
b6feab715b Updated VirtualPiano Iconbutton props to new version 2023-03-29 18:55:06 +02:00
Clément Le Bihan
ed8be27b11 removed trailing line 2023-03-29 18:55:06 +02:00
Clément Le Bihan
64b1355712 implemented first version of the virtual piano inside the play bar 2023-03-29 18:55:06 +02:00
Clément Le Bihan
c29740dc2e fixed a bug in strToKey function where the octaveNumber isn't parsed and filtering correctly highlighted notes to the correct octave (default broadcasted to every octave) 2023-03-29 18:55:06 +02:00
Clément Le Bihan
d094c81418 fixed strToKey issue when discarding the accidental part of the string 2023-03-29 18:55:06 +02:00
Clément Le Bihan
885c819ab5 removed accidental as it's own type and integrated it with note type 2023-03-29 18:55:06 +02:00
Clément Le Bihan
c3d2e0a4e5 updating the showNoteNames policy down to PianoKey 2023-03-29 18:55:06 +02:00
Clément Le Bihan
aa72f34a6c fixed issue with keyToStr function 2023-03-29 18:55:06 +02:00
Clément Le Bihan
efede253dc pretty big changes: added highlighted keys refactored Octave component to use a PianoKeyComponent and updated TS types to enums 2023-03-29 18:55:06 +02:00
Clément Le Bihan
a9cd0f16ae added support for showOctaveNumber property 2023-03-29 18:55:06 +02:00
Clément Le Bihan
6a10ad2398 reworked the octave css layout to get rid of the Zindex added support for showNoteNames policy and added an onhover policy 2023-03-29 18:55:06 +02:00
Clément Le Bihan
f43561460d Added hover and clik effects 2023-03-29 18:55:06 +02:00
Clément Le Bihan
eb100e843b Now displaying Notes correctly on the keys fixed map key issue and positionned correctly black keys using hard coded sizes 2023-03-29 18:55:06 +02:00
Clément Le Bihan
cc364cfe7a revert PianoKey to Note for start and endNote and now start for blackkeys support 2023-03-29 18:55:06 +02:00
Clément Le Bihan
319295d2e5 moved models and utils variables/types into models/Piano.ts to fix recursive include and now handling Notes with PianoKey type 2023-03-29 18:55:06 +02:00
Clément Le Bihan
7bf8f32805 added the foundation for the virtualPiano 2023-03-29 18:55:06 +02:00
Arthur Jamet
7e463662be Front: Wrap IconButton 2023-03-25 22:38:51 +01:00
f788872f9b Fix tests and cleanup api responses 2023-03-24 19:01:34 +09:00
a9574cb75a Make the number of party played increment 2023-03-24 19:01:34 +09:00
f24e43a392 Add robot tests 2023-03-24 19:01:34 +09:00
a0bf718e1d Add guest profiles 2023-03-24 19:01:34 +09:00
Arthur Jamet
cf3c9b8c86 Front: Score View: Responsivity 2023-03-23 19:17:58 +01:00
Arthur Jamet
89d39812a6 Score Page: Fix Color Of 'back' Button 2023-03-23 19:17:58 +01:00
Arthur Jamet
b5584a12d0 Play Page: Fix Dark Theme responsivity 2023-03-23 19:17:58 +01:00
Arthur Jamet
3ca2bdaa90 Song Card: Rework Layout for responsivity 2023-03-23 19:17:58 +01:00
Arthur Jamet
d5b15cee13 Front: Responsive Home Page: Fix items dimensions 2023-03-23 19:17:58 +01:00
Arthur Jamet
8a332ede38 Front: Home Page: Basic Responsive Layout 2023-03-23 19:17:58 +01:00
Arthur Jamet
2bed2e1c64 Front/use search api (#167) 2023-03-08 16:29:30 +00:00
401 changed files with 33062 additions and 42439 deletions

View File

@@ -8,6 +8,6 @@ insert_final_newline = true
indent_style = tab
indent_size = tab
[{*.yaml,*.yml}]
[{*.yaml,*.yml,*.nix}]
indent_style = space
indent_size = 2

View File

@@ -1,7 +1,17 @@
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_NAME=
POSTGRES_HOST=
DATABASE_URL=
JWT_SECRET=
API_URL=
POSTGRES_USER=user
POSTGRES_PASSWORD=eip
POSTGRES_NAME=chromacase
POSTGRES_HOST=db
DATABASE_URL=postgresql://user:eip@db:5432/chromacase
JWT_SECRET=wow
POSTGRES_DB=chromacase
API_URL=http://localhost:80/api
SCORO_URL=ws://localhost:6543
MINIO_ROOT_PASSWORD=12345678
GOOGLE_CLIENT_ID=toto
GOOGLE_SECRET=tata
GOOGLE_CALLBACK_URL=http://localhost:19006/logged/google
SMTP_TRANSPORT=smtps://toto:tata@relay
MAIL_AUTHOR='"Chromacase" <chromacase@octohub.app>'
IGNORE_MAILS=true

5
.envrc
View File

@@ -1,4 +1 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
fi
use flake
use nix

View File

@@ -1,15 +0,0 @@
> Why do I have a folder named ".expo" in my project?
The ".expo" folder is created when an Expo project is started using "expo start" command.
> What do the files contain?
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
- "packager-info.json": contains port numbers and process PIDs that are used to serve the application to the mobile device/simulator.
- "settings.json": contains the server configuration that is used to serve the application manifest.
> Should I commit the ".expo" folder?
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.

View File

@@ -1,8 +0,0 @@
{
"hostType": "lan",
"lanType": "ip",
"dev": true,
"minify": false,
"urlRandomness": null,
"https": false
}

View File

@@ -43,6 +43,13 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Type Check
run: yarn tsc
- name: Check Prettier
run: yarn pretty:check .
- name: Run Linter
run: yarn lint
- name: 🏗 Setup Expo
uses: expo/expo-github-action@v7
with:
@@ -52,7 +59,7 @@ jobs:
- name: Build Android APK
run: |
eas build -p android --profile debug --local --non-interactive
eas build -p android --profile production --local --non-interactive
mv *.apk chromacase.apk
- name: Upload Artifact
@@ -77,16 +84,7 @@ jobs:
fetch-depth: 0
- name: Copy env file to github secret env file
run: |
touch .env
echo "POSTGRES_USER=user" >> .env
echo "POSTGRES_PASSWORD=eip" >> .env
echo "POSTGRES_NAME=chromacase" >> .env
echo "POSTGRES_HOST=db" >> .env
echo "DATABASE_URL=postgresql://user:eip@db:5432/chromacase" >> .env
echo "JWT_SECRET=wow" >> .env
echo "POSTGRES_DB=chromacase" >> .env
echo "API_URL=http://localhost:80/api" >> .env
run: cp .env.example .env
- name: Start the service
run: docker-compose up -d back db
@@ -94,7 +92,13 @@ jobs:
- name: Perform healthchecks
run: |
docker-compose ps -a
wget --retry-connrefused http://localhost:3000 # /healthcheck
docker-compose logs
wget --retry-connrefused http://localhost:3000 || (docker-compose logs && exit 1)
- name: Run scorometer tests
run: |
pip install -r scorometer/requirements.txt
cd scorometer/tests && ./runner.sh
- name: Run robot tests
run: |
@@ -106,7 +110,7 @@ jobs:
name: results
path: out
- name: Write results to Pull Request and Summarry
- name: Write results to Pull Request and Summary
if: always() && github.event_name == 'pull_request'
uses: joonvena/robotframework-reporter-action@v2.1
with:
@@ -114,7 +118,7 @@ jobs:
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
only_summary: false
- name: Write results to Summarry
- name: Write results to Summary
if: always() && github.event_name != 'pull_request'
uses: joonvena/robotframework-reporter-action@v2.1
with:

6
.gitignore vendored
View File

@@ -11,4 +11,8 @@ report.html
log.html
.expo
node_modules/
./front/coverage
./front/coverage
.venv
.data
.DS_Store
_gen

9
README.md Normal file
View File

@@ -0,0 +1,9 @@
# ![Chromacase](./assets/graphical/title.png)
La principale raison pour laquelle on arrête de jouer d'un instrument est la perte de motivation. C'est un apprentissage long et vraiment demandant. ChromaCase propose d'accompagner les joueurs de piano grâce à une application mobile avec une expérience personnalisée. Celle-ci, générée par une IA, cible les goûts et identifie les difficultés du joueur.
Ça vous interesse? Rendez-vous sur notre [site](https://chromacase.studio/) pour prendre contact
## Structure du Projet
![Schéma Fonctionnel](./assets/docs/structure.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
assets/docs/structure.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
assets/graphical/title.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 KiB

BIN
assets/graphical/title.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

View File

@@ -1,10 +1,10 @@
[Metadata]
Name=Chopin - Nocturne Op 9 No 2 (E Flat Major)
Artist=Frédéric Chopin
Name=Bach: Minuet in G Minor (BWV Anh. 115)
Artist=Christian Petzold
Genre=Classical
Album=e
Album=
[Difficulties]
TwoHands=0
Rhythm=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

View File

@@ -1,10 +1,10 @@
[Metadata]
Name=Prelude I in C major, BWV 846 - Well Tempered Clavier [First Book]
Name=Bach: Polonaise in g Minor (BWV Anh. 119)
Artist=Johann Sebastian Bach
Genre=Classical
Album=e
Album=
[Difficulties]
TwoHands=0
Rhythm=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

View File

@@ -1,10 +1,10 @@
[Metadata]
Name=Rachmaninoff - Rhapsody on a theme of Paganini, Variation 18, Solo Piano
Artist=Sergei Rachmaninoff
Name=Beethoven Symphony 7 2nd Movement (Allegretto) Simple Piano arrangement
Artist=Ludwig Van Beethoven
Genre=Classical
Album=e
Album=
[Difficulties]
TwoHands=0
Rhythm=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

View File

@@ -1,10 +1,10 @@
[Metadata]
Name=Vivaldi's Spring from the Four Seasons, Piano Transcription
Artist=Antonio Vivaldi
Name=Canon in D (easy)
Artist=Johann Pachelbel
Genre=Classical
Album=e
Album=
[Difficulties]
TwoHands=0
Rhythm=0

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=El pequeño tamborilero (The little drummer boy)
Artist=Misc Christmas
Genre=Soundtrack
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Erik Satie - Gnossienne No.1. {Professional production score.}
Artist=Erik Satie
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=French National Anthem "La Marseillaise"
Artist=Misc Tunes
Genre=Solo
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=German National Anthem " Das Lied der Deutschen"
Artist=Joseph Haydn
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Jesus Alegria dos Homens
Artist=Johann Sebastian Bach
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Liebestraum (easy)
Artist=Franz Liszt
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Mary, Did You Know?
Artist=Misc Christmas
Genre=Soundtrack
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Sarabande - William Gillock
Artist=William Gillock
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Short
Artist=Test
Genre=Abstract
Album=Trololol
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Silent Night
Artist=Franz Xaver Gruber
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Tango La Cumparsita - Piano Solo (Tutorial Parte B)
Artist=Gerardo Matos Rodríguez
Genre=Classical
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@@ -0,0 +1,21 @@
[Metadata]
Name=Twinkle Twinkle Little Star
Artist=Misc Children
Genre=Soundtrack
Album=
[Difficulties]
TwoHands=0
Rhythm=0
NoteCombo=0
Arpeggio=0
Distance=0
LeftHand=0
RightHand=0
LeadHandChange=0
ChordComplexity=0
ChordTiming=0
Length=0
PedalPoint=0
Precision=0

Some files were not shown because too many files have changed in this diff Show More