Commit graph

38 commits

Author SHA1 Message Date
c9405d0fdb
useless call
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending approval
2024-06-02 19:02:26 +02:00
bf9217ba84
order 2024-06-02 18:44:46 +02:00
aba8a501af
more clippy advices
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2024-05-28 20:58:41 +02:00
0d924de79b
clippy::pendatic
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending approval
2024-05-28 20:26:58 +02:00
9dfcc1101d
Basic cours support (#44)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
feat: Basic support for new `/cours` endpoint (not ready for release yet), see commit description for more

- Basic /cours support
- Fix LaTeX support (see #47 / cours+blog)
  - Better detection of when there is LaTeX in document
  - Don't shuffle markdown and LaTeX processing (thanks to comrak)
  - Macros on release
- Local image support (cours+blog)
- PDF support
- Support of markdown files integration in other markdown files
- Very basic exclusion support in toc (need a lot of improvement!!)
- Update multiple dependencies (actix-web, ramhorns, comrak, reqwest, hljs)
- Reformat some code
- ToC in /cours support (very basic, works via building it in rust and processing it in js)
- Remove very old assets (font + jspdf)
- Hide navbar when printing the website
- New tag in index page
- Fix OCaml support for HLJS + add "pseudocode" derived from Julia

Reviewed-on: #44
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2024-04-01 18:11:46 +02:00
5ce39b0453
variable for data directory path 2024-01-24 11:52:20 +01:00
db4019ab67
preserve templates
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2024-01-19 17:04:20 +01:00
68814cdd20
fix metadata? 2023-10-24 12:21:30 +02:00
fe0ccd913c
fix url
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-10-24 11:50:30 +02:00
9f95eb2b6b
Rework (#35)
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
- Style rework
- Update dependencies to latest

Close #33
Close #34

Reviewed-on: #35
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
2023-10-15 20:58:20 +02:00
76c682264f
Derive all struct and enum with debug 2023-05-02 13:34:43 +02:00
503173f129
use of name and fullname
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-04-28 12:49:48 +02:00
c2a9393ef1
ask for owner name
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 16:21:57 +02:00
c1f724e8bc
if possible, use into instead of to_owned
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-26 12:07:46 +02:00
8ba2862cca
better js minification
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 15:43:08 +02:00
b0112c06d6
use to_owned instead of clone
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-24 12:18:21 +02:00
f2359be6a3
add comments
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 19:47:47 +02:00
dce767d641
change to_string to to_owned
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-21 19:22:00 +02:00
568a864dc9
minify css and js inside html + pass w3 validator
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
2023-04-11 02:31:30 +02:00
46ced07b2a
use global config
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-11 01:08:07 +02:00
d4ff53cee8
Specify app name 2023-04-11 00:57:30 +02:00
4a1aae9fa4
fmt
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-09 19:44:24 +02:00
144081da09
don't delete the dist directory
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-09 19:43:55 +02:00
eb9e7e22f3
impl render to template class
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 19:26:20 +02:00
6d3b4c8398
migration: askama to ramhorns
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 19:02:06 +02:00
d1f1d5d478
Revert "always use dist directory"
This reverts commit d1568f406d.
2023-04-09 18:23:51 +02:00
d1568f406d
always use dist directory
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 17:35:15 +02:00
c42238a624
cleanup
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
2023-04-09 17:01:30 +02:00
ea5ce83658
Template minification
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
ci/woodpecker/pr/publish Pipeline is pending
* use dist/template when exists
* move the minification in config.rs
* load askama.toml for the templates dirs name
* extract the minification of file to minify_and_copy
2023-04-09 16:58:21 +02:00
6a592f179a
split config and fileconfig
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-04-09 15:19:23 +02:00
c419f92334
support onion
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
2023-02-16 21:59:04 +01:00
23f0c99540
Complete the config file with default values 2023-02-16 15:58:43 +01:00
2ae5270d5e
Move the default configuration to the config file 2023-02-09 12:42:39 +01:00
6b932d45ba
use default trait 2023-02-09 11:42:33 +01:00
d57231cfc4
all the config is optional 2023-02-09 11:36:22 +01:00
d7ee3f903f
add security.txt 2023-02-08 22:14:57 +01:00
691c766312
add port on config 2023-02-08 20:58:24 +01:00
a8a39cf5b9
add hello world 2023-02-08 20:49:05 +01:00