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

Use last version of skulpt, with similar modifications #39

Open
wants to merge 1,327 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1327 commits
Select commit Hold shift + click to select a range
0c92165
quickAlgo/printer: Better output for Python
mblockelet Jun 20, 2019
dfd1c90
LR_parser-1.0.js: bug fix
UncleBone Jun 21, 2019
b9d49c4
LR_parser-1.0.js: bug fix
UncleBone Jun 21, 2019
459e877
beaver-task: fix defaultLevel being ignored
mblockelet Jun 21, 2019
1169b87
Avoid reseting the context for every editor change
pablo-mendoza Jun 22, 2019
0a4404c
quickAlgo-Python: Avoid reseting the context for every editor change
mblockelet Jun 22, 2019
b386df2
Merge remote-tracking branch 'upstream/master'
pablo-mendoza Jun 22, 2019
472c772
Implement a small subset of processing drawing api, also start of the…
pablo-mendoza Jun 23, 2019
7219c11
english translation
mathias-hiron Jun 23, 2019
ecd172c
fix property name
mathias-hiron Jun 23, 2019
e7760e9
LR_parser-1.0.js: change content validation
UncleBone Jun 25, 2019
264adde
graph-mouse-1.1.js: GraphEditor - stay in edit mode if content valida…
UncleBone Jun 25, 2019
c93ec00
graph-mouse-1.1.js: GraphEditor - single click selection when edge cr…
UncleBone Jun 25, 2019
c1a70da
Merge remote-tracking branch 'upstream/master'
pablo-mendoza Jun 25, 2019
2ec60d3
Latest quick pi updates: change grading to use names all around inste…
pablo-mendoza Jun 25, 2019
f549ed3
restore commented out code
pablo-mendoza Jun 25, 2019
fac2ebc
Merge pull request #38 from pablo-mendoza/master
pablo-mendoza Jun 25, 2019
69f22ad
fioi-blockly update
mblockelet Jun 25, 2019
345a408
miniPlatform: Fix crashing on unknown languages
mblockelet Jun 25, 2019
e5d7ce7
graph-mouse-1.1.js: GraphEditor - single click selection after edit
UncleBone Jun 26, 2019
8a76c80
LR_parser-1.0.js: add highlight
UncleBone Jun 26, 2019
873b5a6
LR_parser-1.0.js: bug fix + add rule highlight
UncleBone Jun 26, 2019
daabc56
LR_parser-1.0.js: add mode 4 - create parse table
UncleBone Jun 28, 2019
d34f16e
LR_parser-1.0.js: change accept and error buttons
UncleBone Jul 1, 2019
363ae6d
beaver-task: fix defaultLevel being ignored
mblockelet Jun 21, 2019
a6f5f15
LR_parser-1.0.js: add undo button in mode 3
UncleBone Jul 1, 2019
3381ad8
LR_parser-1.0.js: bug fix
UncleBone Jul 1, 2019
83bb35c
LR_parser-1.0.js: draggable progress bar
UncleBone Jul 2, 2019
08fd255
LR_parser-1.0.js: step FW button clickable during animation
UncleBone Jul 2, 2019
75541e7
LR_parser-1.0.js: add derivation tree
UncleBone Jul 4, 2019
9b036a7
LR_parser-1.0.js: bug fix + change accept and error buttons
UncleBone Jul 4, 2019
6dd7cec
LR_parser-1.0.js: bug fix
UncleBone Jul 4, 2019
a25cd91
LR_parser-1.0.js: bug fix
UncleBone Jul 4, 2019
2678bec
LR_parser-1.0.js: add curly brackets for derivation tree
UncleBone Jul 4, 2019
8dcd588
LR_parser-1.0.js: smaller derivation tree
UncleBone Jul 5, 2019
47f5e0a
LR_parser-1.0.js: derivation tree grows as the input is parsed
UncleBone Jul 18, 2019
915d697
LR_parser-1.0.js: always show the highlight of previous action even a…
UncleBone Jul 19, 2019
d944054
quickAlgo: Add exportCurrentAsPng feature
mblockelet Jul 21, 2019
52f423a
LR_parser-1.0.js: highlight current state and next symbol in parse table
UncleBone Jul 22, 2019
f703ce3
quiz - fill in the gaps touch screen support
mobydimk Jul 22, 2019
4ed749c
LR_parser-1.0.js: bug fixes + deal with rules with empty right hand
UncleBone Jul 25, 2019
17fe0d3
LR_parser-1.0.js: add mode 5 - execute automaton with parse table
UncleBone Jul 29, 2019
121184f
LR_parser-1.0.js: add mode 6 - derivation tree bottom up
UncleBone Jul 31, 2019
5432103
some english translations for turtle task
mathias-hiron Aug 5, 2019
03ee1b5
Keep json color in scratch mode
MarielleLeo Aug 19, 2019
75b99d1
context pixelArt scratch : update blocks color
MarielleLeo Aug 19, 2019
e4f8f63
LR_parser-1.0.js: add mode 7 - derivation tree top down
UncleBone Aug 20, 2019
dd4c48b
graph-mouse-1.1.js: GraphEditor - add option for backward edges
UncleBone Aug 21, 2019
e7666d2
graph-mouse-1.1.js: GraphEditor - don't replace existing edge
UncleBone Aug 21, 2019
cfdf603
LR_parser-1.0.js: bug fix
UncleBone Aug 21, 2019
fa2a1c2
LR_parser-1.0.js: minor change
UncleBone Aug 21, 2019
f3c9e51
context pixelArt add parameter allowRewrite
MarielleLeo Aug 27, 2019
610db36
grid-1.0.js: bug fix
UncleBone Aug 30, 2019
97fd4b7
graph-mouse-1.1.js: bug fix
UncleBone Sep 4, 2019
ea08ec4
fix IE8 / FF3.6 bugs
UncleBone Sep 4, 2019
0b0f9b1
automata-1.0: bug fix
UncleBone Sep 5, 2019
d14dccd
LR_parser-1.0.js: use drag for symbol selection in mode 6
UncleBone Sep 5, 2019
2bb2454
quickAlgo-Python: Better float display
mblockelet Sep 12, 2019
225624a
proglet database different graph types
Neilyroth Sep 15, 2019
5b3d009
Debug paint context
Arturgo Sep 16, 2019
88f4e22
Debug paint
Arturgo Sep 16, 2019
e482297
beaver-task-2.0: Add level option from taskParams
mblockelet Sep 20, 2019
e7b6fec
quickAlgo-Python: Display quick functions in a list when there are many
mblockelet Sep 21, 2019
7fcb471
quickAlgo-mobile: Add a minimum height to the default layout
mblockelet Sep 23, 2019
88f7930
fonctions database
Neilyroth Sep 24, 2019
462f5a0
robot task sprites
mobydimk Sep 27, 2019
5c0d4b0
beav-1.0.js: add geometry section
UncleBone Sep 27, 2019
afa72a8
grid-1.0.js: fix IE8 bug
UncleBone Sep 27, 2019
cf01f2b
quickAlgo-Python/database: Make functions work
mblockelet Sep 28, 2019
28f86d4
FilesRepository: Set modal to display:none by default
mblockelet Sep 29, 2019
a2c7873
Revert "robot task sprites"
mblockelet Sep 30, 2019
79c42e1
database task: add context.display support
mobydimk Oct 1, 2019
2e048f8
database styles update
mobydimk Oct 1, 2019
26b41a8
database styles
mobydimk Oct 1, 2019
1d413f3
database styles
mobydimk Oct 1, 2019
7222953
visualisation_tables bugfix
mobydimk Oct 1, 2019
e71aa4c
importModules-1.4-mobileFirst.js: add missing modules
UncleBone Oct 1, 2019
7640d5c
validateColumnTypes
mobydimk Oct 1, 2019
21313f1
Merge branch 'master' of https://github.com/France-ioi/bebras-modules
mobydimk Oct 1, 2019
881be77
+ shape-paths.js
UncleBone Oct 1, 2019
9df6298
robot task sprites, atempt 2
mobydimk Oct 1, 2019
1b0d99a
Merge branch 'master' of https://github.com/France-ioi/bebras-modules
mobydimk Oct 1, 2019
cc68fc2
allow blocks from wholeCategories
mobydimk Oct 1, 2019
e91e05d
handle error when reading non existing csv file
mobydimk Oct 1, 2019
849a458
database: Fix incorrect syntax
mblockelet Oct 1, 2019
83e2cb5
database lib update
mobydimk Oct 1, 2019
911420c
Merge branch 'master' of https://github.com/France-ioi/bebras-modules
mobydimk Oct 1, 2019
491f04a
importModules-1.1_M.js: add missing module
UncleBone Oct 1, 2019
5476880
importModules-1.1_M.js: add missing modules
UncleBone Oct 1, 2019
60717c8
Revert "robot task sprites, atempt 2"
mblockelet Oct 2, 2019
7251d93
blocklyRobot grid options
mobydimk Oct 2, 2019
d141b50
getGridOptions bugfix
mobydimk Oct 2, 2019
fbf2b50
database lib update
mobydimk Oct 3, 2019
1c3ba3b
database update
mobydimk Oct 3, 2019
e9b9ed8
database update
mobydimk Oct 3, 2019
4871c70
database bugfix
mobydimk Oct 3, 2019
b3b7116
database table visulizer bugfix
mobydimk Oct 4, 2019
ddb84e7
buttonsAndMessages: Actually set bUseFullWidth when requested
mblockelet Oct 4, 2019
764fa8c
remove btn clipboard
mobydimk Oct 4, 2019
44d95b3
remove csv from visualizer
mobydimk Oct 4, 2019
34d8ddc
disable_csv_import option
mobydimk Oct 4, 2019
95ee06d
database task validate by hash
mobydimk Oct 6, 2019
a37c1bf
database render_max_rows option update
mobydimk Oct 6, 2019
657e4db
database loadTableFromCsv & loadTableFromCsvWithTypes
mobydimk Oct 6, 2019
034141d
database cell types update
mobydimk Oct 6, 2019
e965c99
database strict types
mobydimk Oct 6, 2019
e0adfa1
database cell types
mobydimk Oct 7, 2019
f603b28
database types
mobydimk Oct 7, 2019
62dbf16
database bugfix
mobydimk Oct 7, 2019
ab28add
database renderers bugfix
mobydimk Oct 7, 2019
3903822
remove debug
mobydimk Oct 8, 2019
1b071a0
database inline success message
mobydimk Oct 8, 2019
05702be
database lib update
mobydimk Oct 8, 2019
f05fc40
database: Fix inline popup, error when no last_table
mblockelet Oct 9, 2019
c77167c
quickAlgo: Move inlinePopupMessage there, use same layout as error
mblockelet Oct 9, 2019
e56edfa
autodetect column types
mobydimk Oct 13, 2019
0a57b39
multiple levels task display table bugfix
mobydimk Oct 13, 2019
0ff792e
center map position
mobydimk Oct 13, 2019
3de637e
shape-paths.js: update
UncleBone Oct 16, 2019
92b4abf
display_partial_feedback
mobydimk Oct 21, 2019
4916870
display_partial_feedback
mobydimk Oct 21, 2019
96da1cb
miniPlatform: Use GET-provided sToken if available
mblockelet Oct 21, 2019
f4488e5
graph-mouse-1.1.js: bug fix
UncleBone Oct 23, 2019
11f040c
quiz question group
mobydimk Oct 27, 2019
0734043
graph-mouse-1.1.js: fix IE8 bug
UncleBone Nov 4, 2019
82424d9
graph-mouse-1.1.js: fix IE8 bug
UncleBone Nov 5, 2019
52ffb69
quickAlgo-python: Support dicts
mblockelet Nov 6, 2019
1b1ac63
database task update
mobydimk Nov 6, 2019
fcc4c44
database task update
mobydimk Nov 6, 2019
1ab5996
add support for drag&drop when in hybrid dekstop+touchscreen mode
mathias-hiron Nov 8, 2019
c3e0b81
raphaelButton-1.0.js: add keyboard function
UncleBone Nov 13, 2019
0e871bf
translate success message
mathias-hiron Nov 14, 2019
f393370
raphaelButton-1.0.js: add special key to keyboard
UncleBone Nov 14, 2019
8de7090
database translations
mobydimk Nov 14, 2019
d2cd93c
database blocks translation
mobydimk Nov 14, 2019
c037ac4
Translate renderer_html_rows_limit
mathias-hiron Nov 15, 2019
8a87019
translate labels and add descriptions in french
MarielleLeo Nov 15, 2019
38a62cf
load python program bugfix
mobydimk Nov 15, 2019
1a87f3c
database translations
mobydimk Nov 15, 2019
c81a0d8
database translation placeholder bugfix
mobydimk Nov 16, 2019
8882e4d
python lib bugfix
mobydimk Nov 16, 2019
8ff9c9a
update description
MarielleLeo Nov 17, 2019
4d4d5aa
video task update
mobydimk Nov 19, 2019
81b7d2c
video task update
mobydimk Nov 19, 2019
5628330
video task update
mobydimk Nov 19, 2019
3470cc0
import video task modules
mobydimk Nov 19, 2019
6d91183
displayTablesOnGraph + Display Lists
Neilyroth Nov 20, 2019
0abce86
video task responsive layout
mobydimk Nov 20, 2019
a0e2bf7
Merge branch 'master' of https://github.com/France-ioi/bebras-modules
mobydimk Nov 20, 2019
f1702f5
video task update
mobydimk Nov 20, 2019
7b19773
Revert "displayTablesOnGraph + Display Lists"
mblockelet Nov 20, 2019
b93d6ac
importModules: Add static-task
mblockelet Nov 20, 2019
45e8cb3
sections timestamps
mobydimk Nov 20, 2019
1110f17
responsive layout
mobydimk Nov 20, 2019
71c467c
bugfix displayTablesOnGraph & choix du range
Neilyroth Nov 21, 2019
083ddfc
bugfix displayTablesOnGraph & choix du range
Neilyroth Nov 21, 2019
ae0e4b8
Revert "bugfix displayTablesOnGraph & choix du range"
mblockelet Nov 21, 2019
b70a849
video task layout update
mobydimk Nov 21, 2019
e96bc9a
enumerate sections
mobydimk Nov 22, 2019
00a2651
don't autostart playback on state data
mobydimk Nov 22, 2019
3768ebc
hide solution btn if solution div not found
mobydimk Nov 22, 2019
186e9c7
task height update
mobydimk Nov 24, 2019
b899745
layout
mobydimk Nov 24, 2019
7d3e049
height update
mobydimk Nov 24, 2019
4daca94
getHeight filter
mobydimk Nov 24, 2019
fb62e9b
getHeight filter
mobydimk Nov 24, 2019
0d4922b
get height filter
mobydimk Nov 24, 2019
c6f3bce
getHeight filter
mobydimk Nov 24, 2019
36e0106
getHeight filter
mobydimk Nov 24, 2019
1117d40
getHeight filter
mobydimk Nov 24, 2019
3f2b184
getHeight filter
mobydimk Nov 24, 2019
cee787f
height loop prevention
mathias-hiron Nov 24, 2019
d4890b6
remove commented version
mathias-hiron Nov 24, 2019
54acd2a
detect loop earlier
mathias-hiron Nov 24, 2019
62f4c35
platform-pr: Move height loop prevention code from taskVideo
mblockelet Nov 24, 2019
3e1778b
sections layout
mobydimk Nov 24, 2019
ecece10
Merge branch 'master' of https://github.com/France-ioi/bebras-modules
mobydimk Nov 24, 2019
d292853
layout bugfix
mobydimk Nov 24, 2019
04ab294
quickAlgo: Add logActivity for level loads
mblockelet Nov 24, 2019
91fb92a
pythonCount: Add dicts
mblockelet Nov 24, 2019
22d4b5a
blocklyTurtle: Fix turnamountvalue for Python
mblockelet Nov 24, 2019
1ff1705
add options to support azerty keyboard layout
mathias-hiron Nov 30, 2019
3685d92
support for keyboard.remove()
mathias-hiron Nov 30, 2019
0997766
database: Fix tables loading to new version
mblockelet Dec 2, 2019
b61dc82
Merge branch 'database_graph'
mblockelet Dec 2, 2019
3bf1f44
Restore "bugfix displayTablesOnGraph & choix du range"
mblockelet Dec 2, 2019
bc1f9b0
database: Fix tables loading to new version
mblockelet Dec 2, 2019
5bc7c67
raphaelButton-1.0.js: bug fix
UncleBone Dec 3, 2019
80a2997
raphaelButton-1.0.js: bug fix
UncleBone Dec 3, 2019
59fef08
mouseover = true when mousedown
mathias-hiron Dec 3, 2019
9929ab3
better support for touch devices
mathias-hiron Dec 3, 2019
173f470
quickAlgo: Add keypad for FieldNumber inputs
mblockelet Dec 3, 2019
e37986e
disable touchstart
mathias-hiron Dec 4, 2019
f85a800
fix multiple mousedowns on touch screens
mathias-hiron Dec 4, 2019
3761a65
better fix for touch devices
mathias-hiron Dec 4, 2019
6e8d14a
increase time between touches
mathias-hiron Dec 4, 2019
433ca44
extra protection against double clicks on ipad
mathias-hiron Dec 4, 2019
c47fee7
debug
mathias-hiron Dec 4, 2019
83dfc1e
new attempt to protect against multiple mousedown
mathias-hiron Dec 4, 2019
d7d0cb7
new attempt
mathias-hiron Dec 4, 2019
4530114
debug
mathias-hiron Dec 4, 2019
5fdaa47
debug
mathias-hiron Dec 4, 2019
9e6cd81
extra layer of protection against double clicks on iPad...
mathias-hiron Dec 4, 2019
4ede94a
raphaelButton-1.0.js: add toFront fct
UncleBone Dec 4, 2019
7d3b9b1
beav-1.0.js: bug fix
UncleBone Dec 5, 2019
2fed8a7
task views debug info
mobydimk Dec 5, 2019
432e5a3
solutions visibility
mobydimk Dec 5, 2019
4dd081e
mistake messages
mobydimk Dec 5, 2019
175579b
mistake message
mobydimk Dec 5, 2019
d72a8d1
missed answer messages
mobydimk Dec 5, 2019
71165cd
quickAlgo-python: Fix reloading programs
mblockelet Dec 5, 2019
0a3dd68
grade answer bugfix
mobydimk Dec 5, 2019
af2f72f
Merge branch 'master' of https://github.com/France-ioi/bebras-modules
mobydimk Dec 5, 2019
c5b11f5
When users select a table to view it directly use a dark blue background
mobydimk Dec 5, 2019
4e73f4f
displayt map grader
mobydimk Dec 5, 2019
5359e7d
Latest quick pi updates
pablo-mendoza Dec 9, 2019
626f78c
Enforce bounds on setServoAngle
pablo-mendoza Dec 10, 2019
2dc429e
Fix a few bugs in quickpi
pablo-mendoza Dec 14, 2019
9855527
quickAlgo-python: Insert code directly from the list
mblockelet Dec 14, 2019
6d4700c
quickAlgo: support keyboard in keypad
mblockelet Dec 14, 2019
b4a91e4
blocklyPrinter: Fix list display
mblockelet Dec 15, 2019
408008d
quiz: Add score_settings to compute the score according to taskSettings
mblockelet Dec 16, 2019
42d1303
some english translations
mathias-hiron Dec 18, 2019
d6ab74e
Fix installing in Python mode
pablo-mendoza Dec 20, 2019
40b4f41
Fix issues when changing board.
pablo-mendoza Dec 21, 2019
8bbdc35
quickAlgo: Replace Array.from, unsupported by IE
mblockelet Dec 22, 2019
6d9d86d
quickAlgo: Move blocksLanguage support to all contexts
mblockelet Dec 23, 2019
21e50d3
quickAlgo: Better keyboard handling on keypad
mblockelet Jan 2, 2020
ed12fb5
add support for obstacles in dominoes context
mathias-hiron Jan 3, 2020
69a5ab1
fontsLoader: Fixes
mblockelet Jan 3, 2020
b30ad33
quickAlgo-Python: Show elif in allowed keywords
mblockelet Jan 3, 2020
f7c88dc
blocklyTurtle: Add row/col blocks
mblockelet Jan 4, 2020
17a6787
change background color for gems context
mathias-hiron Jan 4, 2020
5df12e3
change border color
mathias-hiron Jan 4, 2020
36bfb09
quickAlgo-Python: pythonForceForbidden, strings in forbidden, functio…
mblockelet Jan 5, 2020
e577fb1
revert to original colors (new ones can be put in tasks for now)
mathias-hiron Jan 5, 2020
ef7c68f
quickAlgo-Python: Fix when runner is not initialized yet
mblockelet Jan 5, 2020
bf5dd52
quickAlgo-Blockly: Change mediaUrl
mblockelet Jan 6, 2020
9bdd119
quickAlgo: Fix testResultIcon
mblockelet Jan 6, 2020
6211ea2
quickAlgo: Various fixes for mobiles
mblockelet Jan 6, 2020
b9485f4
quickAlgo: Clicking outside keypad just validates
mblockelet Jan 6, 2020
9eb89e5
quickAlgo: Change keypad if a touch event was detected
mblockelet Jan 6, 2020
1ee9389
Update fioi-blockly
mblockelet Jan 6, 2020
c1f333e
quickAlgo: Make keypad keep initial value if we don't do anything
mblockelet Jan 6, 2020
c2aa531
quickAlgo: Add copy/paste buttons
mblockelet Jan 10, 2020
d1ecefe
visual-graph-1.1.js: add options for customisation
UncleBone Jan 13, 2020
6b345e9
quickAlgo: Fix missing function in non-mobileFirst interface
mblockelet Jan 14, 2020
d830a84
beaver-task-2.0: Update buttonsAndMessages display on level change
mblockelet Jan 15, 2020
fd7f102
buttonsAndMessages: Make sure to hide other versions
mblockelet Jan 15, 2020
24eae9f
Use last version of skulpt, with similar modifications
GeoffreyHuck Jan 24, 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
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ This repository contains a static directory structure used in [Bebras tasks](htt

This would be usually considered bad (or outdated) practice, but it addresses a requirement: allow people who are not experts in JavaScript tools (who cannot install `npm`, `bower`, etc.) to have a development environment for Bebras tasks.

## Bundles

To optimise loading of files, this directory also contains bundles, which can be used in place of importing the corresponding JS files.

To define a bundle, you must, in `importModules*.js` :

* add how to import the bundle to `importableModules`
* add the list of modules this bundle includes in `bundledModules`

and then, include, in `gulpfile.js`, the list of files to include in this bundle.

The command
```
gulp bundles
```
will then generate all bundles into the subfolder `bundles/`.

While testing this feature, bundles are loaded by `importModules*.js` only if `window.useBundles` is `true`.

### TODO

- find a better solution?
Expand Down
1,595 changes: 1,595 additions & 0 deletions bundles/bebras-base.js

Large diffs are not rendered by default.

3,161 changes: 3,161 additions & 0 deletions bundles/bebras-interface.js

Large diffs are not rendered by default.

1,788 changes: 1,788 additions & 0 deletions bundles/blockly-base.js

Large diffs are not rendered by default.

5,711 changes: 5,711 additions & 0 deletions bundles/js-interpreter.js

Large diffs are not rendered by default.

Loading