Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.0.0 #2

Open
wants to merge 443 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
443 commits
Select commit Hold shift + click to select a range
78ae7b5
:sparkles: Connected add/remove condition and effects to graphql
Okazari Feb 3, 2018
169d15f
:poop: Oops
Okazari Feb 3, 2018
9e64f8a
:sparkles: Transitions conditions and effects are now editables !
Okazari Feb 6, 2018
5aaa126
:sparkles: Edit & link new pages in transitions is now working... :po…
Okazari Feb 7, 2018
5cd1eba
:sparkles: added publish and unpublish mutation
Okazari Feb 7, 2018
35b2adc
:construction: WIP
Okazari Feb 8, 2018
feefa50
:poop: Windows don't like volumes
Okazari Feb 10, 2018
d8d15e1
:recycle: Refactored GraphQL helpers
Okazari Feb 10, 2018
6b45891
:recycle: Added an author ressource + reworked publish & unpublish me…
Okazari Feb 10, 2018
1da352a
:construction: Saved book mock for game interface dev
Okazari Feb 10, 2018
c548df7
:construction: WIP - Need to rework page structure & design
Okazari Feb 10, 2018
ecfdb89
:sparkles: Profil view
Okazari Feb 10, 2018
8e1083a
:sparkles: Game view (#42)
Okazari Jun 15, 2018
b515e1d
:bug: wrong export in index.js for Password.
RQMplays Jun 18, 2018
96e5d5e
:bug: add bookID to TrialViewContainer Query so apollo cache will nor…
RQMplays Jun 20, 2018
e9b0e33
:construction: add Redux state and populate it
RQMplays Jun 21, 2018
6757e27
:recycle::construction: connect Game/GamePage/GameTransition to work …
RQMplays Jun 22, 2018
e6a2f77
:recycle::construction: connect DisplayObjects to Redux
RQMplays Jun 22, 2018
534b7ca
:recycle::construction: connect DisplayStats to Redux
RQMplays Jun 22, 2018
93e6f9e
:construction: WIP condition resolver on stats conditions in GameTran…
RQMplays Jun 22, 2018
3d71f34
:construction: GameTransition evaluate object and stat condition and…
RQMplays Jun 25, 2018
3944890
:construction::bug: fix AND/OR update and EffectServices equal
RQMplays Jun 25, 2018
f4a0b64
:construction: TransitionEffect apply on ReduxGameState
RQMplays Jun 25, 2018
da1210c
🚧 now apply effects from the destination page
RQMplays Jun 26, 2018
ce4342c
🐛 fix pb when transition.toPage is null in mapStateToProps for GameTr…
RQMplays Jun 26, 2018
15fb2b2
♻️ create GameService and move checkTransitionVisibility and ChangePa…
RQMplays Jun 27, 2018
9068cdf
♻️ refactor effects concat in the Redux HOC of GameTransition
RQMplays Jun 27, 2018
3f71c7e
🚧 WIP plugging the game Mutation on Library/News Books
RQMplays Jun 28, 2018
052362f
:construction: WIP plugging da game createGame, getGame comp
RQMplays Jun 28, 2018
f8d3dfa
✨ onBookClick create a Game, redirect to GameView, get the Game, and …
RQMplays Jun 29, 2018
5e2d63e
🐛 fix wrong mongoose schema in GameSchema
RQMplays Jun 29, 2018
67bdd7e
💄 fix showdown display
RQMplays Jun 29, 2018
374df80
👌 change getGame to game
RQMplays Jul 5, 2018
b0e0e15
👌 externalize game object creation in generateGame func
RQMplays Jul 5, 2018
040042a
👌 rename BookContainer to PlayableBook
RQMplays Jul 5, 2018
634dba4
👌 remove eslint disable in LibraryContainer.js
RQMplays Jul 5, 2018
24593e2
👌 unused compose removed
RQMplays Jul 5, 2018
f351b1b
👌 delete old hoverTransition code
RQMplays Jul 5, 2018
9be2be1
🔥 remove GameContainer.js
RQMplays Jul 5, 2018
5ab43f4
👌 now throw Error and catching them in the ReduxContainer
RQMplays Jul 5, 2018
211317c
💄 add styling on Errors throwed
RQMplays Jul 5, 2018
97e66e3
👌 add sumCondition to EffectService and fix GameService accessing dir…
RQMplays Jul 5, 2018
c6b761b
🚧 bad commit
RQMplays Jul 6, 2018
6814797
👌 modify GameService to many more function getting the Game and retur…
RQMplays Jul 6, 2018
96e1656
👌 add sort on DisplayStats
RQMplays Jul 6, 2018
6f644f4
👌 modify redux/actions behavior, not spreading anymore.
RQMplays Jul 6, 2018
1e79a3e
♻️ adding structural wrapper for easier game manipulation and more fu…
RQMplays Jul 9, 2018
8ca306a
♻️ change order of funcs in GameService
RQMplays Jul 9, 2018
b22c756
♻️ move the no destination page error into the GameService
RQMplays Jul 9, 2018
ebff866
♻️ move GameView and TrialView into Views, fix key prop in GameTransi…
RQMplays Jul 9, 2018
32c7a06
🚧 Building the Continue view
RQMplays Jul 9, 2018
7108226
🐛 Fixing mongoose hook for creationDate and lastModificationDate
RQMplays Jul 10, 2018
0930460
🚧 add display of currentPage and last edit Date
RQMplays Jul 10, 2018
499c98c
✨ now listing games, and able to delete them
RQMplays Jul 11, 2018
f864ea0
🎨 fixing all the linter errors/warnings
RQMplays Jul 11, 2018
4bcdfbf
💄 fixing bad flexbox/queries behavior in Chrome, and adding flex-shri…
RQMplays Jul 11, 2018
7279df1
🔥 removing dead css code in News style and Showdown style
RQMplays Jul 11, 2018
8696ca6
✨ saving the game as you play it
RQMplays Jul 11, 2018
7b9dffd
#43 Authentication (connection / disconnection + rights on GQL) Refac…
RQMplays Jul 20, 2018
06eb680
boyboy yarn
Okazari Jul 20, 2018
359f18a
🐛 fix iparseFloat in EffectService
RQMplays Jul 24, 2018
0bfa879
🐛 now destructuring in Stats ( DisplayStats )
RQMplays Jul 24, 2018
e32c82e
💄 fix standard width of info tooltips
RQMplays Jul 24, 2018
7290234
💄 add items info tooltips display
RQMplays Jul 24, 2018
f04b4d0
💄 fix padding in Items
RQMplays Jul 24, 2018
2300107
🔥 delete old playerId in mutation
RQMplays Jul 24, 2018
c0f7ae8
🐛 fix wrong behavior when saved mutation failed in Game comp returnin…
RQMplays Jul 24, 2018
063e080
🔥 removing bad commentaries/ unused
RQMplays Jul 24, 2018
8ca8342
♻️ Create Connected and Disconnected comp in common/Authentication fo…
RQMplays Jul 24, 2018
960b2f9
🎨 move Showdown side to side with BookGrid ;)
RQMplays Jul 24, 2018
103bd41
🔥 remove unused scss
RQMplays Jul 24, 2018
df7b6f2
🎨 modify Layout now using TabContent correctly to use scrollbar only …
RQMplays Jul 24, 2018
79d5253
🗃 Sorting all graphQL resolver to display the last modified books/gam…
RQMplays Jul 24, 2018
70575c6
🗃 add showdown resolver and changes NewsContainer now filtering is ow…
RQMplays Jul 24, 2018
b92f9e5
💄 Switch Toolbar Button color following routes path to know where we …
RQMplays Jul 24, 2018
047e918
🐛 change Password input to type password :)
RQMplays Jul 24, 2018
1c4432d
✨ added Loader
RQMplays Jul 24, 2018
7bb0bcd
💄 loader added in newsContainer
RQMplays Jul 24, 2018
e39ab6e
💄 add loader where TODO: add loader where placed :)
RQMplays Jul 24, 2018
35cb383
💄 change background-size and color for Books
RQMplays Jul 25, 2018
06748aa
💄 change visibility transition for tooltips info
RQMplays Jul 25, 2018
fe9a3b8
♻️ refactor showdown to add a playButton
RQMplays Jul 25, 2018
b691243
💄 change padding and text toUppercase for Button
RQMplays Jul 25, 2018
e7c9e19
♻️ refactor GameTransition and fix linter
RQMplays Jul 25, 2018
56ace7c
📝 update README.md
RQMplays Jul 25, 2018
d2f43d5
Update .travis.yml
RQMplays Jul 26, 2018
a0c794c
Merge pull request #48 from Okazari/MVP_fixes
RQMplays Jul 26, 2018
2e2a5ea
♻️ add redirect and metadata change
RQMplays Jul 26, 2018
387f21a
Merge pull request #50 from Okazari/MVP_fixes
RQMplays Jul 26, 2018
48a866e
💄 change image link for metadata
RQMplays Jul 26, 2018
ad242bb
👌 add location to all views
RQMplays Jul 26, 2018
9205bcd
🔥 rem debounce on password input
RQMplays Jul 26, 2018
e9c4f4b
🍱 add logo.jpg 300px for metadata
RQMplays Jul 26, 2018
0606193
👌 change image in index.html for metadata
RQMplays Jul 26, 2018
6605ef3
Merge pull request #52 from Okazari/FE-49-NavButtonFix
RQMplays Jul 26, 2018
d273f5e
🔥 rem console.log statement in ToolbarLink
RQMplays Jul 27, 2018
b29eda4
🚸 added loader on game and trial creation ;)
RQMplays Jul 27, 2018
12ce96a
⏪ revert bad changes in README.md
RQMplays Jul 27, 2018
6f985c0
Merge pull request #53 from Okazari/FE-49-NavButtonFix
RQMplays Jul 27, 2018
50f3e15
Load fonts over HTTPS to avoid mixed content error
olevitt Jul 27, 2018
489cf9a
Merge pull request #57 from olevitt/olevitt-patch-mixed-content
RQMplays Jul 27, 2018
34ecd4a
🔥 remove GetConnectedUserId() that shouldn't be utilized
RQMplays Jul 30, 2018
5d8b478
🚧 add Connection view for SignIn and SignUp Comp
RQMplays Jul 30, 2018
011d976
🚧 change signin/signup routes to Old version to leave space for new o…
RQMplays Jul 30, 2018
8e1c768
♻️ change signin/signup comps. now using graphQL to set user and tokens
RQMplays Jul 30, 2018
8d1e7dc
🚨 rem linter war from prev commit
RQMplays Jul 30, 2018
3bd6155
♻️ create common Form comp for centralized style behaviour
RQMplays Jul 30, 2018
06c91de
🐛 fix a oversight in AppToolbar when refactoring connection Button ;)
RQMplays Jul 31, 2018
d02b029
♻️ create Message comp for displaying Error and Success message in Forms
RQMplays Jul 31, 2018
3385979
🚸 #68 add a message on redirection and button are now disabled if goi…
RQMplays Jul 31, 2018
ba463af
🔥 clean up some phrasing and some comments :)
RQMplays Jul 31, 2018
1358831
🐛 Fix #54 GameTransitionContainer was returning null on loading state…
RQMplays Jul 31, 2018
17dab51
🚨 fix linter warnings :)
RQMplays Jul 31, 2018
7ec59dd
🚸 add redirect message when trying to play a book when not connected
RQMplays Jul 31, 2018
87b9e31
🐛 rem Soundcloud link cause it aint workin
RQMplays Jul 31, 2018
535dda6
🚸 rem required true on Inputs, cause it is not. and move button befor…
RQMplays Jul 31, 2018
c36d025
🐛 Fix #61 where you could publish a book without a good startingPage …
RQMplays Aug 1, 2018
c2fb9ae
♻️ create AppLayout in common comp for the default App Layout :p
RQMplays Aug 1, 2018
0a46fa2
🚧 Constructing the BookInfo View to display more info on book
RQMplays Aug 2, 2018
d38ab65
🐛 fix scroll bug in GamePage, now forcing scrollToTop if page.id !== …
RQMplays Aug 2, 2018
a975312
🚧 change BookInfo to BookDetails, and started creating comments comp
RQMplays Aug 2, 2018
20e21d1
🚧 responsive layout WIP
RQMplays Aug 2, 2018
1b1fa10
♻️ refactor Toolbar, and Game/TrialToolbar, add responsive behavior a…
RQMplays Aug 3, 2018
d13b687
💚 Add AuthService logout in redirect to delete token and get Forbidde…
RQMplays Aug 6, 2018
abd5eb2
💄 change responsive Behavior of Form comp
RQMplays Aug 6, 2018
c8bd4d1
💄 switch to css grid and add BookWrapper forcing good ratio 3:2 for t…
RQMplays Aug 6, 2018
8fcf769
🐛 Fix wrong behaviour on BookGrid animation with CSSGrid implementation
RQMplays Aug 7, 2018
0e9c454
🚸 change scrolling behaviour on mobile now keeping momentum <3
RQMplays Aug 7, 2018
f6e0ce7
🐛 Fix double tap needed because of hover on mobile device
RQMplays Aug 7, 2018
6823e0b
🐛 fix responsive behavior of Disconnect Button in Profile
RQMplays Aug 7, 2018
01fc470
🚧 WIP creating BookDetails and commentary components
RQMplays Aug 8, 2018
8069836
🚧 add commentary view
RQMplays Aug 8, 2018
c2c096f
💄 set default fontsize to 16px and change showdown style
RQMplays Aug 9, 2018
fea302a
🚸 add quick last game button and has now link to description page for…
RQMplays Aug 9, 2018
bf80cea
🐛 Fix user not authenticated wasn't able to see home because of graph…
RQMplays Aug 9, 2018
dfb85e6
🐛 fix error in Commentary asking for user in token when there is no t…
RQMplays Aug 9, 2018
df91b34
🐛 fix in Showdown, the book was expending in height when the synopsis…
RQMplays Aug 9, 2018
cccf9cc
🚸 when you click on showdown image it now create a game if there isn'…
RQMplays Aug 9, 2018
d14938a
🐛 fix an issues where you have an old token and ...
RQMplays Aug 9, 2018
077ba3c
👌 change form to controlled and will change message behaviour
RQMplays Aug 10, 2018
51d39af
♻️ refactor Message to ErrorMessage and SuccessMessage, Containers no…
RQMplays Aug 20, 2018
2970bbc
Merge pull request #72 from Okazari/FE-58-UndefinedConnection
RQMplays Aug 20, 2018
064a993
🐛 Fix error due to Loader in BookGrid when in prod, cause of babel-tr…
RQMplays Aug 20, 2018
a238738
Merge pull request #73 from Okazari/FE-fix-transform-constants-errors
RQMplays Aug 20, 2018
29d6117
🐛 Fix error displaying in Containers (CommentaryInput and Password)
RQMplays Aug 20, 2018
fe0f9df
Merge pull request #74 from Okazari/FE-Fix-commentary
RQMplays Aug 20, 2018
5b38cca
🎨 separate schema from resolvers and helpers, and switch ressource ad…
RQMplays Aug 20, 2018
e871bfb
💄 move the delete button to the DraftGeneralPage and delete the one o…
RQMplays Aug 21, 2018
c6b5809
💄 move unpublish button to the BookDetails page
RQMplays Aug 21, 2018
3d37d38
💄 move publish button to the DraftGeneral Page
RQMplays Aug 21, 2018
45fb965
🔥 delete publish component
RQMplays Aug 21, 2018
6ed81a3
🐛 add default bookname to Livre sans titre
RQMplays Aug 21, 2018
c1ea119
♻️ refactor publish and delete button to their own comp with their ow…
RQMplays Aug 21, 2018
ae638e8
🐛 Fix Loader changing GameTile size when waiting for delete
RQMplays Aug 22, 2018
00a09a9
💄 tryGame button is now disabled when there is no matching startingPage
RQMplays Aug 22, 2018
1ac8473
🔒 move password secret to an env variable :)
RQMplays Aug 22, 2018
447f87d
🐛 Fix signUp password encryption and token setting problem :)
RQMplays Aug 23, 2018
ae0b51f
🐛 fixing wrong error display in signUp component x)
RQMplays Aug 23, 2018
a36b277
✨ add password recovery by email(edit)
RQMplays Aug 22, 2018
8a83cb3
💄 add success message display when email is sent to user, now passwor…
RQMplays Aug 23, 2018
9aad12a
🎨 indentation in signUp comp :)
RQMplays Aug 23, 2018
73a0b32
🚧 Add panel toggle button in GameToolbar for PanelIsOpen state
RQMplays Aug 24, 2018
b7cab18
🚧 now Panel behave as expected: half content screen on desktop, and f…
RQMplays Aug 24, 2018
71f2f4a
🏗 move mailCredentials to process.env
RQMplays Aug 27, 2018
76d33b8
💄 designed the panel for displaying Stats and objects
RQMplays Aug 27, 2018
b36242c
💄 design stats display in the panel
RQMplays Aug 28, 2018
b0e3190
💄 add same design for items and skills display
RQMplays Aug 28, 2018
361a616
♻️ change actions and reducers and display Stats or Items button to m…
RQMplays Aug 28, 2018
04dfb17
💄 continue designing stats and objects display, change button selecte…
RQMplays Aug 29, 2018
22524a4
💄 now ExitButton in Game'n'TrialViews quit panel first if open
RQMplays Aug 29, 2018
08b4d83
♻️ refactor Game with Panel/Page/TransitionList and css behavior
RQMplays Aug 29, 2018
c8df624
🐛 selected toolbarbutton are now displayed correctly, again :)
RQMplays Aug 29, 2018
255fa34
💄 clear responsive media queries, ajust game triptik (panel/page/tran…
RQMplays Aug 30, 2018
65b3b0f
💄 center everything and add animations
RQMplays Aug 30, 2018
6ecc61a
💄 tweak animations styles
RQMplays Aug 31, 2018
c1725fa
➕ add fontawesome dependencies
RQMplays Aug 31, 2018
60f4afb
💄 replace mock icon with react-fontawesome
RQMplays Aug 31, 2018
3fe5ec3
👌 refactor declarations, better usage of classnames, ajust animation …
RQMplays Sep 3, 2018
c66a4e9
✨ add icon selector in StatRow
RQMplays Sep 3, 2018
7728146
💄 displaying correctly the icons in games
RQMplays Sep 3, 2018
8d92a24
🚨 fix linters!
RQMplays Sep 3, 2018
c8e04cc
💄 refactor IconSelector to his own Comp, and style it using react-sel…
RQMplays Sep 4, 2018
665eb90
🚨 fix linter in IconSelector
RQMplays Sep 4, 2018
b754543
💄 change game flexbox behaviour to space evenly
RQMplays Sep 4, 2018
fc351ff
🔧 Select font awesome icon to add into library at start
RQMplays Sep 4, 2018
3e238fd
💄 add turn page animation
RQMplays Sep 4, 2018
ae87659
💄 change perspective
RQMplays Sep 4, 2018
f0488bb
♻️ refactor Page component to be stateless and manage state with reco…
RQMplays Sep 5, 2018
b850252
Merge branch 'v2.0.0' into FE-75-Switch
RQMplays Sep 5, 2018
1b4b90e
Merge pull request #76 from Okazari/FE-75-Switch
RQMplays Sep 5, 2018
ccc794d
➕ add react-select to dependencies :)
RQMplays Sep 5, 2018
398913d
🔥 no more dev env variables settings by default ! x)
RQMplays Sep 5, 2018
1f7c38f
🙈 add gitignore of .vscode file
RQMplays Sep 6, 2018
a51d659
💬 add lastModificationDate display to Showdown component
RQMplays Sep 6, 2018
c5cd476
🚸 add forbidden comp to display an alert message on mobile and tablet…
RQMplays Sep 6, 2018
333e1ac
💄 add cursor pointer to items and stats display in games
RQMplays Sep 6, 2018
7560999
💄 change button width to look like button everywhere :)
RQMplays Sep 6, 2018
c5db1cb
💄 add input in DraftPages to change quickly title and description w/o…
RQMplays Sep 6, 2018
1c68b08
💄 change style for alertMessage on Redirection
RQMplays Sep 7, 2018
f1ae90c
🔒 add a setToken on fetch response to update with a new token at each…
RQMplays Sep 7, 2018
a67c08a
💄 fix Forbidden alert Message margin
RQMplays Sep 7, 2018
ba26ab4
🐛 fix setToken call in HttpService to be called only when authToken e…
RQMplays Sep 7, 2018
b5124a5
💄 stats and items now use full space on mobile device :)
RQMplays Sep 7, 2018
edea694
🚧 Roulette animation design v0.1, not satisfying :)
RQMplays Sep 11, 2018
c9bc911
🚧 Roulette design working
RQMplays Sep 12, 2018
2c18f32
🚧 rouletteService design with observable logic
RQMplays Sep 13, 2018
50499a2
🐛 Fix can't set Headers after they are sent error in 404 redirection
RQMplays Sep 13, 2018
b27108b
🚧 add rollbutton in transition triggering Roulette
RQMplays Sep 13, 2018
f895552
💄 add RollButton animation
RQMplays Sep 13, 2018
a4e3be2
👌 move the call to RouletteService to RollButton
RQMplays Sep 14, 2018
b157bfc
🚧 move RollRow to WritePage Common file, and add it into Page and Tra…
RQMplays Sep 17, 2018
adb6317
🚧 add active boolean to toggle or not the roll button display
RQMplays Sep 17, 2018
9be768d
💄 add page roll to display in games
RQMplays Sep 17, 2018
6dc5326
🎨 delete a space in the wrong place :)
RQMplays Sep 18, 2018
13850d3
💄 refactor game transition animation to use react-pose, animating dif…
RQMplays Sep 18, 2018
9577bc8
🔥 delete old Panel implementation
RQMplays Sep 18, 2018
8fd27c9
♻️ refactor a .filter.map to a reduce :)
RQMplays Sep 18, 2018
cc67174
♻️ Moved the delete button to his own components, for InputRow(effect…
RQMplays Sep 19, 2018
177cab1
♻️ change models and graphQL Schema so Pages/Transitions now have ro…
RQMplays Sep 19, 2018
dcbfd94
♻️ Create ConditionTable/EffectTable/RollTable, so now pages and tran…
RQMplays Sep 20, 2018
ce87168
♻️ now map on page.rolls to display RollButton(s)
RQMplays Sep 20, 2018
0fa0ba3
♻️ refactor Transition to map on transtion.rolls
RQMplays Sep 20, 2018
d04bd85
🐛 add key to rollButtons map
RQMplays Sep 20, 2018
c060501
💄 change PageGeneral styling, button now have shorter label, and gene…
RQMplays Sep 20, 2018
8c8024a
♻️ create a WideButton comp, move it to common, now all Write buttons…
RQMplays Sep 20, 2018
62df65f
🐛 fix ButtonIcon not passing disabled boolean to Button
RQMplays Sep 20, 2018
0525e5c
🐛 fix a domProps access error :)
RQMplays Sep 24, 2018
3bb2323
💄 now TransitionRow can collapse/extends to show/hide all params
RQMplays Sep 24, 2018
1613627
💄 fix RollRow style and change collapse TransitionRow display
RQMplays Sep 24, 2018
1903d00
💄 add data row animation on Transition, Pages, Items and Stats using …
RQMplays Sep 25, 2018
f7d7213
💄 add row animation on Effect/Condition/Roll Table
RQMplays Sep 25, 2018
310fbdf
🐛 add timeOut on trackscrolling setting back bottomReached, to leave …
RQMplays Sep 25, 2018
9c4ffe4
🐛 add an opened class to set Panel width to 100%, avoid weird margin …
RQMplays Sep 25, 2018
09b1a8d
🐛 fix wrong responsive behaviour for panel
RQMplays Sep 25, 2018
bda0ba8
💄 fix scroll bar popin when animating width of TransitionList to make…
RQMplays Sep 26, 2018
6c10507
♻️ change container mapping rolls directly not the page.
RQMplays Sep 26, 2018
8748f3b
💄 change expanding arrow display for transitionsRow, and add summary …
RQMplays Sep 27, 2018
f29ee32
💄 change the TransitionRow input to a TextArea of 2 lines.
RQMplays Sep 27, 2018
01be97c
💄 change react PoseGroup animation to be less bouncy
RQMplays Sep 27, 2018
0e00d7b
🚑 bypass WriteDraft and WritePage grahQL Container which was causing …
RQMplays Sep 27, 2018
33403a6
🚑 Change animation for the AddRollButton not to be in PoseGroup
RQMplays Sep 27, 2018
866dc95
💄 add jiggle animation to the rollButton
RQMplays Sep 27, 2018
20d4fa4
💄 disable jiggle animation after result as been received.
RQMplays Sep 27, 2018
cb14912
🙈 add .vscode to gitignore
RQMplays Sep 28, 2018
e8145f8
🔥 remove .vscode/launch.json
RQMplays Sep 28, 2018
5db5e06
👌 made all changes precognise by code review :)
RQMplays Sep 28, 2018
87239ff
Merge pull request #77 from Okazari/FE-62-RollingDice
RQMplays Oct 2, 2018
65ba5c3
:arrow_up: Updated dependcies and added a node engine version for cle…
Okazari Nov 13, 2018
804efed
:arrow_up: Upgraded dependencies
Okazari Jan 7, 2019
d984b31
Delete package-lock.json
Okazari Oct 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

206 changes: 206 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
// Inspired by https://github.com/airbnb/javascript but less opinionated.

// We use eslint-loader so even warnings are very visibile.
// This is why we only use "WARNING" level for potential errors,
// and we don't use "ERROR" level at all.

// In the future, we might create a separate list of rules for production.
// It would probably be more strict.

module.exports = {
root: true,
parser: 'babel-eslint',
extends: 'airbnb',
// import plugin is termporarily disabled, scroll below to see why
plugins: [/*'import', */'flowtype', 'jsx-a11y', 'react'],

env: {
browser: true,
commonjs: true,
es6: true,
node: true
},

parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
generators: true,
experimentalObjectRestSpread: true
}
},

settings: {
'import/ignore': [
'node_modules',
'\\.(json|css|jpg|png|gif|eot|svg|ttf|woff|woff2|mp4|webm)$',
],
'import/extensions': ['.js'],
'import/resolver': {
node: {
extensions: ['.js', '.json']
}
}
},

rules: {
// http://eslint.org/docs/rules/
'semi': [2,'never'],
'arrow-body-style': 0,
'array-callback-return': 'warn',
'linebreak-style': 'off',
'default-case': ['warn', { commentPattern: '^no default$' }],
'dot-location': ['warn', 'property'],
'import/no-unresolved': 'off',
'import/no-extraneous-dependencies': 'off',
'import/extensions': 'off',
eqeqeq: ['warn', 'allow-null'],
'guard-for-in': 'warn',
'new-cap': ['warn', { newIsCap: true }],
'new-parens': 'warn',
'no-array-constructor': 'warn',
'no-caller': 'warn',
'no-cond-assign': ['warn', 'always'],
'no-const-assign': 'warn',
'no-control-regex': 'warn',
'no-delete-var': 'warn',
'no-dupe-args': 'warn',
'no-underscore-dangle': 'off',
'no-dupe-class-members': 'warn',
'no-dupe-keys': 'warn',
'no-duplicate-case': 'warn',
'no-empty-character-class': 'warn',
'no-empty-pattern': 'warn',
'no-eval': 'warn',
'no-ex-assign': 'warn',
'no-extend-native': 'warn',
'no-extra-bind': 'warn',
'no-extra-label': 'warn',
'no-fallthrough': 'warn',
'no-func-assign': 'warn',
'no-implied-eval': 'warn',
'no-invalid-regexp': 'warn',
'no-iterator': 'warn',
'no-label-var': 'warn',
'no-labels': ['warn', { allowLoop: false, allowSwitch: false }],
'no-lone-blocks': 'warn',
'no-loop-func': 'warn',
'no-mixed-operators': ['warn', {
groups: [
['&', '|', '^', '~', '<<', '>>', '>>>'],
['==', '!=', '===', '!==', '>', '>=', '<', '<='],
['&&', '||'],
['in', 'instanceof']
],
allowSamePrecedence: false
}],
'no-multi-str': 'warn',
'no-native-reassign': 'warn',
'no-negated-in-lhs': 'warn',
'no-new-func': 'warn',
'no-new-object': 'warn',
'no-new-symbol': 'warn',
'no-new-wrappers': 'warn',
'no-obj-calls': 'warn',
'no-octal': 'warn',
'no-octal-escape': 'warn',
'no-param-reassign': ['warn', { props: false }],
'no-redeclare': 'warn',
'no-regex-spaces': 'warn',
'no-restricted-syntax': [
'warn',
'LabeledStatement',
'WithStatement',
],
'no-return-assign': 'warn',
'no-script-url': 'warn',
'no-self-assign': 'warn',
'no-self-compare': 'warn',
'no-sequences': 'warn',
'no-shadow-restricted-names': 'warn',
'no-sparse-arrays': 'warn',
'no-this-before-super': 'warn',
'no-throw-literal': 'warn',
'no-undef': 'warn',
'no-unexpected-multiline': 'warn',
'no-unreachable': 'warn',
'no-unused-expressions': 'warn',
'no-unused-labels': 'warn',
'no-unused-vars': ['warn', { vars: 'local', args: 'none' }],
'no-use-before-define': ['warn', 'nofunc'],
'no-useless-computed-key': 'warn',
'no-useless-concat': 'warn',
'no-useless-constructor': 'warn',
'no-useless-escape': 'warn',
'no-useless-rename': ['warn', {
ignoreDestructuring: false,
ignoreImport: false,
ignoreExport: false,
}],
'no-with': 'warn',
'no-whitespace-before-property': 'warn',
'operator-assignment': ['warn', 'always'],
radix: 'warn',
'require-yield': 'warn',
'rest-spread-spacing': ['warn', 'never'],
strict: ['warn', 'never'],
'unicode-bom': ['warn', 'never'],
'use-isnan': 'warn',
'valid-typeof': 'warn',

// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/

// TODO: import rules are temporarily disabled because they don't play well
// with how eslint-loader only checks the file you change. So if module A
// imports module B, and B is missing a default export, the linter will
// record this as an issue in module A. Now if you fix module B, the linter
// will not be aware that it needs to re-lint A as well, so the error
// will stay until the next restart, which is really confusing.

// This is probably fixable with a patch to eslint-loader.
// When file A is saved, we want to invalidate all files that import it
// *and* that currently have lint errors. This should fix the problem.

// 'import/default': 'warn',
// 'import/export': 'warn',
// 'import/named': 'warn',
// 'import/namespace': 'warn',
// 'import/no-amd': 'warn',
// 'import/no-duplicates': 'warn',
// 'import/no-extraneous-dependencies': 'warn',
// 'import/no-named-as-default': 'warn',
// 'import/no-named-as-default-member': 'warn',
// 'import/no-unresolved': ['warn', { commonjs: true }],

// https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules
'react/jsx-equals-spacing': ['warn', 'never'],
'react/jsx-no-duplicate-props': ['warn', { ignoreCase: true }],
'react/jsx-no-undef': 'warn',
'react/jsx-pascal-case': ['warn', {
allowAllCaps: true,
ignore: [],
}],
'react/jsx-uses-react': 'warn',
'react/jsx-uses-vars': 'warn',
'react/no-deprecated': 'warn',
'react/no-direct-mutation-state': 'warn',
'react/no-is-mounted': 'warn',
'react/react-in-jsx-scope': 'warn',
'react/require-render-return': 'warn',
'react/jsx-filename-extension': 'off',
'react/require-default-props': 'off',
'react/prop-types': 'off',
// https://github.com/evcohen/eslint-plugin-jsx-a11y/tree/master/docs/rules
'jsx-a11y/no-static-element-interactions': 'off',
'jsx-a11y/aria-role': 'warn',
'jsx-a11y/img-has-alt': 'warn',
'jsx-a11y/img-redundant-alt': 'warn',
'jsx-a11y/no-access-key': 'warn',

// https://github.com/gajus/eslint-plugin-flowtype
'flowtype/define-flow-type': 'warn',
'flowtype/require-valid-file-annotation': 'warn',
'flowtype/use-flow-type': 'warn'
}
};
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
node_modules
dist
/node_modules
.tmp
.vscode
.sass-cache
bower_components
/public/app
/mongo
npm-debug.log
/.idea/
*.iml
mailCredentials.js
23 changes: 0 additions & 23 deletions .jshintrc

This file was deleted.

35 changes: 35 additions & 0 deletions .sass-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
rules:
extends-before-mixins: 2
extends-before-declarations: 2
placeholder-in-extend: 0
nesting-depth: 3
hex-notation: 2
indentation: 2
property-sort-order: 2
variable-for-property: 2
no-color-literals: 2
clean-import-paths: 2
hex-length: 2
force-pseudo-nesting: 2
force-element-nesting: 2
quotes: 2
class-name-format: 0
empty-line-between-blocks: 2
leading-zero: 2
space-before-brace: 2
space-before-bang: 2
no-important: 0
no-css-comments: 2
no-color-keywords: 2
space-after-colon: 2
no-vendor-prefixes: 0
border-zero: 2
no-empty-rulesets: 2
trailing-semicolon: 2
no-duplicate-properties: 2
shorthand-values: 2
pseudo-element: 2
single-line-per-selector: 2
zero-unit: 2
no-mergeable-selectors: 2
no-qualifying-elements: 2
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: node_js
node_js:
- '0.10'
- '8'
before_script:
- 'npm install -g bower grunt-cli'
- 'bower install'
- 'npm install'
script:
- 'npm run lint'

44 changes: 29 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,47 @@
MyVisualStoryBook
Fates Editions
=================

MyVisualStoryBook est une application web de création d'histoires interactives.
Fates-Editions est une application web de création d'histoires interactives.

Version actuelle : V1.3.0
Version actuelle : V2.0.0
----------------
Vous pouvez actuellement :
- Se connecter au site.
- Visualiser votre profil : Vos Brouillons, Vos Parties, Vos Livres publiés.
- Créer un compte.
- Vous connecter au site.
- Changer votre mot de passe.
- Visualiser la liste des livres publiés par l'ensemble des auteurs du site.
- Créer des brouillons.
- Publier vos brouillons.
- Supprimer vos brouillons et publications.
- Visualiser vos Livres: vos Brouillons en cours d'écriture,vos Livres publiés.
- Visualiser vos Parties en cours.
- Voir le détail de vos livres/brouillons.
- Créer des brouillons.
- Modifier le détails des brouillons.
- Modifier des informations non sensibles sur une publication.
- Visualiser une synthèse des pages de votre livres.
- Créer des Objets et des Statistiques propres au livre.
- Créer et modifier des pages.
- Créer et modifier des transitions de pages à pages.
- Visualiser ses parties en cours.
- Créer des conditions d'affichages des transitions.
- Publier vos brouillons.
- Supprimer vos brouillons et dépublier vos publications.
- Créer une partie depuis la liste des livres.
- Jouer une partie.
- Créer un compte.
- Changer son mot de passe.
- Reprendre une partie déjà commencé.

Prochains objectifs
-------------------
Les objectifs sont :
- Système de combat
- Transitions conditionnelles
- Noter et donner son avis sur un livre
- Système de lancé de dé
- Système de combat
- Système de badge


--------------------

Pour developper le projet en local,
créer en local un fichier mailSender/mailCredentials.js

module.exports = {
user: '[email protected]',
clientId: 'fakeClientID',
clientSecret: 'fakeClientSecret',
refreshToken: 'fakeRefreshToken',
}
Loading