Commit Graph

2111 Commits

Author SHA1 Message Date
64feef8b95 libfic: New function to analyze number flag 2022-10-29 17:22:55 +02:00
6aead541d6 chore(deps): update golang.org/x/crypto digest to eccd636 2022-10-29 17:22:55 +02:00
85b47afa6a chore(deps): update module github.com/yuin/goldmark to v1.5.2 2022-10-29 17:22:55 +02:00
044e38172b chore(deps): update module github.com/yuin/goldmark to v1.5.0 2022-10-29 17:22:55 +02:00
0accd98e5c chore(deps): update golang.org/x/crypto digest to 4ba4fb4 2022-10-29 17:22:55 +02:00
e0b34c8043 chore(deps): update module github.com/yuin/goldmark to v1.4.15 2022-10-29 17:22:55 +02:00
1b3a32b65e chore(deps): update golang.org/x/crypto digest to 35f4265 2022-10-29 17:22:55 +02:00
7d31bb3312 chore(deps): update module github.com/yuin/goldmark to v1.4.14 2022-10-29 17:22:55 +02:00
7daf4e07cc chore(deps): update golang.org/x/oauth2 digest to f213421 2022-10-29 17:22:55 +02:00
c982576625 chore(deps): update golang.org/x/image digest to e7cb969 2022-10-29 17:22:55 +02:00
5678efa5c4 chore(deps): update golang.org/x/crypto digest to c86fa9a 2022-10-29 17:22:55 +02:00
60aafc5997 chore(deps): update golang.org/x/crypto digest to 5757bc0 2022-10-29 17:22:55 +02:00
ad993e4e4c chore(deps): update golang.org/x/oauth2 digest to 0ebed06 2022-10-29 17:22:55 +02:00
32582f576b chore(deps): update golang.org/x/crypto digest to bc19a97 2022-10-29 17:22:54 +02:00
198314c2f5 chore(deps): update golang.org/x/oauth2 digest to 8227340 2022-10-29 17:22:54 +02:00
26fb064a81 renovate: Update linuxkit images 2022-10-29 17:22:54 +02:00
817f43ee7a chore(deps): update module github.com/burntsushi/toml to v1.2.0 2022-10-29 17:22:54 +02:00
8e4e60d9d0 chore(deps): update golang.org/x/oauth2 digest to 128564f 2022-10-29 17:22:54 +02:00
737207d59a chore(deps): update golang.org/x/image digest to 062f8c9 2022-10-29 17:22:54 +02:00
51ff2ef3d6 chore(deps): update golang.org/x/crypto digest to 630584e 2022-10-29 17:22:54 +02:00
1dd41fcb3a chore(deps): update golang.org/x/oauth2 digest to c8730f7 2022-10-29 17:22:54 +02:00
b5fff619b8 chore(deps): update golang.org/x/oauth2 digest to 2104d58 2022-10-29 17:22:52 +02:00
a3f229d56e chore(deps): update golang.org/x/image digest to 41969df 2022-10-29 17:22:25 +02:00
211facf9d0 chore(deps): update golang.org/x/crypto digest to 0559593 2022-10-29 17:22:25 +02:00
e3e8e86b4c chore(deps): update module github.com/yuin/goldmark to v1.4.13 2022-10-29 17:22:23 +02:00
e2b47e744d ui: Update node version and node packages 2022-10-29 17:21:50 +02:00
41fb5a1cd0 backend: Don't fail if an hint is already opened 2022-10-29 17:21:50 +02:00
9bc9851b12 CI: ignore failures for docker arm64 2022-10-29 17:21:50 +02:00
95c992555c admin: Fix marshal of error in SyncReport 2022-10-29 17:21:50 +02:00
86d9a039c8 epita-rules: Requires placeholder for each flag 2022-10-29 17:21:50 +02:00
a85c2efa45 admin: Fix reset exercices 2022-10-29 17:21:50 +02:00
db9d7edf6b epita-rules: Checks that CVE- flag are UCQ, and number of choices
Fixes: #26
2022-10-29 17:21:50 +02:00
8aba067d05 settings: Convert JSON strings to the given type 2022-10-29 17:21:50 +02:00
95aadffb2e fic: Use user order to sort exercices in interface 2022-10-29 17:21:50 +02:00
c78545c18b sync: Report custom errors 2022-10-29 17:21:50 +02:00
08ea1bac0d admin: Arrange unlockedChallengeUpTo field 2022-10-29 17:21:50 +02:00
a0013947dd admin: Disable syncVideos when prod mod enabled 2022-10-29 17:21:50 +02:00
c7968fb256 admin: Add button to switch from WIP to PROD 2022-10-29 17:21:50 +02:00
c34fe51641 admin: config is not defined on sync page, use settings instead 2022-10-29 17:21:50 +02:00
e84b1d67cb Fix go vet errors 2022-10-29 17:21:50 +02:00
b0129e5239 sync: Use errors instead of string to report 2022-10-29 17:21:49 +02:00
d8943ba1f3 admin: Improve resolutions.json 2022-10-29 17:21:49 +02:00
Élie BRAMI
8afbacd654 build: reduce nix cache miss.
Each pkgs.buildGoModule create a .go-modules sub derivation that is equivalent
to the vendor directory (aka it is copied to vendor). Before we have a cache
miss because this sub derivation has another name but it is the same (comapared
with nix-diff) here we rename this sub derivation to hit the network only once.

before:
$ nix build .#all --dry-run
these 15 derivations will be built:
  /nix/store/64z5ixzsfd536jkybap6364wlkm4s8jn-admin-202208232340-go-modules.drv
  /nix/store/hjj8dv97h00y5wfvw4xk0ax4745473zl-frontend-202208232340-go-modules.drv
  /nix/store/xrx1b6hnvq13qkijqrbw7jsbr3gf5fn8-dashboard-202208232340-go-modules.drv
  /nix/store/kv0spqnh3il0lgimg7gk40cxh5gspvkp-dashboard-202208232340.drv
  /nix/store/mpa6f97mrvfq7nd0vrwgsq9z2k3hhzgw-scores-sync-zqds-202208232340-go-modules.drv
  /nix/store/nl1p2k58rdazvjhpifc76948x5bjwr0f-repochecker-202208232340-go-modules.drv
  /nix/store/pc290pk0rxhm2vrrbn78f92r3k7mmhzx-backend-202208232340-go-modules.drv
  /nix/store/p5v7ghgndp78gx7g653kdw4yasyxnlad-backend-202208232340.drv
  /nix/store/sj3vv4sxva1rkrxrb6k7p66vq1b5nlgq-qa-202208232340-go-modules.drv
  /nix/store/q3f00kq76iq453awbihgh30r8j9np7g0-qa-202208232340.drv
  /nix/store/q6zcphpyqlk5yc9r0z9c4lbayvr1rnm6-scores-sync-zqds-202208232340.drv
  /nix/store/r4bq4b8g0pjn3k0r9wh70divbm9m7m3v-frontend-202208232340.drv
  /nix/store/wffyj2nbgzi0qmv6iqx0kn0hzzm41i61-repochecker-202208232340.drv
  /nix/store/yfisx4c6zhqcqyflbj064s0p60930v82-admin-202208232340.drv
  /nix/store/vk06zp9q2hs6149n363hmk8azfhxr683-fic-all.drv
this path will be fetched (0.01 MiB download, 0.04 MiB unpacked):
  /nix/store/7cifvbmgjm5y9ds5a7c6c861g1xcm1qr-stdenv-linux

after:
$ nix build .#all --dry-run
these 9 derivations will be built:
  /nix/store/826caq9p8rphffwyrvcpxgrs6p3xla13-fic-.-.-202208232340-go-modules.drv
  /nix/store/29gr8z8zm1qxd3hg4nfj5zpz39w5239j-qa-202208232340.drv
  /nix/store/2clvljkrlpfxfrlb4cyk68n8zq5xg3m4-dashboard-202208232340.drv
  /nix/store/5nz6izdjhsklq354m1fdssbadr2fnpkk-repochecker-202208232340.drv
  /nix/store/95pzd7y6n99v4dn4xyfi677kmdq536qg-frontend-202208232340.drv
  /nix/store/i79s2fkj5g75729lg76b2i126m7q36w9-scores-sync-zqds-202208232340.drv
  /nix/store/q1v7hq02hmqn4nql5rcyiwf6grlrdc4q-admin-202208232340.drv
  /nix/store/vkid4pr7r6w3glfhfyfg5malp501jkaf-backend-202208232340.drv
  /nix/store/f94c2m5fq6il03f97lyswcwg15s3c50w-fic-all.drv
this path will be fetched (0.01 MiB download, 0.04 MiB unpacked):
  /nix/store/7cifvbmgjm5y9ds5a7c6c861g1xcm1qr-stdenv-linux
2022-08-27 00:43:15 +02:00
Élie BRAMI
af388dbfff flakes: Add .#all target. 2022-08-24 01:40:00 +02:00
Élie BRAMI
04a9e3b3b6 deps: Update vendorSha256 with script. 2022-08-24 00:51:49 +02:00
Élie BRAMI
a3144fac45 feat: Avoid question in label.
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-12 23:12:23 +02:00
05f396f5c9 Remove all favicon
Some checks failed
continuous-integration/drone/push Build is failing
2022-06-12 14:48:55 +02:00
e0034a1fc1 Add .dockerignore 2022-06-12 13:18:18 +02:00
b26ef1c0ce ui: Home button redirect to main_link 2022-06-12 13:18:18 +02:00
223f44572e admin: Can import videos 2022-06-12 13:18:18 +02:00