529 Commits

Author SHA1 Message Date
Clément Le Bihan
0db8d49618 nothing important 2024-01-04 15:30:05 +01:00
Clément Le Bihan
4923fc72b2 reactènative-sounds 2023-12-31 17:59:56 +01:00
Arthur Jamet
60a73781bd Front: Lint + format 2023-12-29 18:13:40 +01:00
Arthur Jamet
4e3b378d6a Front: Lint + format 2023-12-29 18:13:40 +01:00
Clément Le Bihan
2bf1e783a9 removed unused var 2023-12-29 18:13:40 +01:00
Clément Le Bihan
375d36f6c5 Fixed google logo for mobile 2023-12-29 18:13:40 +01:00
Clément Le Bihan
495380ec43 Fix CI 2023-12-29 18:13:40 +01:00
Clément Le Bihan
af0531bb0c Fixed the like button and now desactivated the click on card to go to song and changed default display for score from '?' to '-' 2023-12-29 18:13:40 +01:00
Arthur Jamet
c5124fa6ad Front: MusicView: Fix Wrong Mutation 2023-12-29 18:13:40 +01:00
Arthur Jamet
962cf58e77 Front: DiscoveryView: USe Like status 2023-12-29 18:13:40 +01:00
Arthur Jamet
60988dd599 Front: Use Mutations to update 'liked' state 2023-12-29 18:13:40 +01:00
Arthur Jamet
004a541302 Front: Lint + format 2023-12-28 12:07:35 +01:00
Arthur Jamet
f4cd9e18ea Front: Explain how to DL the APK 2023-12-28 12:07:35 +01:00
Arthur Jamet
2dc301addf Front: add Button to Download APK From Web 2023-12-28 12:07:35 +01:00
Arthur Jamet
e85a959c26 Front: remove Visible IDs 2023-12-22 17:37:21 +01:00
Arthur Jamet
339e808d27 Front: SettingsView: Fox ordering of tabs 2023-12-21 17:17:47 +01:00
Arthur Jamet
22d1a97abd Front: SettingsView: Fox ordering of tabs 2023-12-21 17:17:47 +01:00
Arthur Jamet
ce4baa61dc Front: serve Google logo ourselves 2023-12-21 17:17:47 +01:00
Arthur Jamet
e90c7f05a8 Front: Remove use of external images for placeholders 2023-12-21 17:17:47 +01:00
Arthur Jamet
fb0e43af88 Front: Prettier 2023-12-21 17:17:47 +01:00
Arthur Jamet
4577997b1c Front :add spanish translations 2023-12-21 17:17:47 +01:00
Arthur Jamet
9bb256f2ee front: add missing translation components 2023-12-21 17:17:47 +01:00
Arthur Jamet
d3994ff26e Front: First Pass on translations + remove unused setting tabs 2023-12-21 17:17:47 +01:00
Clément Le Bihan
00d097f643 Fixes prettier 2023-12-20 12:01:55 +01:00
Arthur Jamet
99da77f23e Front: Fix cirular dependecy between validators 2023-12-20 12:01:55 +01:00
Arthur Jamet
7a6dc8b0c9 Front: Use history include to get best/last score for a song 2023-12-20 12:01:55 +01:00
Clément Le Bihan
b4f04f9b71 Fixed number of lignes on DiscoveryCard 2023-12-19 17:06:30 +01:00
Arthur Jamet
9df0c98100 Front: DiscoveryView: Remove Dummy Data 2023-12-19 15:03:18 +01:00
Bluub
a47f8744f8 Fixing ci :)
* wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* ci wip

* meili env var in example dotenv
2023-12-08 12:31:44 +01:00
80329e240e Format back 2023-12-07 17:11:34 +01:00
70b109e78b Allow songs to be searched and filtered by genres 2023-12-07 17:11:34 +01:00
a6a96d6a1e Implement search controler 2023-12-07 17:11:34 +01:00
cc4b69ca50 Add meilisearch 2023-12-07 17:11:34 +01:00
Clément Le Bihan
e733c6acc8 Merge pull request #336 from Chroma-Case/feat/adc/search-view-v2
implémentation de la search bar V2
2023-12-07 16:55:19 +01:00
Clément Le Bihan
afa6f421d3 Merge remote-tracking branch 'origin/main' into feat/adc/search-view-v2 2023-12-07 16:53:35 +01:00
Clément Le Bihan
7d7f886661 Fixed CI and good to merge 2023-12-07 16:52:35 +01:00
Clément Le Bihan
fd22b8afe5 Fixes of HIGH quality 2023-12-07 16:06:24 +01:00
danis
1c1596b44a fix(searchBarV2): mobile view adapted 2023-12-06 21:13:02 +01:00
danis
9b05dc3ae3 fix(searchBarV2): fix hidden scrollView when artist is selected 2023-12-06 20:31:08 +01:00
danis
d717269563 fix(searchBarV2): translation search bar placeholder 2023-12-06 20:08:47 +01:00
danis
cba8815cfc fix(searchBarV2): translations and genre none selection 2023-12-06 20:01:49 +01:00
Clément Le Bihan
647f7b2676 fixed CI 2023-12-06 16:00:49 +01:00
Clément Le Bihan
ef4f2355bf INput fixed styling 2023-12-06 15:57:37 +01:00
Clément Le Bihan
24a226b283 Adapted the layout and changed TextInput to Input from native base to support the theme 2023-12-06 15:42:15 +01:00
Clément Le Bihan
81717ec5b1 Renamed getGenres and getArtists to getAllGenres and getAllArtists and removed HomeNew from navigation 2023-12-06 15:03:32 +01:00
Clément Le Bihan
f9cb289eff Removed duplicate from bad merge (front) 2023-12-06 14:59:38 +01:00
Clément Le Bihan
022490ae10 removed duplicata from bad merge 2023-12-06 14:58:28 +01:00
Clément Le Bihan
ca4818c070 Merge remote-tracking branch 'origin/main' into feat/adc/search-view-v2 2023-12-06 14:52:44 +01:00
Clément Le Bihan
fe8e9cb262 Merge pull request #335 from Chroma-Case/front/redesign-score
Front: Score Modal
2023-12-05 16:24:43 +01:00
Clément Le Bihan
9683d83298 Fixed dev compose 2023-12-05 16:23:52 +01:00
Clément Le Bihan
69d9a4c499 CI fixes 2023-12-05 16:18:05 +01:00
7678776872 Readd song history's song 2023-12-05 15:00:18 +01:00
Clément Le Bihan
f590b573fb Fixed validator for songhistory 2023-12-05 12:26:52 +01:00
Clément Le Bihan
2c9ec4a7d3 added missing useAssets in Scaffold and did duplicate suppresion for play history 2023-12-05 11:24:15 +01:00
Arthur Jamet
393782b4b8 Front: Fix state management at end of play 2023-12-05 10:38:57 +01:00
Arthur Jamet
c33e1bbaa3 Front: Merge 2023-12-05 08:42:28 +01:00
GitBluub
63a9271617 fix: dotenv for scoro 2023-12-05 00:02:06 +01:00
GitBluub
6469d4763a fix: dotenv for scoro 2023-12-05 00:02:06 +01:00
Clément Le Bihan
922e36093e Merge remote-tracking branch 'origin/main' into feat/adc/search-view-v2 2023-12-04 23:48:14 +01:00
Clément Le Bihan
81976206f9 Merge branch 'main' into feat/adc/search-view-v2 2023-12-04 23:43:08 +01:00
Amaury
4ac6369deb Leaderboard View (#332)
* LeaderboardView init

* back scores handling

* blah

* add score controller

* commit score on end of play

* front and back fix

* podium component

* push the button

* ill be baaack

* flex css thing

* pretty

* migration leaderboard

* feat(leaderboard): wip

* feat(leaderboard): pretty

* feat(leaderboard): i might be dumb

* fix(leaderboard): misuse of nullable() for totalScore User validator
2023-12-04 23:37:06 +01:00
Clément Le Bihan
dc0c7fa4e7 removed the console.log that was polluting the log 2023-12-04 23:16:20 +01:00
GitBluub
61ebf58631 fix: public routes 2023-12-04 23:16:20 +01:00
Clément Le Bihan
1d61b1e652 eslint 2023-12-04 23:16:20 +01:00
Clément Le Bihan
d0f9c4a032 Fixed louis's PR 2023-12-04 23:16:20 +01:00
GitBluub
27119056a4 fix: env var for scoro 2023-12-04 23:16:20 +01:00
GitBluub
044dd59d8f fix: env var for scoro 2023-12-04 23:16:20 +01:00
GitBluub
e5ab9b9310 fix: env var for scoro 2023-12-04 23:16:20 +01:00
GitBluub
f11cddf55a fix: env var for scoro test 2023-12-04 23:16:20 +01:00
GitBluub
f076bf9794 fix: example dotenv for ci 2023-12-04 23:16:20 +01:00
GitBluub
fe510e148a fix: scoro and populate with apikey 2023-12-04 23:16:20 +01:00
GitBluub
0a84c9daac fix: robot tests with apikey 2023-12-04 23:16:20 +01:00
GitBluub
f496ae5bc1 Added imports and headers for jwt and apikey strategies 2023-12-04 23:16:20 +01:00
GitBluub
1379cbd3f6 feat: apikey strategy 2023-12-04 23:16:20 +01:00
GitBluub
ab221bd393 fix: scoro test maybe 2023-12-04 23:16:20 +01:00
GitBluub
e5fb1dfb7e fix: scoro test maybe 2023-12-04 23:16:20 +01:00
GitBluub
c113b70fee fix: scoro test maybe 2023-12-04 23:16:20 +01:00
GitBluub
d2a8f9a1ef fix: scoro test maybe 2023-12-04 23:16:20 +01:00
GitBluub
ee56a53b40 fix: populate script 2023-12-04 23:16:20 +01:00
ece93f79b2 Add a git blame ignore revs file for prettier 2023-12-04 13:28:58 +01:00
14e241db37 Format code with prettier 2023-12-04 13:28:07 +01:00
3becdcff46 Fix types 2023-12-04 13:28:07 +01:00
c0bc611268 Use includes on liked, music, score, search and fav pages 2023-12-04 13:28:07 +01:00
eff5eae706 Handle includes in the home page 2023-12-04 13:28:07 +01:00
59a48ad060 Handle includes in the front for the hisory 2023-12-04 13:28:07 +01:00
Arthur Jamet
d3f7eded41 Front: Merge 2023-12-04 09:58:28 +01:00
Arthur Jamet
bbf3a317ec Front: Score: Better iterations 2023-12-02 08:37:49 +01:00
Arthur Jamet
c6365113c4 Front: Prettier 2023-12-02 08:20:08 +01:00
Arthur Jamet
454835338f Front: Fix some mistakes 2023-12-02 08:18:12 +01:00
Clément Le Bihan
3f0c2472cb explcit any are now warning and fixed other ci problems in zoe's code 2023-12-01 16:46:58 +01:00
a36afa3a47 Fix input validation 2023-12-01 16:46:58 +01:00
9bce8d74c9 Fix tab index of interactive base 2023-12-01 16:46:58 +01:00
Clément Le Bihan
e5acd56b0f Removed andoid folder for eslint and type script and fixed apostrophes 2023-12-01 16:24:19 +01:00
Clément Le Bihan
685e79d76b Changed to the original React native midi lib and added some packages to build the app 2023-12-01 15:49:20 +01:00
danis
183dee193c pretty, lint, type check 2023-12-01 15:22:45 +01:00
danis
7167b49edc Merge branch 'feature/adc/#243-leaderboard' into feat/adc/search-view-v2 2023-12-01 15:03:26 +01:00
danis
8b465731f0 fix(leaderboard): lint removal + rows userAvatar wrong property induced by previous type any 2023-12-01 14:28:21 +01:00
danis
0e26dbfc65 fix(leaderboard): type check + headerShown set to false 2023-12-01 14:14:52 +01:00
danis
347c075ab1 fix(leaderboard): misuse of nullable() for totalScore User validator 2023-12-01 14:05:02 +01:00
danis
01829c7b8b feat(searchView): wip 2023-12-01 14:00:41 +01:00
danis
e148f9edb8 feat(searchBar): artist row list chip selection + genre dropdown select 2023-12-01 13:58:34 +01:00
danis
8a00b99f9a feat(searchBar): wip 2023-11-30 21:34:05 +01:00
Arthur Jamet
4d16723e38 Front: Score Button: Better redirect 2023-11-30 17:55:08 +01:00
Clément Le Bihan
683984efe9 Cleanup CI and added check for error in scoro messages 2023-11-30 15:34:58 +01:00
Clément Le Bihan
6018028afd Fixed API baseurl for nightly front and mobiles and fixed wrong start message to the scorometer 2023-11-30 15:34:58 +01:00
Clément Le Bihan
eac21844c4 Moved PopupCC in the dom and Removed react context in hopes to get better perf 2023-11-30 15:34:58 +01:00
Clément Le Bihan
0cb8dd2693 Added state for metronome and fixed onEndReached for mobile 2023-11-30 15:34:58 +01:00
Clément Le Bihan
a4a10eb7f2 Removed shadow elevation since we don't really see a change and its not working on mobile 2023-11-30 15:34:58 +01:00
Clément Le Bihan
ff4926fa80 Moved the Loading display to partition Magic to better display svg loading 2023-11-30 15:34:58 +01:00
Clément Le Bihan
dd581a8418 Added a tricked light theme for mobile 2023-11-30 15:34:58 +01:00
Clément Le Bihan
5f0d7dda59 Fix popup layout on mobile 2023-11-30 15:34:58 +01:00
Clément Le Bihan
dfdbbdc51c Fixed the /api usage in web prod 2023-11-30 15:34:58 +01:00
Arthur Jamet
72f17c018e Front: Score Modal 2023-11-30 14:24:48 +01:00
danis
397dfbcf5f Merge branch 'main' into feat/adc/search-view-v2 2023-11-30 13:41:27 +01:00
danis
df682327d6 feat(leaderboard): i might be dumb 2023-11-30 13:34:20 +01:00
danis
46d5614e4c Merge branch 'main' into feature/adc/#243-leaderboard 2023-11-30 11:56:19 +01:00
danis
7e1f03af57 feat(leaderboard): pretty 2023-11-30 11:49:39 +01:00
danis
b54032fe63 feat(leaderboard): wip 2023-11-30 10:51:18 +01:00
Clément Le Bihan
b417076ee6 CI compliance 2023-11-28 23:12:45 +01:00
Clément Le Bihan
95da2cc500 lint fix 2023-11-28 23:12:45 +01:00
Clément Le Bihan
84ea0b3743 Fix tsc 2023-11-28 23:12:45 +01:00
Clément Le Bihan
00433ee7ba Some fixes for API log error 2023-11-28 23:12:45 +01:00
Clément Le Bihan
7f282e2ec5 tried to desactivate SSR without success and fixed chromacase logo in scaffold auth 2023-11-28 23:12:45 +01:00
Clément Le Bihan
3b89387b12 Fixes, cleanup from first PR reread 2023-11-28 23:12:45 +01:00
Clément Le Bihan
3b24cefd3f Removed the header on the play page 2023-11-28 23:12:45 +01:00
Clément Le Bihan
4de420e4dc work on PlayView is almost done everything works fine the gameplay makes the mobile crash but it will be fixed later 2023-11-28 23:12:45 +01:00
Clément Le Bihan
36041369db now using dims from cursor file info to set correct ratios for the partition display independantly of the front end platform 2023-11-28 23:12:45 +01:00
Clément Le Bihan
b33ff55167 Succesfully displayed a partition with correct size 2023-11-28 23:12:45 +01:00
Clément Le Bihan
e8e6012bf2 updated react native svg 2023-11-28 23:12:45 +01:00
Clément Le Bihan
92169bf485 Removed every pointer event bounding-box due to no support with react native 2023-11-28 23:12:45 +01:00
Clément Le Bihan
9f57e8ac67 Working on first support of svg on mobiles but seems quite complicated 2023-11-28 23:12:45 +01:00
Clément Le Bihan
262353376c Reduced padding on mobile 2023-11-28 23:12:45 +01:00
Clément Le Bihan
fd50b2268b Cleanup of the control bar code in the PLayview 2023-11-28 23:12:45 +01:00
Clément Le Bihan
6839cda5b8 Moved control bar into it's own component and fixed itslayout on mobile 2023-11-28 23:12:45 +01:00
Clément Le Bihan
d2aca488ad Minor bugfixes for Desktop css compliance 2023-11-28 23:12:45 +01:00
Clément Le Bihan
1fe7491bcd Added scrollview for SettingsProfile 2023-11-28 23:12:45 +01:00
Clément Le Bihan
6a8fe074e0 Removed Scrollview from ScaffoldMobile and now each view implement its scroll 2023-11-28 23:12:45 +01:00
Clément Le Bihan
624b640e01 Added a phone size for SongCardInfo fixed flex layout to display SongCardInfo in DiscoveryView and added first scrollview 2023-11-28 23:12:45 +01:00
Clément Le Bihan
ce4e09f1f6 Additional CSS for goldenratiocards 2023-11-28 23:12:45 +01:00
Clément Le Bihan
c085e9aa22 Tried to make work the golden ratio on phone but failed (it's better tho) 2023-11-28 23:12:45 +01:00
Clément Le Bihan
dc491983f5 Separated GoldenRatio comp from Discovery view 2023-11-28 23:12:45 +01:00
Clément Le Bihan
a0587fbad6 Fixed flex layout for ProfileView on mobile 2023-11-28 23:12:45 +01:00
Clément Le Bihan
702caed232 Added must wondition for APIBase Url for dev modes 2023-11-28 23:12:45 +01:00
Clément Le Bihan
cb65e08465 Redid the implementation of the icon in the TextFieldBase to work on mobile 2023-11-28 23:12:45 +01:00
Clément Le Bihan
c1e862e6bd Fixed ScaffoldAuth layout on mobile 2023-11-28 23:12:45 +01:00
Clément Le Bihan
533dc0e7ad Fixed css for mobile android 2023-11-28 23:12:45 +01:00
Clément Le Bihan
ecac53516e init branch 2023-11-28 23:12:45 +01:00
Arthur Jamet
9133a369d5 Front: Play piano sounds natively (#326)
* Fixed cache misimplementation and reinstalled canvas package with correct node version (17) works on prod docker compose but not on dev so :)

* Fixed type definition of SongCursorInfos fixed 'race conditions' in asset generation service removed hard coded cursor infos fixed tsc looking to build folders

* Front: Basic Load of piano sounds

* Front: Use store for piano notes

* WIP

* Front: Native Sound playing

* Front: fix type

* Front: Play all notes under cursor

* Docker: Force running backend on amd64

* Front: Rebase, and add native metronome sound

* Front: Metronome: Use icons from iconsax

* Poof, it typechecks

* Front: add missing ref

* Now callback is called with the first note

* Front: Fix Native build w/ requires

* Front: Try bumping rn version

* Front: CI: Attempt to make things work

* Front: Pretty

* Front: Make sounds sound better

---------

Co-authored-by: Clément Le Bihan <clement.lebihan773@gmail.com>
2023-11-28 18:16:17 +01:00
Clément Le Bihan
4c580f1693 Update generateImages_browserless.js
Added real dims inside cursor file
2023-11-27 22:54:58 +01:00
Clément Le Bihan
732f8e2577 Update generateImages_browserless.js 2023-11-27 17:58:51 +01:00
Clément Le Bihan
4b3ec157c2 Update CI.yml
Special commit that will be reverted after Louis decides to work
2023-11-22 13:12:19 +01:00
Arthur Jamet
58de04924e Merge pull request #329 from Chroma-Case/front/lobby-v2
Front: New (Pseudo) Lobby
2023-11-20 07:40:35 +01:00
Arthur Jamet
66048ca793 Front: Prettier 2023-11-19 16:27:40 +01:00
Arthur Jamet
b0b5579cb3 Front: Play Page: Add correct info in top-right coard 2023-11-19 11:52:26 +01:00
Arthur Jamet
005cc7410f Front: PlayView: Fix wrong theming of text color 2023-11-19 09:48:34 +01:00
Arthur Jamet
a4c2c4932d Front: Add popup on playview to select mode 2023-11-19 09:34:19 +01:00
Arthur Jamet
617d31cb22 Front: Remove Old Lobby Page 2023-11-19 09:13:22 +01:00
Clément Le Bihan
384fb10f54 Prettier and linter stuff 2023-11-18 23:29:22 +01:00
Clément Le Bihan
72c615ffed cleanup 2023-11-18 23:29:22 +01:00
Clément Le Bihan
ce2da1d859 Added louis's back modif and set public routes for cover and svg illustration 2023-11-18 23:29:22 +01:00
Clément Le Bihan
9d6beb74c0 Prrited 2023-11-18 23:29:22 +01:00
Clément Le Bihan
1f25521900 Removed unused code and dependancies (moti, opensheetmusicdisplay, phaser) 2023-11-18 23:29:22 +01:00
Clément Le Bihan
f5c0d6967b Removed pianomsgs 2023-11-18 23:29:22 +01:00
Clément Le Bihan
c5e5519426 Fixed metronome not repecting control 2023-11-18 23:29:22 +01:00
Clément Le Bihan
4c98759ded Put the score on asolute on top of partition 2023-11-18 23:29:22 +01:00
Clément Le Bihan
c910b0e617 Move metronome into the control bar and implemented a better handling for screen shrinking 2023-11-18 23:29:22 +01:00
Clément Le Bihan
94218558a7 removing readonly 2023-11-18 23:29:22 +01:00
Clément Le Bihan
f1662ca18b Fixed type definition of SongCursorInfos fixed 'race conditions' in asset generation service removed hard coded cursor infos fixed tsc looking to build folders 2023-11-18 23:29:22 +01:00
Clément Le Bihan
4a5658c4ca Fixed cache misimplementation and reinstalled canvas package with correct node version (17) works on prod docker compose but not on dev so :) 2023-11-18 23:29:22 +01:00
Clément Le Bihan
61ed8855ea Fixed some bugs and added Playinfocard in top right corner of playview 2023-11-18 23:29:22 +01:00
Clément Le Bihan
94838ef1fc Implemented starProgress the new layout for playview 2023-11-18 23:29:22 +01:00
Clément Le Bihan
3ce69228a8 Tested with short and worked 1st try added dynamic Image dimensions detection and now calling onEndreached on last cursorposition 2023-11-18 23:29:22 +01:00
Clément Le Bihan
c522258d04 Added some animations/transition time and move back to a static position cursor 2023-11-18 23:29:22 +01:00
Clément Le Bihan
f91ab4c430 Added first works on the V2 of the partitionview 2023-11-18 23:29:22 +01:00
Arthur Jamet
57cba61d1b Merge pull request #325 from Chroma-Case/design
Design
2023-11-17 13:58:27 +01:00
mathysPaul
3fbcb23089 [FIX] Reviwed comments on the RP 2023-11-17 13:32:35 +01:00
mathysPaul
9b0c633a87 [FIX] Reviwed comments on the RP 2023-11-17 13:22:54 +01:00
mathysPaul
c91bbfd2f1 [FIX] Reviwed comments on the RP 2023-11-17 13:19:39 +01:00
mathysPaul
9882fd240e [FIX] fix some type errors 2023-11-17 10:37:14 +01:00
mathysPaul
ea6073eb71 [REM] fit-content removed 2023-11-17 10:18:29 +01:00
mathysPaul
22722082eb [FIX] Reviwed comments on the RP 2023-11-17 00:28:22 +01:00
mathysPaul
36316b0333 [FIX] Reviwed comments on the RP 2023-11-17 00:23:28 +01:00
danis
a814eec2cf a little bit of this a little bit of that 2023-11-15 19:00:44 +01:00
danis
4c96f78a46 search bar 2023-11-14 21:07:25 +01:00
mathysPaul
cc65a3bd09 [REF] InteractiveBase refactoring logic 2023-11-14 12:29:00 +01:00
mathysPaul
5f9e9f5327 [REF] InteractiveBase refactoring logic 2023-11-14 00:46:01 +01:00
danis
b1d54d8665 migration leaderboard 2023-11-13 21:43:43 +01:00
mathysPaul
d01aabe788 [IMP] linter & prettier 2023-11-13 14:34:14 +01:00
mathysPaul
19d64c1bc5 [IMP] Color theme & MusicList optional property 2023-11-13 14:30:10 +01:00
mathysPaul
ee98e6e352 [FEAT] MusicList component:
Implemented MusicList for displaying music items with optimized rendering and dynamic loading (code with comment).
2023-11-13 02:15:39 +01:00
mathysPaul
bf52e7385b [FEAT] MusicList component:
Implemented MusicList for displaying music items with optimized rendering and dynamic loading.
2023-11-12 23:39:27 +01:00
mathysPaul
2d6fd3a3dc . 2023-11-07 20:26:22 +01:00
mathysPaul
4bb5a11fff [INIT] MusicList component: start (push to dev in another computer) 2023-11-03 18:11:43 +01:00
mathysPaul
d4a758d262 [FIX]:
- Prettier
- Linter
2023-11-02 21:53:21 +01:00
mathysPaul
9397de8cb9 [Merge] 2023-11-02 21:23:23 +01:00
mathysPaul
d2e1ba51c6 [ADD] LibCC ChromaCase:
- IconButton and MusicItem creation and documentation
- Update native base theme
2023-11-02 21:14:38 +01:00
Arthur Jamet
ebed646c07 Front: type-check navigator + lint and pretty 2023-10-28 08:25:23 +02:00
Arthur Jamet
7067fb9708 Front: Pretty 2023-10-28 08:09:21 +02:00
mathysPaul
e499bb2f9f [ADD] SettingsView: translation, Menu: collapsed mode && translation 2023-10-28 00:47:27 +02:00
mathysPaul
b87ec1dd44 [FIX] SettingsView: setting up the translation system for settings 2023-10-27 23:00:03 +02:00
mathysPaul
77f0c2f06f [add]: LinkBase && PopupCC, starting theme management (light and dark) and translation 2023-10-27 20:50:05 +02:00
danis
4c1891fb44 pretty 2023-10-27 13:48:22 +02:00
danis
b3dade1a38 flex css thing 2023-10-27 13:07:32 +02:00
danis
be2617e1ee ill be baaack 2023-10-27 11:45:23 +02:00
danis
35e1268f36 push the button 2023-10-25 10:11:10 +02:00
danis
a8a3ed0e7b Merge branch 'main' into feature/adc/#243-leaderboard 2023-10-20 11:32:54 +02:00
danis
0eef957a90 podium component 2023-10-20 11:32:22 +02:00
mathysPaul
6a8ca7d0fa [Purge profile view]: Remove skills filters and add filter by music 2023-10-15 21:09:56 +02:00
mathysPaul
ddd29f5530 merge main to design 2023-10-15 10:59:25 +02:00
mathysPaul
b6e8b20168 fix focusable field and pop-up style 2023-10-15 09:22:38 +02:00
bfb6cf5958 Disable jwt auth for images routes 2023-10-12 13:34:56 +02:00
a92ca75760 Fix dev nginx 2023-10-12 12:47:48 +02:00
8d8323e382 Cleanup inports 2023-10-12 12:47:48 +02:00
76d7e69d19 Add includable fields for all ressources 2023-10-12 12:47:48 +02:00
be58e932a9 Run prettier 2023-10-12 12:47:48 +02:00
38bbe56e9b Add robot tests 2023-10-12 12:47:48 +02:00
a65ce6595a Add a generic include system and implement it for songs 2023-10-12 12:47:48 +02:00
danis
96c43bcbad Merge branch 'main' into feature/adc/#243-leaderboard 2023-10-12 11:03:22 +02:00
danis
ab1ad17d21 front and back fix 2023-10-12 11:02:53 +02:00
Arthur Jamet
90f7890e5f Update README (#314)
* Update README

* README: Fixes cause me dumb
2023-10-09 16:46:35 +02:00
danis
5c85296810 Merge branch 'main' into feature/adc/#243-leaderboard 2023-10-08 21:54:42 +02:00
danis
06bfc181c7 commit score on end of play 2023-10-08 21:53:58 +02:00
danis
0473665bb4 add score controller 2023-10-08 20:54:45 +02:00
mathysPaul
f610de3045 Restore guest mode 2023-10-08 19:47:03 +02:00
Arthur Jamet
911e174aef Front: Update splashscreen (#312) 2023-10-08 06:56:16 +02:00
Arthur Jamet
6d7f46c425 Merge pull request #308 from Chroma-Case/front/fix-oops 2023-10-05 12:09:56 +02:00
Arthur Jamet
b72e7a54e5 Front: Fix Oops page 2023-10-05 10:25:51 +02:00
Arthur Jamet
d99d134382 Front: Fix Web Build + Improve CI (#302)
Co-authored-by: Clément Le Bihan <clement.lebihan773@gmail.com>
2023-10-03 14:56:09 +02:00
Arthur Jamet
576675411a Merge pull request #292 from Chroma-Case/front/fix-expo 2023-10-02 18:01:43 +02:00
Arthur Jamet
d214558bc4 Front: Remove unused import 2023-10-02 17:06:02 +02:00
Arthur Jamet
4299a93afe Front: Fix env var 2023-10-02 16:56:46 +02:00
Arthur Jamet
920126a392 Front: Set Env Vars 2023-10-02 14:09:17 +02:00
Arthur Jamet
16e6a5e21b Front: Fix Icon dimensions 2023-10-01 11:40:55 +02:00
Arthur Jamet
9539018b64 .env.example: add new env var 2023-10-01 11:22:06 +02:00
Arthur Jamet
0081eb2acd Front: EAS: Fix project slug 2023-10-01 11:21:20 +02:00
Arthur Jamet
bcb0825f5a Front: remove duplicate deps 2023-09-30 14:28:29 +02:00
Arthur Jamet
18a3fa518c Front: Add missing dependency 2023-09-30 14:07:14 +02:00
Arthur Jamet
0407f5c29e Front: Add missing dependency 2023-09-30 12:07:53 +02:00
Arthur Jamet
6dafe2a8e9 Front: try a custom fork 2023-09-30 11:52:10 +02:00
Arthur Jamet
4a8f0aa1af Front: Add missing eslint deps 2023-09-30 11:17:43 +02:00
Arthur Jamet
745b20358d Front: Add eslint in dev deps 2023-09-30 11:14:04 +02:00
Arthur Jamet
0f544b31f3 Front: Add prettier in dev deps 2023-09-30 11:08:56 +02:00
Arthur Jamet
76d70f3edd Front: Typecheck 2023-09-30 11:05:08 +02:00
Arthur Jamet
1c17ac8b13 Front: Fix missing dependencies 2023-09-30 10:45:23 +02:00
Arthur Jamet
232579e75b Front: Add Dependencies 2023-09-30 10:23:02 +02:00
Arthur Jamet
01221eda00 Front: Add dependencies 2023-09-29 18:34:46 +02:00
Arthur Jamet
b73c2fef58 Front: Add dependencies 2023-09-29 18:17:55 +02:00
Arthur Jamet
3c9c1b5ff7 Front: Add dependencies 2023-09-29 18:00:11 +02:00
Arthur Jamet
e50b1c1344 Front: Install Dev client 2023-09-29 16:03:50 +02:00
Arthur Jamet
6dfc531891 Front: Install Jest 2023-09-29 15:53:20 +02:00
Arthur Jamet
b4f268dee0 Front: Redump Expo 2023-09-29 15:47:16 +02:00
mathysPaul
1228eb603e [add] Scaffold for mobile & desktop 2023-09-27 17:31:09 +02:00
mathysPaul
3ca17338e8 [add] Scaffold redesign 2023-09-27 13:30:24 +02:00
mathysPaul
614ce105bd Merge branch 'main' of github.com:Chroma-Case/Chromacase into design 2023-09-26 15:34:06 +02:00
Arthur Jamet
e366fa4b32 Merge pull request #282 from Chroma-Case/feature/adc/retour-utilisateur
Feature/adc/retour utilisateur
2023-09-26 07:31:19 +02:00
Arthur Jamet
cd87451208 Front: Typechecking 2023-09-25 17:55:46 +02:00
danis
845c473ed5 removed useless function 2023-09-25 17:17:05 +02:00
danis
f4d75eef73 css whatever + pretty 2023-09-25 14:51:20 +02:00
danis
5395bbb03a Duration component 2023-09-25 14:24:08 +02:00
danis
a0ca945c72 blah 2023-09-25 13:31:49 +02:00
danis
291d7698d4 back scores handling 2023-09-22 22:44:50 +02:00
danis
e8956c50ee LeaderboardView init 2023-09-22 22:44:05 +02:00
danis
2d90c6eec1 pretty 2023-09-22 15:50:26 +02:00
danis
0b0fd0585d added DurationInfo 2023-09-22 15:49:12 +02:00
danis
6cf72dfcca Merge branch 'main' into feature/adc/retour-utilisateur 2023-09-22 15:11:33 +02:00
danis
a81c0b83bb song length SongRow 2023-09-22 15:08:28 +02:00
danis
b2fb497ecf populate.py updated with midi length 2023-09-22 14:53:36 +02:00
mathysPaul
450fe1e7bd CheckboxBase update design: color selectable 2023-09-21 23:39:27 +02:00
mathysPaul
fbf4dfcfa5 Merge branch 'main' of github.com:Chroma-Case/Chromacase into design 2023-09-21 23:11:53 +02:00
mathysPaul
d251929ede design init 2023-09-21 23:10:44 +02:00
445816dfad Fix log error for images 2023-09-21 17:03:18 +02: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
604 changed files with 31212 additions and 57441 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

@@ -7,4 +7,18 @@ JWT_SECRET=wow
POSTGRES_DB=chromacase
API_URL=http://localhost:80/api
SCORO_URL=ws://localhost:6543
MINIO_ROOT_PASSWORD=12345678
EXPO_PUBLIC_API_URL=http://localhost:80/api
EXPO_PUBLIC_SCORO_URL=ws://localhost:6543
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
API_KEYS=SCOROTEST,ROBOTO,SCORO
API_KEY_SCORO_TEST=SCOROTEST
API_KEY_ROBOT=ROBOTO
API_KEY_SCORO=SCORO
MEILI_MASTER_KEY="ghvjkgisbgkbgskegblfqbgjkebbhgwkjfb"
# vi: ft=sh

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

1
.git-blame-ignore-revs Normal file
View File

@@ -0,0 +1 @@
14e241db37c4080bc0bd87363cf7a57ef8379f46

View File

@@ -1,144 +1,18 @@
name: CI
name: Deploy
on:
pull_request:
types:
- closed
branches:
- main
push:
branches:
- '*'
pull_request:
branches: [ main ]
- main
jobs:
## Build Back ##
Build_Back:
deployment:
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: ./back
environment: Staging
steps:
- uses: actions/checkout@v3
- name: Build Docker
run: docker build -t testback .
## Build App ##
Build_Front:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./front
environment: Staging
steps:
- uses: actions/checkout@v3
- name: Install Yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn install
- name: 🏗 Setup Expo
uses: expo/expo-github-action@v7
with:
expo-version: latest
eas-version: 3.3.1
token: ${{ secrets.EXPO_TOKEN }}
- name: Build Android APK
run: |
eas build -p android --profile debug --local --non-interactive
mv *.apk chromacase.apk
- name: Upload Artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
with:
name: chromacase.apk
path: front/
## Test Backend ##
Test_Back:
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [ Build_Back ]
environment: Staging
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
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
- name: Start the service
run: docker-compose up -d back db
- name: Perform healthchecks
run: |
docker-compose ps -a
wget --retry-connrefused http://localhost:3000 # /healthcheck
- name: Run scorometer tests
run: |
pip install -r scorometer/requirements.txt
cd scorometer/tests && ./runner.sh
- name: Run robot tests
run: |
pip install -r back/test/robot/requirements.txt
robot -d out back/test/robot/
- uses: actions/upload-artifact@v3
if: always()
with:
name: results
path: out
- name: Write results to Pull Request and Summary
if: always() && github.event_name == 'pull_request'
uses: joonvena/robotframework-reporter-action@v2.1
with:
report_path: out/
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
only_summary: false
- name: Write results to Summary
if: always() && github.event_name != 'pull_request'
uses: joonvena/robotframework-reporter-action@v2.1
with:
report_path: out/
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
only_summary: true
- name: Remove .env && stop the service
run: docker-compose down && rm .env
## Test App ##
## Deployement ##
Deployement_Docker:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: [ Test_Back ]
environment: Production
if: github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v2
@@ -183,6 +57,7 @@ jobs:
build-args: |
API_URL=${{secrets.API_URL}}
SCORO_URL=${{secrets.SCORO_URL}}
- name: Docker meta scorometer
id: meta_scorometer
uses: docker/metadata-action@v4

98
.github/workflows/back.yml vendored Normal file
View File

@@ -0,0 +1,98 @@
name: "Back"
on:
pull_request:
branches: [ main ]
jobs:
changes:
runs-on: ubuntu-latest
# Required permissions
permissions:
pull-requests: read
# Set job outputs to values from filter step
outputs:
backend: ${{ steps.filter.outputs.backend }}
frontend: ${{ steps.filter.outputs.frontend }}
scoro: ${{ steps.filter.outputs.scoro }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
backend:
- 'backend/**'
frontend:
- 'frontend/**'
scoro:
- 'scorometer/**'
back_build:
runs-on: ubuntu-latest
timeout-minutes: 10
needs: changes
if: ${{ needs.changes.outputs.backend == 'true' }}
defaults:
run:
working-directory: ./back
steps:
- uses: actions/checkout@v3
- name: Build Docker
run: docker build -t testback .
back_test:
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [ back_build ]
if: ${{ needs.changes.outputs.frontend == 'true' }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Copy env file to github secret env file
run: cp .env.example .env
- name: Build and start the service
run: docker-compose up -d meilisearch back db
- name: Perform healthchecks
run: |
docker-compose ps -a
docker-compose logs
wget --retry-connrefused http://localhost:3000 || (docker-compose logs && exit 1)
- name: Run robot tests
run: |
export API_KEY_ROBOT=ROBOTO
pip install -r back/test/robot/requirements.txt
robot -d out back/test/robot/
- uses: actions/upload-artifact@v3
if: always()
with:
name: results
path: out
- name: Write results to Pull Request and Summary
if: always() && github.event_name == 'pull_request'
uses: joonvena/robotframework-reporter-action@v2.1
with:
report_path: out/
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
only_summary: false
- name: Write results to Summary
if: always() && github.event_name != 'pull_request'
uses: joonvena/robotframework-reporter-action@v2.1
with:
report_path: out/
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
only_summary: true
- name: stop the service
run: docker-compose down

95
.github/workflows/front.yml vendored Normal file
View File

@@ -0,0 +1,95 @@
name: "Front"
on:
pull_request:
branches: [ main ]
jobs:
changes:
runs-on: ubuntu-latest
# Required permissions
permissions:
pull-requests: read
# Set job outputs to values from filter step
outputs:
backend: ${{ steps.filter.outputs.backend }}
frontend: ${{ steps.filter.outputs.frontend }}
scoro: ${{ steps.filter.outputs.scoro }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
backend:
- 'backend/**'
frontend:
- 'frontend/**'
scoro:
- 'scorometer/**'
front_check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./front
needs: changes
if: ${{ needs.changes.outputs.frontend == 'true' }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
cache-dependency-path: front/yarn.lock
- run: yarn install --frozen-lockfile
- name: type check
run: yarn tsc
- name: prettier
run: yarn pretty:check .
- name: eslint
run: yarn lint
front_build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./front
if: ${{ needs.changes.outputs.frontend == 'true' }}
needs: [ front_check ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
cache-dependency-path: front/yarn.lock
- run: yarn install --frozen-lockfile
- name: 🏗 Setup Expo
uses: expo/expo-github-action@v8
with:
expo-version: latest
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Build Web App
uses: docker/build-push-action@v3
with:
context: ./front
push: false
tags: ${{steps.meta_front.outputs.tags}}
build-args: |
API_URL=${{secrets.API_URL}}
SCORO_URL=${{secrets.SCORO_URL}}
- name: Build Android APK
run: |
eas build -p android --profile production --local --non-interactive
mv *.apk chromacase.apk
- name: Upload Artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
with:
name: chromacase.apk
path: front/

60
.github/workflows/scoro.yml vendored Normal file
View File

@@ -0,0 +1,60 @@
name: "Scoro"
on:
pull_request:
branches: [ main ]
jobs:
changes:
runs-on: ubuntu-latest
# Required permissions
permissions:
pull-requests: read
# Set job outputs to values from filter step
outputs:
backend: ${{ steps.filter.outputs.backend }}
frontend: ${{ steps.filter.outputs.frontend }}
scoro: ${{ steps.filter.outputs.scoro }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
backend:
- 'backend/**'
frontend:
- 'frontend/**'
scoro:
- 'scorometer/**'
scoro_test:
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.scoro == 'true' }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Copy env file to github secret env file
run: cp .env.example .env
- name: Build and start the service
run: docker-compose up -d meilisearch back db
- name: Perform healthchecks
run: |
docker-compose ps -a
docker-compose logs
wget --retry-connrefused http://localhost:3000 || (docker-compose logs && exit 1)
- name: Run scorometer tests
run: |
export API_KEY_SCORO_TEST=SCOROTEST
export API_KEY_SCORO=SCORO
pip install -r scorometer/requirements.txt
cd scorometer/tests && ./runner.sh
- name: stop the service
run: docker-compose down

4
.gitignore vendored
View File

@@ -13,3 +13,7 @@ log.html
node_modules/
./front/coverage
.venv
.data
.DS_Store
_gen
venv

39
README.md Normal file
View File

@@ -0,0 +1,39 @@
# ![Chromacase](./assets/graphical/banner.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](http://eip.epitech.eu/2024/chromacase) pour prendre contact
## Comment lancer le projet
Pensez à remplir un `.env` (à la racine du projet), en se basant sur le `.env.example`.
### Development
```bash
docker-compose -f docker-compose.dev.yml up --build
```
### Production
```bash
docker-compose up --build
```
## Liens Utiles
- Site de Production: [Lien](http://chroma.octohub.app/)
- Site du Nightly: [Lien](http://nightly.chroma.octohub.app/)
- Site vitrine: [Lien](http://eip.epitech.eu/2024/chromacase)
- Documentation: [Github](https://github.com/Chroma-Case/DAteX)
## Membres du Projet
| Nom | Role | Contact |
|--------------------------|--------------------------------------|----------------------------------------------------|
| Zoé Roux | CEO, Responsable Back-end | [GitHub](https://github.com/zoriya) |
| Clément Le-Bihan | CTO, Responsable Front-end | [GitHub](https://github.com/Octopus773) |
| Arthur Jamet | Manager, Développeur Front-end | [GitHub](https://github.com/Arthi-chaud) |
| Louis Auzuret | Développeur Back-end, Responsable CI | [Github](https://github.com/GitBluub) |
| Aumaury Danis-Cousandier | Développeur Front-end | [Github](https://github.com/AmauryDanisCousandier) |
| Mathys Paul | Développeur Front-end, Designer | [GitHub](https://github.com/mathysPaul) |

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/banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 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.

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

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

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