Commit graph

18 commits

Author SHA1 Message Date
Kitaiti Makoto
35fb57718d Add rust-toolchain into buildenv 2022-05-15 06:46:18 +09:00
Kitaiti Makoto
ed58e44d2e Use Python 3 to install Selenium 2022-05-15 05:45:25 +09:00
Kitaiti Makoto
f151dee339 Don't strip in buildenv 2022-05-15 05:13:09 +09:00
Kitaiti Makoto
61f25941e8 Install crowdin CLI using apt in buildenv 2022-05-15 05:13:09 +09:00
Kitaiti Makoto
0628a14be6 Use Rust image for buildenv 2022-05-15 05:13:03 +09:00
Kitaiti Makoto
20c17be124 Update Rust version 2021-11-28 08:13:16 +09:00
Kitaiti Makoto
4a5bffbd57 Update base Docker image for buildenv 2021-02-12 19:10:54 +09:00
Kitaiti Makoto
affe24b9c6 Replace cargo-web with wasm-pack on build environment 2021-02-12 05:00:34 +09:00
Kitaiti Makoto
64e4550dea Update rust-toolchain to nightly-2021-01-15 2021-01-15 10:19:12 +09:00
Kitaiti Makoto
55abbff9b8 Use Caddy v2 on build env 2020-12-08 21:51:09 +09:00
Kitaiti Makoto
5f89401a7c Update Rust on buildenv image 2020-12-08 20:06:21 +09:00
Kitaiti Makoto
23a5634035 Update distro of Docker image for testing 2020-12-06 22:26:30 +09:00
fdb-hiroshima
3663bffe5c Update compiler (#725)
* update compiler to recent nightly

* cargo fmt

* fix clippy

but ructe code is still complaining

* update circleci and rocket_csrf

* fix last clippy problems

* cargo fmt

* fix build issue

was caused be improper handling of recursive template (comment) by old ructe, which is fixed on newer version
2020-01-19 12:52:32 +01:00
Violet White
458baf5f78 Syntax highlighting (#691)
* Syntax highlighting mostly... Exists.

* Add dependency to dockerfile

* Handle non-existent languages better

* Make the default a bit nicer

* Improve highlighting. Clean up function

* Add dark theme, add the comment scope to the allowed classes

* update build env

* Address review comments

* Use find_syntax_by_token which produces the desired behavior

* Change flat_map into flatten
(commit cargo.lock)
2019-12-30 14:35:27 +01:00
fdb-hiroshima
918bda14ec
rewrite circleci config (#558)
* rewrite circleci config with better syntax

and try using grcov for coverage

* attempt to use less memory and to rerun if memory lack

* actually remove use of kcov

* use the right var

* try looping

* run test serialized

* use feature where we should and make macro path independant

* cargo fmt and remove some '"'

* add zip to dependancies

* reduce number of used thread after first failure

* push translations to crowdin on commit to master

* don't cache result of coverage
2019-05-04 15:35:21 +02:00
fdb-hiroshima
49bb8cb0bc
import migrations and don't require diesel_cli for admins (#555)
* import migrations via macro

* panic on database not to the latest migration

* add subcommand to plm

* create migration that run tantivy index creation

* remove diesel_cli from places it was

* use our migration system for tests

* create table __diesel_schema_migrations if needed
2019-04-29 16:30:20 +02:00
fdb-hiroshima
eabe73ddc0
Add tests for plume webserver (#513)
* begin setup front-end test environment with selenium
* run migrations before tests
* use https for tests
2019-04-06 17:41:57 +02:00
fdb-hiroshima
26fc2cde5d
use circleci instead of travis (#511)
Upgrade rust-toolchain
Upgrade Tantivy
Warning: tantivy now use a different file format, search index may need to be deleted and recreated to work as intended
try to run compile twice in a row because sometime oomk is evil
2019-04-01 20:28:23 +02:00