Commit Graph

506 Commits

Author SHA1 Message Date
5519554649 syntax 2020-04-29 15:08:30 +08:00
57b6aec37a add nMigen page 2020-04-29 15:07:51 +08:00
aefe3ad387 remove outdated solvespace info 2020-04-29 12:49:46 +08:00
18d83a4e36 update phone number 2020-04-29 12:48:31 +08:00
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
eb4f52c022 rebuild shop.min.js 2020-04-21 10:22:24 +08:00
fa8638c411 Merge branch 'master' of https://git.m-labs.hk/M-Labs/web2019 2020-04-21 11:19:21 +09:00
41a19b9910 fix(issue#16): Shows warning only when needed 2020-04-21 11:18:46 +09:00
5d10f0a315 rebuild shop.min.js 2020-04-20 22:53:32 +08:00
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
db6abf2909 fix(issue26): Retrieves "pn" code that are unknowns 2020-04-20 15:51:35 +09:00
d97222e4e1 shop: fix Mirny PN 2020-04-18 10:31:31 +08:00
e566993a6c smoltcp: fix formatting 2020-04-17 11:01:44 +08:00
b9b9620c67 shop: update generated JS 2020-04-16 10:33:49 +08:00
c98354db63 shop: configurations -> JSON 2020-04-16 10:33:28 +08:00
107bae7da0 shop: cleanup 2020-04-16 10:31:57 +08:00
88e4f1d8c0 shop: cleanup request, update npm deps 2020-04-15 21:17:48 +08:00
103056cbe8 rfq: simplify, set email sender 2020-04-15 21:17:19 +08:00
7d0abf4b17 shop: use hooks.m-labs.hk 2020-04-15 12:36:50 +08:00
9e8ec71c9f rfq: cleanup 2020-04-15 12:36:30 +08:00
e8d584fba5 rfq: relax Flask version requirement 2020-04-15 12:16:49 +08:00
d203ebf63b rfq: rename package 2020-04-15 12:16:36 +08:00
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
5703458586 feat(issue19-22/UI): Updates shop build 2020-04-15 10:47:03 +09:00
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
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
44b361893f feat(issue19/UI): Removes deactivation button after form submit 2020-04-15 10:21:31 +09:00
e116bbf028 feat(issue22/servver-flask): Removes CORS 2020-04-15 10:19:03 +09:00
4899bfedc2 feat(issue19-22/UI): Updates shop build 2020-04-14 18:54:59 +09:00
bac4e37cc2 feat(issue19/UI): Allows to load custom configuration 2020-04-14 18:54:31 +09:00
fdded2702b feat(issue19/UI): Displays box to load custom conf + verification format 2020-04-14 17:51:33 +09:00
413703fd96 feat(issue19/UI): Allows to show configuration 2020-04-14 16:08:28 +09:00
2825779c96 feat(issue22/UI): Uses bootstrap view instead of custom 2020-04-14 15:56:17 +09:00
0c4d2cfdac feat(issue22/UI): Updates shop (email + req to API for RFQ + feeback) 2020-04-14 14:46:51 +09:00
64730e8557 feat(issue22/server-flask): Checks payload is None 2020-04-14 14:23:01 +09:00
e2bb66f5f1 feat(issue22/server-flask): Adds extra config for CORS 2020-04-14 14:19:30 +09:00
a8d02b5962 feat(issue22/server-flask): Removes hard-coded email as we use envvars 2020-04-14 13:55:22 +09:00
42837ec0b2 feat(issue22/server-flask): Updates email object 2020-04-14 13:50:54 +09:00
89181fbf82 feat(issue22/server-flask): Uses python-dotenv to avoid source manually env vars 2020-04-14 13:50:35 +09:00
e39a6cf6b0 feat(issue22/server-flask): Adds basic python flask server 2020-04-14 13:50:12 +09:00
863b7cb246 add Birmingham ARTIQ examples 2020-03-25 12:02:19 +08:00
b81fa61572 Merge branch 'master' of https://git.m-labs.hk/M-Labs/web2019 2020-03-23 13:36:04 +09:00
d99d23ac84 fix(issue24): Uses part number when export to JSON/mail 2020-03-23 13:35:31 +09:00
11712e2e06 fix md formatting 2020-03-13 18:29:03 +08:00
9dbce6b06a remove solvespace commercial support info 2020-03-13 18:28:53 +08:00
bcaa81b688 update smoltcp github URL 2020-03-13 18:27:51 +08:00
ee7f274c76 refactor(shop): Removes old card images 2020-03-10 21:27:39 +09:00
67f82702b6 fix(zotino_pic): Corrects typo 2020-03-10 17:49:36 +09:00
26dd05f353 chore(build): Updates shop min.js 2020-03-10 17:41:54 +09:00
653280b5bb fix(issue21): Updates SMA-IDC and BNC-TTL 2020-03-08 18:26:23 +09:00