Commit Graph

353 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq 18d83a4e36 update phone number 2020-04-29 12:48:31 +08:00
sovanna 2a2a7da014 fix(issue#3): Loads models separately
- common models functions are loaded in SolveSpaceControls.js
- each js model file is now autonomous
- in page-solvespace.html, add each <script> 'async' attribute

So now, each js model file will be loaded as soon as available,
avoiding blocking rendering page
2020-04-21 18:23:49 +09:00
Sebastien Bourdeauducq eb4f52c022 rebuild shop.min.js 2020-04-21 10:22:24 +08:00
sovanna fa8638c411 Merge branch 'master' of https://git.m-labs.hk/M-Labs/web2019 2020-04-21 11:19:21 +09:00
sovanna 41a19b9910 fix(issue#16): Shows warning only when needed 2020-04-21 11:18:46 +09:00
Sebastien Bourdeauducq 5d10f0a315 rebuild shop.min.js 2020-04-20 22:53:32 +08:00
sovanna 2adb262fb0 fix(issue#16): Adds class inverted to flip warning when:
4 slots remains and current card is at almost the end of the crate

aka when the warnings is about a card that is at the end of the crate
2020-04-20 18:22:38 +09:00
sovanna db6abf2909 fix(issue26): Retrieves "pn" code that are unknowns 2020-04-20 15:51:35 +09:00
Sebastien Bourdeauducq d97222e4e1 shop: fix Mirny PN 2020-04-18 10:31:31 +08:00
Sebastien Bourdeauducq e566993a6c smoltcp: fix formatting 2020-04-17 11:01:44 +08:00
Sebastien Bourdeauducq b9b9620c67 shop: update generated JS 2020-04-16 10:33:49 +08:00
Sebastien Bourdeauducq c98354db63 shop: configurations -> JSON 2020-04-16 10:33:28 +08:00
Sebastien Bourdeauducq 107bae7da0 shop: cleanup 2020-04-16 10:31:57 +08:00
Sebastien Bourdeauducq 88e4f1d8c0 shop: cleanup request, update npm deps 2020-04-15 21:17:48 +08:00
Sebastien Bourdeauducq 103056cbe8 rfq: simplify, set email sender 2020-04-15 21:17:19 +08:00
Sebastien Bourdeauducq 7d0abf4b17 shop: use hooks.m-labs.hk 2020-04-15 12:36:50 +08:00
Sebastien Bourdeauducq 9e8ec71c9f rfq: cleanup 2020-04-15 12:36:30 +08:00
Sebastien Bourdeauducq e8d584fba5 rfq: relax Flask version requirement 2020-04-15 12:16:49 +08:00
Sebastien Bourdeauducq d203ebf63b rfq: rename package 2020-04-15 12:16:36 +08:00
sovanna 4efa24b09b feat(issue22/server-flask): Refactors archi
- uses package rfq with only one file
- adds basic setup.py
- remove package versionning inside requirements
- lets flask version in setup.py (issue regarding setuptools)
2020-04-15 12:40:34 +09:00
sovanna 5703458586 feat(issue19-22/UI): Updates shop build 2020-04-15 10:47:03 +09:00
sovanna 0758e2d2ba feat(issue22): Sends confirmation email to client
Also, adds the JSON configuration in order to be sent to the client
as a "reminder" of what he sends
2020-04-15 10:41:40 +09:00
sovanna a61ebbdff6 feat(issue22/server-flask): Adds reply_to
`recipient` refers to FLASK_MAIL_RECIPIENT env var
which is the email address that receives all RFQ
2020-04-15 10:25:05 +09:00
sovanna 44b361893f feat(issue19/UI): Removes deactivation button after form submit 2020-04-15 10:21:31 +09:00
sovanna e116bbf028 feat(issue22/servver-flask): Removes CORS 2020-04-15 10:19:03 +09:00
sovanna 4899bfedc2 feat(issue19-22/UI): Updates shop build 2020-04-14 18:54:59 +09:00
sovanna bac4e37cc2 feat(issue19/UI): Allows to load custom configuration 2020-04-14 18:54:31 +09:00
sovanna fdded2702b feat(issue19/UI): Displays box to load custom conf + verification format 2020-04-14 17:51:33 +09:00
sovanna 413703fd96 feat(issue19/UI): Allows to show configuration 2020-04-14 16:08:28 +09:00
sovanna 2825779c96 feat(issue22/UI): Uses bootstrap view instead of custom 2020-04-14 15:56:17 +09:00
sovanna 0c4d2cfdac feat(issue22/UI): Updates shop (email + req to API for RFQ + feeback) 2020-04-14 14:46:51 +09:00
sovanna 64730e8557 feat(issue22/server-flask): Checks payload is None 2020-04-14 14:23:01 +09:00
sovanna e2bb66f5f1 feat(issue22/server-flask): Adds extra config for CORS 2020-04-14 14:19:30 +09:00
sovanna a8d02b5962 feat(issue22/server-flask): Removes hard-coded email as we use envvars 2020-04-14 13:55:22 +09:00
sovanna 42837ec0b2 feat(issue22/server-flask): Updates email object 2020-04-14 13:50:54 +09:00
sovanna 89181fbf82 feat(issue22/server-flask): Uses python-dotenv to avoid source manually env vars 2020-04-14 13:50:35 +09:00
sovanna e39a6cf6b0 feat(issue22/server-flask): Adds basic python flask server 2020-04-14 13:50:12 +09:00
Sebastien Bourdeauducq 863b7cb246 add Birmingham ARTIQ examples 2020-03-25 12:02:19 +08:00
sovanna b81fa61572 Merge branch 'master' of https://git.m-labs.hk/M-Labs/web2019 2020-03-23 13:36:04 +09:00
sovanna d99d23ac84 fix(issue24): Uses part number when export to JSON/mail 2020-03-23 13:35:31 +09:00
Sebastien Bourdeauducq 11712e2e06 fix md formatting 2020-03-13 18:29:03 +08:00
Sebastien Bourdeauducq 9dbce6b06a remove solvespace commercial support info 2020-03-13 18:28:53 +08:00
Sebastien Bourdeauducq bcaa81b688 update smoltcp github URL 2020-03-13 18:27:51 +08:00
sovanna ee7f274c76 refactor(shop): Removes old card images 2020-03-10 21:27:39 +09:00
sovanna 67f82702b6 fix(zotino_pic): Corrects typo 2020-03-10 17:49:36 +09:00
sovanna 26dd05f353 chore(build): Updates shop min.js 2020-03-10 17:41:54 +09:00
sovanna 653280b5bb fix(issue21): Updates SMA-IDC and BNC-TTL 2020-03-08 18:26:23 +09:00
sovanna d7ca790588 fix(issue10): Corrects typo 2020-03-05 13:21:37 +09:00
sovanna dd1a188937 feat(issue21): Increases crate height to 350px 2020-03-05 12:58:12 +09:00
sovanna ae90412170 feat(issue10): Adds MCX-IDC and SMA-IDC 2020-03-05 11:26:03 +09:00