Compare commits

..

171 commits

Author SHA1 Message Date
f2606fe2d0 Merge pull request 'chore(deps): update dependency sass to v1.79.3' (#112) from renovate/sass-1.x-lockfile into master
Reviewed-on: #112
2024-09-21 20:05:39 +05:30
2fc66ab165 Merge pull request 'fix(deps): update rust crate clap to v4.5.18' (#113) from renovate/clap-4.x-lockfile into master
Reviewed-on: #113
2024-09-21 20:05:34 +05:30
Renovate Bot
3a5cbcbf0e chore(deps): update dependency sass to v1.79.3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-09-20 21:35:24 +00:00
Renovate Bot
8983df286b fix(deps): update rust crate clap to v4.5.18
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-09-20 20:36:40 +00:00
a8fe4faf59 Merge pull request 'chore(deps): update dependency sass to v1.79.1' (#111) from renovate/sass-1.x-lockfile into master
Reviewed-on: #111
2024-09-18 11:27:20 +05:30
Renovate Bot
fbe187ab3e chore(deps): update dependency sass to v1.79.1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-09-18 00:35:56 +00:00
12f8de0642 Merge pull request 'fix(deps): update rust crate tokio to v1.40.0' (#110) from renovate/tokio-1.x-lockfile into master
Reviewed-on: #110
2024-09-12 22:12:41 +05:30
105cedb268 Merge pull request 'fix(deps): update rust crate serde_json to v1.0.128' (#109) from renovate/serde_json-1.x-lockfile into master
Reviewed-on: #109
2024-09-12 22:10:13 +05:30
26aa18b530 Merge pull request 'fix(deps): update rust crate serde to v1.0.210' (#108) from renovate/serde-monorepo into master
Reviewed-on: #108
2024-09-12 22:09:25 +05:30
9cc9a4e435 Merge pull request 'fix(deps): update rust crate clap to v4.5.17' (#107) from renovate/clap-4.x-lockfile into master
Reviewed-on: #107
2024-09-12 22:09:21 +05:30
3bdda44c58 Merge pull request 'chore(deps): update dependency sass to v1.78.0' (#106) from renovate/sass-1.x-lockfile into master
Reviewed-on: #106
2024-09-12 22:03:50 +05:30
Renovate Bot
05048d102d fix(deps): update rust crate tokio to v1.40.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-09-11 14:13:14 +00:00
Renovate Bot
37702f62a2 fix(deps): update rust crate serde_json to v1.0.128
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-09-11 14:12:37 +00:00
Renovate Bot
25e9b6fc3c fix(deps): update rust crate serde to v1.0.210
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-09-11 14:12:29 +00:00
Renovate Bot
203851a266 fix(deps): update rust crate clap to v4.5.17
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-09-11 14:12:14 +00:00
Renovate Bot
ecd8636d45 chore(deps): update dependency sass to v1.78.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-09-03 23:06:53 +00:00
d683bb00eb Merge pull request 'chore(deps): update node.js to v20.17.0' (#105) from renovate/node-20.x into master
Reviewed-on: #105
2024-08-28 13:41:51 +05:30
Renovate Bot
5d71433228 chore(deps): update node.js to v20.17.0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-21 22:06:38 +00:00
6d9cf81766 Merge pull request 'fix(deps): update rust crate tokio to v1.39.3' (#104) from renovate/tokio-1.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/104
2024-08-19 13:54:38 +05:30
5fa03ecaa1 Merge pull request 'fix(deps): update rust crate clap to v4.5.16' (#103) from renovate/clap-4.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/103
2024-08-19 13:54:28 +05:30
e8ef87768b Merge pull request 'fix(deps): update rust crate serde to v1.0.208' (#102) from renovate/serde-monorepo into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/102
2024-08-19 13:53:10 +05:30
c0267665ae Merge pull request 'fix(deps): update rust crate serde_json to v1.0.125' (#101) from renovate/serde_json-1.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/101
2024-08-19 13:52:42 +05:30
Renovate Bot
6ad6ad43ff fix(deps): update rust crate tokio to v1.39.3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-17 18:05:12 +00:00
Renovate Bot
3fd4fec5b0 fix(deps): update rust crate clap to v4.5.16
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-15 22:05:04 +00:00
Renovate Bot
178defb4c0 fix(deps): update rust crate serde to v1.0.208
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-15 16:05:26 +00:00
Renovate Bot
43bbd65bdf fix(deps): update rust crate serde_json to v1.0.125
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-15 06:05:21 +00:00
2445da5164 Merge pull request 'fix(deps): update rust crate serde to v1.0.207' (#96) from renovate/serde-monorepo into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/96
2024-08-13 15:34:33 +05:30
8bf9e6e1ce Merge pull request 'fix(deps): update rust crate actix-web to v4.9.0' (#99) from renovate/actix-web-4.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/99
2024-08-13 15:30:55 +05:30
b120a628f1 Merge pull request 'fix(deps): update rust crate actix-http to v3.9.0' (#98) from renovate/actix-http-3.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/98
2024-08-13 15:30:55 +05:30
a972b871dc Merge pull request 'fix(deps): update rust crate clap to v4.5.15' (#97) from renovate/clap-4.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/97
2024-08-13 15:29:28 +05:30
9e6e1caa56 Merge pull request 'fix(deps): update rust crate serde_json to v1.0.124' (#100) from renovate/serde_json-1.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/100
2024-08-13 15:28:05 +05:30
Renovate Bot
a24136062d fix(deps): update rust crate serde to v1.0.207
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-12 20:35:55 +00:00
Renovate Bot
d16aa959d1 fix(deps): update rust crate serde_json to v1.0.124
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-11 21:34:55 +00:00
Renovate Bot
c1f73939ff fix(deps): update rust crate actix-web to v4.9.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-10 02:35:07 +00:00
Renovate Bot
6fbcfd7476 fix(deps): update rust crate actix-http to v3.9.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-10 02:35:00 +00:00
Renovate Bot
4f644f6868 fix(deps): update rust crate clap to v4.5.15
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-10 00:35:34 +00:00
718bace169 Merge pull request 'fix(deps): update rust crate serde_json to v1.0.122' (#94) from renovate/serde_json-1.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/94
2024-08-02 11:48:48 +05:30
Renovate Bot
ce309c4b56 fix(deps): update rust crate serde_json to v1.0.122
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-08-01 21:36:16 +00:00
6d444923f1 Merge pull request 'fix(deps): update rust crate clap to v4.5.13' (#93) from renovate/clap-4.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/93
2024-08-01 09:20:37 +05:30
Renovate Bot
cc7fa95571 fix(deps): update rust crate clap to v4.5.13
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-31 22:04:17 +00:00
31a2f71bf8 Merge pull request 'fix(deps): update rust crate clap to v4.5.12' (#91) from renovate/clap-4.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/91
2024-08-01 03:27:03 +05:30
f7253389db Merge pull request 'fix(deps): update rust crate toml to v0.8.19' (#92) from renovate/toml-0.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/92
2024-08-01 03:26:42 +05:30
Renovate Bot
576b6e30eb fix(deps): update rust crate toml to v0.8.19
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-31 19:37:02 +00:00
Renovate Bot
7194a0c30f fix(deps): update rust crate clap to v4.5.12
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-31 17:34:44 +00:00
38a9fb8ec3 Merge pull request 'fix(deps): update rust crate toml to v0.8.17' (#90) from renovate/toml-0.x-lockfile into master
Reviewed-on: https://git.batsense.net///LibrePages/librepages/pulls/90
2024-07-31 21:30:18 +05:30
Renovate Bot
10b84c3613 fix(deps): update rust crate toml to v0.8.17
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-30 16:36:59 +00:00
74dbae5cdd Merge pull request 'fix(deps): update rust crate num_enum to v0.7.3' (#89) from renovate/num_enum-0.x-lockfile into master
Reviewed-on: #89
2024-07-30 18:00:16 +05:30
Renovate Bot
f8bcfc85b9 fix(deps): update rust crate num_enum to v0.7.3
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline is running
2024-07-29 13:03:59 +00:00
13b7c8d587 Merge pull request 'fix(deps): update rust crate serde_json to v1.0.121' (#88) from renovate/serde_json-1.x-lockfile into master
Reviewed-on: #88
2024-07-29 16:10:31 +05:30
Renovate Bot
1d0e49b24e fix(deps): update rust crate serde_json to v1.0.121
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-28 21:34:01 +00:00
62a1147447 Merge pull request 'fix(deps): update rust crate tokio to v1.39.2' (#87) from renovate/tokio-1.x-lockfile into master
Reviewed-on: #87
2024-07-27 20:28:39 +05:30
Renovate Bot
1f7f6eb52e fix(deps): update rust crate tokio to v1.39.2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-27 11:04:16 +00:00
2e6c95eb09 Merge pull request 'fix(deps): update rust crate clap to v4.5.11' (#85) from renovate/clap-4.x-lockfile into master
Reviewed-on: #85
2024-07-26 13:44:27 +05:30
83b6f88244 Merge pull request 'fix(deps): update rust crate toml to v0.8.16' (#86) from renovate/toml-0.x-lockfile into master
Reviewed-on: #86
2024-07-26 13:44:13 +05:30
Renovate Bot
b9997bc84e fix(deps): update rust crate toml to v0.8.16
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-25 15:07:40 +00:00
Renovate Bot
0550ef3133 fix(deps): update rust crate clap to v4.5.11
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-25 14:07:41 +00:00
5c0eef4a96 Merge pull request 'chore(deps): update node.js to v20.16.0' (#84) from renovate/node-20.x into master
Reviewed-on: #84
2024-07-25 17:31:28 +05:30
Renovate Bot
2354062b35 chore(deps): update node.js to v20.16.0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-24 16:32:50 +00:00
47a5b42507 Merge pull request 'fix(deps): update rust crate tokio to v1.39.1' (#83) from renovate/tokio-1.x-lockfile into master
Reviewed-on: #83
2024-07-24 11:42:35 +05:30
Renovate Bot
e989c134b0 fix(deps): update rust crate tokio to v1.39.1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-23 16:32:51 +00:00
e19867a616 Merge pull request 'fix(deps): update rust crate clap to v4.5.10' (#82) from renovate/clap-4.x-lockfile into master
Reviewed-on: #82
2024-07-23 21:51:05 +05:30
Renovate Bot
d245215c06 fix(deps): update rust crate clap to v4.5.10
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-23 16:04:10 +00:00
64e2487285 Merge pull request 'fix(deps): update rust crate tokio to v1.39.0' (#81) from renovate/tokio-1.x-lockfile into master
Reviewed-on: #81
2024-07-23 21:27:13 +05:30
Renovate Bot
af0af42dc9 fix(deps): update rust crate tokio to v1.39.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-23 14:04:30 +00:00
094dff8367 Merge pull request 'fix(deps): update rust crate toml to v0.8.15' (#80) from renovate/toml-0.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #80
2024-07-18 22:44:52 +05:30
Renovate Bot
e71da62d03 fix(deps): update rust crate toml to v0.8.15
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-18 16:44:28 +00:00
cdfc8d21a8 Merge pull request 'fix(deps): update rust crate tokio to v1.38.1' (#79) from renovate/tokio-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #79
2024-07-17 09:52:09 +05:30
Renovate Bot
7bf0f92ae2 fix(deps): update rust crate tokio to v1.38.1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-16 17:34:08 +00:00
e1f182abff Merge pull request 'chore(deps): update dependency sass to v1.77.8' (#78) from renovate/sass-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #78
2024-07-12 16:35:03 +05:30
Renovate Bot
374aa71574 chore(deps): update dependency sass to v1.77.8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-11 20:06:54 +00:00
83d16f85d9 Merge pull request 'chore(deps): update dependency sass to v1.77.7' (#77) from renovate/sass-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #77
2024-07-10 16:30:39 +05:30
d4fc77cbe3 Merge pull request 'chore(deps): update node.js to v20.15.1' (#76) from renovate/node-20.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #76
2024-07-10 16:30:35 +05:30
Renovate Bot
72cac97a43 chore(deps): update dependency sass to v1.77.7
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline failed
2024-07-09 22:04:37 +00:00
Renovate Bot
30b292a6d8 chore(deps): update node.js to v20.15.1
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-09 16:04:21 +00:00
d18ace4d1e Merge pull request 'fix(deps): update rust crate rust-embed to v8.5.0' (#75) from renovate/rust-embed-8.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #75
2024-07-09 14:04:16 +05:30
d99fd71e4a Merge pull request 'fix(deps): update rust crate clap to v4.5.9' (#74) from renovate/clap-4.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #74
2024-07-09 14:03:45 +05:30
Renovate Bot
18f15cae55 fix(deps): update rust crate rust-embed to v8.5.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-09 06:33:22 +00:00
Renovate Bot
ebc07b4bee fix(deps): update rust crate clap to v4.5.9
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-09 02:32:47 +00:00
93e17d8ba5 Merge pull request 'fix(deps): update rust crate serde to v1.0.204' (#73) from renovate/serde-monorepo into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #73
2024-07-08 18:56:03 +05:30
Renovate Bot
fb45112eb0 fix(deps): update rust crate serde to v1.0.204
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-06 21:05:40 +00:00
790355bc7d Merge pull request 'fix(deps): update rust crate serde_json to v1.0.120' (#72) from renovate/serde_json-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #72
2024-07-02 11:35:10 +05:30
Renovate Bot
ea64b5f73e fix(deps): update rust crate serde_json to v1.0.120
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-07-01 17:36:35 +00:00
c1a1e41661 Merge pull request 'fix(deps): update rust crate serde_json to v1.0.119' (#71) from renovate/serde_json-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #71
2024-07-01 03:55:03 +05:30
Renovate Bot
0a31f39b5a fix(deps): update rust crate serde_json to v1.0.119
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-30 18:35:12 +00:00
0cefd9ebb3 Merge pull request 'fix(deps): update rust crate mime_guess to v2.0.5' (#70) from renovate/mime_guess-2.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #70
2024-06-30 22:10:54 +05:30
5c135a3b7d Merge pull request 'fix(deps): update rust crate clap to v4.5.8' (#69) from renovate/clap-4.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #69
2024-06-30 22:10:50 +05:30
Renovate Bot
d9800f9c3b fix(deps): update rust crate mime_guess to v2.0.5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-29 08:03:25 +00:00
Renovate Bot
de6f37b054 fix(deps): update rust crate clap to v4.5.8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-29 05:38:58 +00:00
a4b0ddcf3d Merge pull request 'fix(deps): update rust crate serde_json to v1.0.118' (#68) from renovate/serde_json-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #68
2024-06-25 11:52:04 +05:30
14157ca184 Merge pull request 'chore(deps): update node.js to v20.15.0' (#67) from renovate/node-20.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #67
2024-06-25 11:52:00 +05:30
458d0d5c30 Merge pull request 'fix(deps): update rust crate lazy_static to v1.5.0' (#66) from renovate/lazy_static-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #66
2024-06-25 11:51:56 +05:30
ec328d81df Merge pull request 'fix(deps): update rust crate actix-web to v4.8.0' (#65) from renovate/actix-web-4.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #65
2024-06-25 11:51:49 +05:30
4a38a01c34 Merge pull request 'fix(deps): update rust crate actix-http to v3.8.0' (#64) from renovate/actix-http-3.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #64
2024-06-25 11:51:45 +05:30
73d1428e96 Merge pull request 'chore(deps): update dependency sass to v1.77.6' (#63) from renovate/sass-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #63
2024-06-25 11:51:42 +05:30
Renovate Bot
d1ee9d9e0a fix(deps): update rust crate serde_json to v1.0.118
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-25 05:04:04 +00:00
Renovate Bot
977fc623f8 chore(deps): update node.js to v20.15.0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-24 22:33:28 +00:00
Renovate Bot
55a37ae7f8 fix(deps): update rust crate lazy_static to v1.5.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-21 23:08:31 +00:00
Renovate Bot
5f7085b128 fix(deps): update rust crate actix-web to v4.8.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-20 01:04:27 +00:00
Renovate Bot
9020f65b0a fix(deps): update rust crate actix-http to v3.8.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-19 23:34:32 +00:00
Renovate Bot
9fe5f7445c chore(deps): update dependency sass to v1.77.6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-18 13:38:05 +00:00
53f237d721 Merge pull request 'fix(deps): update rust crate derive_more to v0.99.18' (#62) from renovate/derive_more-0.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #62
2024-06-15 21:07:27 +05:30
Renovate Bot
59e9217cc4 fix(deps): update rust crate derive_more to v0.99.18
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-15 13:04:49 +00:00
ce80f36370 Merge pull request 'fix(deps): update rust crate git2 to 0.19.0' (#61) from renovate/git2-0.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #61
2024-06-14 20:40:01 +05:30
Renovate Bot
fbc38be770 fix(deps): update rust crate git2 to 0.19.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-14 01:07:18 +00:00
4f09e3af0a Merge pull request 'chore(deps): update dependency sass to v1.77.5' (#60) from renovate/sass-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #60
2024-06-12 14:59:50 +05:30
Renovate Bot
0d163a0932 chore(deps): update dependency sass to v1.77.5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-12 00:03:43 +00:00
5b4a34d19e Merge pull request 'fix(deps): update rust crate url to v2.5.1' (#59) from renovate/url-2.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #59
2024-06-11 13:20:29 +05:30
Renovate Bot
9ba2143bac fix(deps): update rust crate url to v2.5.1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-11 07:35:30 +00:00
888e951dae Merge pull request 'fix(deps): update rust crate clap to v4' (#57) from renovate/clap-4.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #57
2024-06-11 12:55:00 +05:30
Renovate Bot
15ba66c937 fix(deps): update rust crate clap to v4
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-11 06:33:12 +00:00
996eefaee4 Merge pull request 'fix(deps): update rust crate rust-embed to v8' (#58) from renovate/rust-embed-8.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #58
2024-06-11 11:52:07 +05:30
905c2ddc87 Merge pull request 'chore(deps): update node.js to v20' (#56) from renovate/node-20.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #56
2024-06-11 11:51:59 +05:30
ecb1805b1a Merge pull request 'fix(deps): update rust crate tracing-actix-web to 0.7.0' (#55) from renovate/tracing-actix-web-0.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #55
2024-06-11 11:51:53 +05:30
231560c476 Merge pull request 'fix(deps): update rust crate config to 0.14' (#44) from renovate/config-0.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #44
2024-06-11 11:51:48 +05:30
Renovate Bot
a96fd31060 fix(deps): update rust crate tracing-actix-web to 0.7.0
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 18:32:47 +00:00
Renovate Bot
23014cb5a0 fix(deps): update rust crate config to 0.14
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 18:32:42 +00:00
0930ed9e93 Merge pull request 'fix(deps): update rust crate tokio to v1.38.0' (#53) from renovate/tokio-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #53
2024-06-10 23:53:40 +05:30
5fa364fdc1 Merge pull request 'fix(deps): update rust crate toml to 0.8.0' (#54) from renovate/toml-0.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #54
2024-06-10 23:44:16 +05:30
a05062e128 Merge pull request 'fix(deps): update rust crate reqwest to 0.12.0' (#49) from renovate/reqwest-0.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #49
2024-06-10 23:43:28 +05:30
Renovate Bot
54072ff64b fix(deps): update rust crate rust-embed to v8
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 18:03:23 +00:00
Renovate Bot
d187d14e73 chore(deps): update node.js to v20
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 18:03:05 +00:00
7cadf192cf Merge pull request 'fix(deps): update rust crate tera to v1.20.0' (#52) from renovate/tera-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #52
2024-06-10 23:27:26 +05:30
6719c652a2 Merge pull request 'fix(deps): update rust crate pretty_env_logger to 0.5' (#48) from renovate/pretty_env_logger-0.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #48
2024-06-10 23:27:02 +05:30
c1027102f5 Merge pull request 'fix(deps): update rust crate git2 to 0.18.0' (#45) from renovate/git2-0.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #45
2024-06-10 23:18:58 +05:30
Renovate Bot
ccd0d03074 fix(deps): update rust crate tokio to v1.38.0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 17:32:58 +00:00
Renovate Bot
ea90f07f45 fix(deps): update rust crate reqwest to 0.12.0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 17:32:54 +00:00
7410e7f1fd Merge pull request 'fix(deps): update rust crate actix-web to v4.7.0' (#43) from renovate/actix-web-4.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #43
2024-06-10 23:01:45 +05:30
Renovate Bot
1873179bec fix(deps): update rust crate toml to 0.8.0
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 17:10:33 +00:00
Renovate Bot
e43174575d fix(deps): update rust crate tera to v1.20.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 17:10:23 +00:00
Renovate Bot
755177fb2e fix(deps): update rust crate pretty_env_logger to 0.5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 17:10:20 +00:00
Renovate Bot
6f203771d0 fix(deps): update rust crate git2 to 0.18.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 17:03:59 +00:00
e17a9881dc Merge pull request 'fix(deps): update rust crate rust-embed to v6.8.1' (#50) from renovate/rust-embed-6.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #50
2024-06-10 22:33:53 +05:30
Renovate Bot
b271d8abcd fix(deps): update rust crate actix-web to v4.7.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 17:03:51 +00:00
78e2de32a6 Merge pull request 'fix(deps): update rust crate num_enum to 0.7.0' (#47) from renovate/num_enum-0.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #47
2024-06-10 22:33:43 +05:30
a18f9601ef Merge pull request 'fix(deps): update rust crate num_cpus to v1.16.0' (#46) from renovate/num_cpus-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #46
2024-06-10 22:33:39 +05:30
5454f36bc8 Merge pull request 'fix(deps): update rust crate actix-http to v3.7.0' (#40) from renovate/actix-http-3.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #40
2024-06-10 22:33:22 +05:30
Renovate Bot
b1ba1cf8f5 fix(deps): update rust crate rust-embed to v6.8.1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 15:33:47 +00:00
Renovate Bot
e8d2113170 fix(deps): update rust crate num_enum to 0.7.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 15:33:19 +00:00
Renovate Bot
4df6187e40 fix(deps): update rust crate num_cpus to v1.16.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 15:33:07 +00:00
Renovate Bot
477d8b4b00 fix(deps): update rust crate actix-http to v3.7.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 15:32:47 +00:00
c6baccaa72 Merge pull request 'fix(deps): update rust crate actix-rt to v2.10.0' (#42) from renovate/actix-rt-2.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #42
2024-06-10 20:52:29 +05:30
805bc43cbb Merge pull request 'chore(deps): update rust crate mktemp to 0.5.0' (#39) from renovate/mktemp-0.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #39
2024-06-10 20:52:21 +05:30
58af924b13 Merge pull request 'chore(deps): update node.js to v16.20.2' (#38) from renovate/node-16.x into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #38
2024-06-10 20:52:17 +05:30
1ffb5ac804 Merge pull request 'fix(deps): update rust crate tracing to v0.1.40' (#27) from renovate/tokio-tracing-monorepo into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #27
2024-06-10 20:52:13 +05:30
ceefe08ac8 Merge pull request 'fix(deps): update rust crate serde_yaml to v0.9.34' (#25) from renovate/serde_yaml-0.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #25
2024-06-10 20:52:09 +05:30
d82315f8fa Merge pull request 'fix(deps): update rust crate serde_json to v1.0.117' (#24) from renovate/serde_json-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #24
2024-06-10 20:51:52 +05:30
134d05f601 Merge pull request 'fix(deps): update rust crate serde to v1.0.203' (#23) from renovate/serde-monorepo into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #23
2024-06-10 20:51:48 +05:30
Renovate Bot
14a4d12741 fix(deps): update rust crate actix-rt to v2.10.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 14:04:56 +00:00
Renovate Bot
b9c2e16d3a chore(deps): update rust crate mktemp to 0.5.0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 14:04:38 +00:00
Renovate Bot
6afb2b64d3 chore(deps): update node.js to v16.20.2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 14:04:24 +00:00
Renovate Bot
8645cb5746 fix(deps): update rust crate tracing to v0.1.40
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 14:04:22 +00:00
Renovate Bot
2c343bb903 fix(deps): update rust crate serde_yaml to v0.9.34
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 14:04:13 +00:00
Renovate Bot
5e33521ace fix(deps): update rust crate serde_json to v1.0.117
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 14:04:02 +00:00
Renovate Bot
a539210956 fix(deps): update rust crate serde to v1.0.203
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2024-06-10 14:03:55 +00:00
f5cf322c3c Merge pull request 'chore(deps): update dependency sass to v1.77.4' (#29) from renovate/sass-1.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #29
2024-06-10 19:04:04 +05:30
7c12bea932 Merge pull request 'fix(deps): update rust crate urlencoding to v2.1.3' (#28) from renovate/urlencoding-2.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #28
2024-06-10 19:04:01 +05:30
79eedaf491 Merge pull request 'fix(deps): update rust crate sha2 to v0.10.8' (#26) from renovate/sha2-0.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #26
2024-06-10 19:03:53 +05:30
eec3724290 Merge pull request 'fix(deps): update rust crate mime to v0.3.17' (#22) from renovate/mime-0.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #22
2024-06-10 19:03:31 +05:30
4ee3e5d85b Merge pull request 'fix(deps): update rust crate clap to v3.2.25' (#21) from renovate/clap-3.x-lockfile into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #21
2024-06-10 19:03:27 +05:30
bdb7fe731e Merge pull request 'chore(deps): update rust crate futures to v0.3.30' (#20) from renovate/rust-futures-monorepo into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #20
2024-06-10 19:03:24 +05:30
Renovate Bot
efc4e82841 chore(deps): update dependency sass to v1.77.4
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 10:33:36 +00:00
Renovate Bot
4f7289695b fix(deps): update rust crate urlencoding to v2.1.3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 10:33:24 +00:00
Renovate Bot
67f0814c04 fix(deps): update rust crate sha2 to v0.10.8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 10:33:15 +00:00
Renovate Bot
39fab145a3 fix(deps): update rust crate mime to v0.3.17
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 10:32:54 +00:00
Renovate Bot
781c6275bd fix(deps): update rust crate clap to v3.2.25
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 10:32:51 +00:00
Renovate Bot
d2885ddb4d chore(deps): update rust crate futures to v0.3.30
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2024-06-10 10:32:48 +00:00
09d2deeb71 Merge pull request 'ci-init-conductor' (#37) from ci-init-conductor into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #37
2024-06-10 15:44:20 +05:30
67fa2c7381
fix: isolate test db
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2024-06-10 15:36:00 +05:30
02e3e3f371
fix: CI: start conductor service container 2024-06-10 15:05:15 +05:30
b559bc56b1 Merge pull request 'chore: Configure Renovate' (#19) from renovate/configure into master
Reviewed-on: #19
2024-06-04 10:13:37 +05:30
Renovate Bot
6a87745694 Add renovate.json 2024-06-03 03:02:07 +00:00
32 changed files with 1337 additions and 1718 deletions

View file

@ -1,4 +1,24 @@
pipeline:
steps:
librepages-conductor:
image: realaravinth/librepages-conductor
detach: true
environment:
- LPCONDUCTOR__SOURCE_CODE=https://git.batsense.net/LibrePages/conductor
- LPCONDUCTOR_SERVER__PROXY_HAS_TLS=false
- LPCONDUCTOR_DEBUG=false
- LPCONDUCTOR_CONDUCTOR=dummy
- LPCONDUCTOR_SERVER_DOMAIN=librepages.test
- LPCONDUCTOR_SERVER_IP=0.0.0.0
- LPCONDUCTOR_SERVER_PROXY_HAS_TLS=false
- LPCONDUCTOR_SERVER_PORT=7000
- LPCONDUCTOR_SOURCE_CODE=https://example.org
- LPCONDUCTOR_CREDS_USERNAME=librepages_api
- LPCONDUCTOR_CREDS_TOKEN=longrandomlygeneratedpassword
- PORT=5000
- LPCONDUCTOR_CREDS_PASSWORD=longrandomlygeneratedpassword
commands:
- conductor serve
backend:
image: rust
environment:
@ -10,7 +30,6 @@ pipeline:
- rustup component add clippy
# rewrite conducotr configuration
- sed -i 's%url = "http:\/\/localhost:5000"%url = "http:\/\/librepages-conductor:5000"%' config/default.toml
- sed -i 's%url = "http:\/\/localhost:6000"%url = "http:\/\/librepages-forms:6000"%' config/default.toml
- make dev-env
- make migrate
- make lint
@ -30,6 +49,7 @@ pipeline:
image: plugins/docker
when:
event: [push, tag, deployment]
branch: master
settings:
username: realaravinth
password:
@ -53,6 +73,7 @@ pipeline:
image: rust
when:
event: [push, tag, deployment]
branch: master
commands:
- apt update
- apt-get -y --no-install-recommends install gpg tar curl wget
@ -65,40 +86,3 @@ services:
image: postgres
environment:
- POSTGRES_PASSWORD=password
forms-postgres:
image: postgres
environment:
- POSTGRES_PASSWORD=password
librepages-forms:
image: realaravinth/librepages-forms
command: forms serve
environment:
- LPFORMS_SOURCE_CODE=https://git.batsense.net/LibrePages/forms
- LPFORMS_SERVER__PROXY_HAS_TLS=false
- LPFORMS_DEBUG=false
- LPFORMS_SERVER_URL_PREFIX=""
- LPFORMS_SERVER_DOMAIN=forms.librepages.test
- LPFORMS_SERVER_IP=0.0.0.0
- LPFORMS_SERVER_PROXY_HAS_TLS=false
- LPFORMS_DASH_API_KEY=longrandomlygeneratedpassword
- LPFORMS_DATABASE_POOL=2
- PORT=6000
- DATABASE_URL=postgres://postgres:password@forms-postgres:5432/postgres
librepages-conductor:
image: realaravinth/librepages-conductor
command: conductor serve
environment:
- LPCONDUCTOR_SERVER__PROXY_HAS_TLS=false
- LPCONDUCTOR_DEBUG=false
- LPCONDUCTOR_CONDUCTOR=dummy
- LPCONDUCTOR_SERVER_URL_PREFIX=""
- LPCONDUCTOR_SERVER_DOMAIN=librepages.test
- LPCONDUCTOR_SERVER_IP=0.0.0.0
- LPCONDUCTOR_SERVER_PROXY_HAS_TLS=false
- LPCONDUCTOR_SERVER_PORT=7000
- LPCONDUCTOR_SOURCE_CODE=https://example.org
- LPCONDUCTOR_CREDS_TOKEN=longrandomlygeneratedpassword
- PORT=5000

1515
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -20,18 +20,17 @@ actix-rt = "2"
actix-web-codegen-const-routes = { version = "0.1.0", tag = "0.1.0", git = "https://github.com/realaravinth/actix-web-codegen-const-routes" }
argon2-creds = { branch = "master", git = "https://github.com/realaravinth/argon2-creds"}
sqlx = { version = "0.6.2", features = ["runtime-actix-rustls", "postgres", "time", "offline", "json", "uuid"] }
clap = { version = "3.2.20", features = ["derive"]}
clap = { version = "4.0.0", features = ["derive"]}
libconfig = { version = "0.1.0", git = "https://git.batsense.net/librepages/libconfig" }
libconductor = { version = "0.1.0", git = "https://git.batsense.net/librepages/conductor/" }
libforms = { version = "0.1.0", git = "https://git.batsense.net/librepages/forms/" }
config = "0.13"
git2 = "0.14.2"
config = "0.14"
git2 = "0.19.0"
serde = { version = "1", features = ["derive", "rc"]}
serde_json = "1"
pretty_env_logger = "0.4"
pretty_env_logger = "0.5"
lazy_static = "1.4"
url = { version = "2.2", features = ["serde"] }
@ -42,22 +41,21 @@ derive_more = "0.99"
num_cpus = "1.13"
tokio = { version = "1", features=["sync"]}
num_enum = "0.5.7"
num_enum = "0.7.0"
mime_guess = "2.0.4"
mime = "0.3.16"
rust-embed = "6.3.0"
rust-embed = "8.0.0"
rand = "0.8.5"
tracing = { version = "0.1.37", features = ["log"]}
tracing-actix-web = "0.6.2"
toml = "0.5.9"
tracing-actix-web = "0.7.0"
toml = "0.8.0"
serde_yaml = "0.9.14"
uuid = { version = "1.2.2", features = ["serde"] }
reqwest = { version = "0.11.13", features = ["json"] }
reqwest = { version = "0.12.0", features = ["json"] }
sha2 = "0.10.6"
hmac = "0.12.1"
hex= "0.4.3"
time = { version = "0.3.17", features = ["formatting"] }
[dependencies.cache-buster]
git = "https://github.com/realaravinth/cache-buster"
@ -75,7 +73,7 @@ version = "0.2"
[dev-dependencies]
futures = "0.3.24"
mktemp = "0.4.1"
mktemp = "0.5.0"
[workspace]

View file

@ -1,4 +1,4 @@
FROM node:16.9.1 as frontend
FROM node:20.17.0 as frontend
COPY package.json package-lock.json /src/
WORKDIR /src
RUN npm install

View file

@ -5,7 +5,6 @@
**Auto-deploy static websites from git repositories**
</p>
[![status-badge](https://ci.batsense.net/api/badges/LibrePages/librepages/status.svg)](https://ci.batsense.net/LibrePages/librepages)

View file

@ -4,7 +4,7 @@ allow_registration = true
source_code = "https://git.batsense.net/LibrePages/pages"
support_email = "support@librepages.example.org"
conductors = [
{ api_key = "longrandomlygeneratedpassword", url = "http://localhost:5000"}
{ username = "librepages_api", api_key = "longrandomlygeneratedpassword", url = "http://localhost:5000"}
]
[server]
@ -38,7 +38,3 @@ password = "password"
name = "postgres"
pool = 4
database_type="postgres" # "postgres"
[form]
api_key = "longrandomlygeneratedpassword"
url = "http://localhost:6000"

View file

@ -1,24 +0,0 @@
[Unit]
Description=LibrePages: Easiest way to deploy websites
[Service]
Type=simple
User=librepages
ExecStart=/usr/bin/librepages serve
Restart=on-failure
RestartSec=1
SuccessExitStatus=3 4
RestartForceExitStatus=3 4
SystemCallArchitectures=native
MemoryDenyWriteExecute=true
NoNewPrivileges=true
Environment="RUST_LOG=info"
[Unit]
Wants=network-online.target
Wants=network-online.target
Requires=postgresql.service
After=syslog.target
[Install]
WantedBy=multi-user.target

331
package-lock.json generated
View file

@ -12,103 +12,19 @@
"sass": "^1.54.9"
}
},
"node_modules/anymatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
"integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
"dev": true,
"dependencies": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
},
"engines": {
"node": ">= 8"
}
},
"node_modules/binary-extensions": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
"dev": true,
"engines": {
"node": ">=8"
}
},
"node_modules/braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"dev": true,
"dependencies": {
"fill-range": "^7.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/chokidar": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
"dev": true,
"funding": [
{
"type": "individual",
"url": "https://paulmillr.com/funding/"
}
],
"dependencies": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
"glob-parent": "~5.1.2",
"is-binary-path": "~2.1.0",
"is-glob": "~4.0.1",
"normalize-path": "~3.0.0",
"readdirp": "~3.6.0"
},
"engines": {
"node": ">= 8.10.0"
},
"optionalDependencies": {
"fsevents": "~2.3.2"
}
},
"node_modules/fill-range": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.0.tgz",
"integrity": "sha512-mxIojEAQcuEvT/lyXq+jf/3cO/KoA6z4CeNDGGevTybECPOMFCnQy3OPahluUkbqgPNGw5Bi78UC7Po6Lhy+NA==",
"dev": true,
"dependencies": {
"to-regex-range": "^5.0.1"
"readdirp": "^4.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"dev": true,
"hasInstallScript": true,
"optional": true,
"os": [
"darwin"
],
"engines": {
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
"node_modules/glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
"dependencies": {
"is-glob": "^4.0.1"
"node": ">= 14.16.0"
},
"engines": {
"node": ">= 6"
"funding": {
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/immutable": {
@ -117,88 +33,26 @@
"integrity": "sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==",
"dev": true
},
"node_modules/is-binary-path": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
"dev": true,
"dependencies": {
"binary-extensions": "^2.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/is-extglob": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
"node_modules/readdirp": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.1.tgz",
"integrity": "sha512-GkMg9uOTpIWWKbSsgwb5fA4EavTR+SG/PMPoAY8hkhHfEEY0/vqljY+XHqtDf2cr2IJtoNRDbrrEpZUiZCkYRw==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/is-glob": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
"dev": true,
"dependencies": {
"is-extglob": "^2.1.1"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/is-number": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true,
"engines": {
"node": ">=0.12.0"
}
},
"node_modules/normalize-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/picomatch": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"dev": true,
"engines": {
"node": ">=8.6"
"node": ">= 14.16.0"
},
"funding": {
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/readdirp": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
"dev": true,
"dependencies": {
"picomatch": "^2.2.1"
},
"engines": {
"node": ">=8.10.0"
"type": "individual",
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/sass": {
"version": "1.54.9",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.54.9.tgz",
"integrity": "sha512-xb1hjASzEH+0L0WI9oFjqhRi51t/gagWnxLiwUNMltA0Ab6jIDkAacgKiGYKM9Jhy109osM7woEEai6SXeJo5Q==",
"version": "1.79.3",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.79.3.tgz",
"integrity": "sha512-m7dZxh0W9EZ3cw50Me5GOuYm/tVAJAn91SUnohLRo9cXBixGUOdvmryN+dXpwR831bhoY3Zv7rEFt85PUwTmzA==",
"dev": true,
"dependencies": {
"chokidar": ">=3.0.0 <4.0.0",
"chokidar": "^4.0.0",
"immutable": "^4.0.0",
"source-map-js": ">=0.6.2 <2.0.0"
},
@ -206,7 +60,7 @@
"sass": "sass.js"
},
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
}
},
"node_modules/source-map-js": {
@ -217,85 +71,16 @@
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dev": true,
"dependencies": {
"is-number": "^7.0.0"
},
"engines": {
"node": ">=8.0"
}
}
},
"dependencies": {
"anymatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
"integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
"dev": true,
"requires": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
}
},
"binary-extensions": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
"dev": true
},
"braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"dev": true,
"requires": {
"fill-range": "^7.0.1"
}
},
"chokidar": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.0.tgz",
"integrity": "sha512-mxIojEAQcuEvT/lyXq+jf/3cO/KoA6z4CeNDGGevTybECPOMFCnQy3OPahluUkbqgPNGw5Bi78UC7Po6Lhy+NA==",
"dev": true,
"requires": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
"fsevents": "~2.3.2",
"glob-parent": "~5.1.2",
"is-binary-path": "~2.1.0",
"is-glob": "~4.0.1",
"normalize-path": "~3.0.0",
"readdirp": "~3.6.0"
}
},
"fill-range": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
"dev": true,
"requires": {
"to-regex-range": "^5.0.1"
}
},
"fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"dev": true,
"optional": true
},
"glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
"requires": {
"is-glob": "^4.0.1"
"readdirp": "^4.0.1"
}
},
"immutable": {
@ -304,64 +89,19 @@
"integrity": "sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==",
"dev": true
},
"is-binary-path": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
"dev": true,
"requires": {
"binary-extensions": "^2.0.0"
}
},
"is-extglob": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
"dev": true
},
"is-glob": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
"dev": true,
"requires": {
"is-extglob": "^2.1.1"
}
},
"is-number": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true
},
"normalize-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
"dev": true
},
"picomatch": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"dev": true
},
"readdirp": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
"dev": true,
"requires": {
"picomatch": "^2.2.1"
}
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.1.tgz",
"integrity": "sha512-GkMg9uOTpIWWKbSsgwb5fA4EavTR+SG/PMPoAY8hkhHfEEY0/vqljY+XHqtDf2cr2IJtoNRDbrrEpZUiZCkYRw==",
"dev": true
},
"sass": {
"version": "1.54.9",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.54.9.tgz",
"integrity": "sha512-xb1hjASzEH+0L0WI9oFjqhRi51t/gagWnxLiwUNMltA0Ab6jIDkAacgKiGYKM9Jhy109osM7woEEai6SXeJo5Q==",
"version": "1.79.3",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.79.3.tgz",
"integrity": "sha512-m7dZxh0W9EZ3cw50Me5GOuYm/tVAJAn91SUnohLRo9cXBixGUOdvmryN+dXpwR831bhoY3Zv7rEFt85PUwTmzA==",
"dev": true,
"requires": {
"chokidar": ">=3.0.0 <4.0.0",
"chokidar": "^4.0.0",
"immutable": "^4.0.0",
"source-map-js": ">=0.6.2 <2.0.0"
}
@ -371,15 +111,6 @@
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
"dev": true
},
"to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dev": true,
"requires": {
"is-number": "^7.0.0"
}
}
}
}

21
renovate.json Normal file
View file

@ -0,0 +1,21 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":dependencyDashboard"
],
"labels": [
"renovate-bot"
],
"prHourlyLimit": 0,
"timezone": "Asia/kolkata",
"prCreation": "immediate",
"vulnerabilityAlerts": {
"enabled": true,
"labels": [
"renovate-bot",
"renovate-security",
"security"
]
}
}

View file

@ -25,7 +25,7 @@ DUMBSERVE_USERNAME=librepages
DUMBSERVE_PASSWORD=$4
DUMBSERVE_HOST="https://$DUMBSERVE_USERNAME:$DUMBSERVE_PASSWORD@dl.librepages.org"
NAME=librepages
NAME=librebages
KEY=67880CA5F4BC99BF247330E2DA576B07BC323961
TMP_DIR=$(mktemp -d)
@ -42,9 +42,6 @@ get_bin(){
#docker cp $container_id:/usr/local/bin/pages $TARGET_DIR/
#docker rm -v $container_id
cp target/release/librepages $TARGET_DIR
cp -r contrib/ $TARGET_DIR
cp -r config/ $TARGET_DIR
mv $TARGET_DIR/config/default.toml $TARGET_DIR/config/config.toml
}
copy() {

View file

@ -15,7 +15,8 @@ docker create --name $NAME -p 5000:5000 \
-e LPCONDUCTOR_SERVER_PROXY_HAS_TLS="false" \
-e LPCONDUCTOR_SERVER_PORT=7000 \
-e LPCONDUCTOR_SOURCE_CODE="https://example.org" \
-e LPCONDUCTOR_CREDS_TOKEN=$LPCONDUCTOR_CREDS_PASSWORD \
-e LPCONDUCTOR_CREDS_USERNAME=$LPCONDUCTOR_CREDS_USERNAME \
-e LPCONDUCTOR_CREDS_PASSWORD=$LPCONDUCTOR_CREDS_PASSWORD \
-e PORT="5000"\
realaravinth/librepages-conductor conductor serve

View file

@ -1,32 +0,0 @@
#!/bin/bash
readonly NAME=librepages-forms-develop
readonly DB_NAME=librepages-forms-postgres-develop
docker rm -f $NAME
docker rm -f $DB_NAME
docker create --name $DB_NAME -p 5433:5432 \
-e POSTGRES_PASSWORD=password \
postgres
docker create --name $NAME -p 6000:6000 \
--network=host \
-e LPFORMS__SOURCE_CODE="https://git.batsense.net/LibrePages/forms" \
-e LPFORMS_SERVER__PROXY_HAS_TLS=false \
-e LPFORMS_DEBUG="false" \
-e LPFORMS_SERVER_URL_PREFIX="" \
-e LPFORMS_SERVER_DOMAIN="forms.librepages.test" \
-e LPFORMS_SERVER_IP="0.0.0.0" \
-e LPFORMS_SERVER_PROXY_HAS_TLS="false" \
-e LPFORMS_SOURCE_CODE="https://example.org" \
-e LPFORMS_DASH_API_KEY=$LPFORMS_DASH_API_KEY \
-e LPFORMS_DATABASE_POOL=2 \
-e PORT="6000"\
-e DATABASE_URL=postgres://postgres:password@localhost:5433/postgres \
realaravinth/librepages-forms forms serve
docker start $DB_NAME
sleep 5
docker start $NAME

View file

@ -1,215 +0,0 @@
/*
* Copyright (C) 2022 Aravinth Manivannan <realaravinth@batsense.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
use actix_identity::Identity;
use actix_web::{web, HttpResponse, Responder};
use libforms::Table;
use serde::{Deserialize, Serialize};
use super::get_auth_middleware;
use crate::{errors::*, AppCtx};
pub mod routes {
pub struct Forms {
pub list_submissions: &'static str,
pub delete_submission: &'static str,
pub get_forms_for_host: &'static str,
}
impl Forms {
pub const fn new() -> Self {
Self {
list_submissions: "/api/v1/forms/submissions/list",
delete_submission: "/api/v1/forms/delete/{id}",
get_forms_for_host: "/api/v1/forms/list",
}
}
pub fn get_list(&self, page: usize) -> String {
format!("{}?page={}", self.list_submissions, page)
}
pub fn get_forms_for_host_route(&self, host: &str) -> String {
format!("{}?host={}", self.get_forms_for_host, host)
}
pub fn get_delete(&self, id: usize, host: &str, path: &str) -> String {
let del = self.delete_submission.replace("{id}", &id.to_string());
format!("{}?host={}&path={}", del, host, path)
}
}
}
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
pub struct Page {
page: usize,
}
#[actix_web_codegen_const_routes::post(
path = "crate::V1_API_ROUTES.forms.list_submissions",
wrap = "get_auth_middleware()"
)]
#[tracing::instrument(name = "List form submission" skip(id, ctx, payload))]
async fn list_submission(
ctx: AppCtx,
id: Identity,
page: web::Query<Page>,
payload: web::Json<Table>,
) -> ServiceResult<impl Responder> {
let owner = id.identity().unwrap();
let resp = ctx
.get_all_form_submission(&owner, page.page, &payload)
.await?;
Ok(HttpResponse::Ok().json(resp))
}
#[actix_web_codegen_const_routes::post(
path = "crate::V1_API_ROUTES.forms.delete_submission",
wrap = "get_auth_middleware()"
)]
#[tracing::instrument(name = "Delete form submission" skip(id, ctx))]
async fn delete_form_submission(
ctx: AppCtx,
id: Identity,
sub_id: web::Path<usize>,
payload: web::Json<Table>,
) -> ServiceResult<impl Responder> {
let owner = id.identity().unwrap();
ctx.delete_form_submission(&owner, *sub_id, &payload)
.await?;
Ok(HttpResponse::Ok())
}
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct Host {
pub host: String,
}
#[actix_web_codegen_const_routes::get(
path = "crate::V1_API_ROUTES.forms.get_forms_for_host",
wrap = "get_auth_middleware()"
)]
#[tracing::instrument(name = "Get forms belonging to hostname", skip(ctx, id))]
async fn list_all_forms(
id: Identity,
ctx: AppCtx,
query: web::Query<Host>,
) -> ServiceResult<impl Responder> {
let owner = id.identity().unwrap();
let forms = ctx.get_all_forms_for_host(&owner, &query.host).await?;
Ok(HttpResponse::Ok().json(forms))
}
pub fn services(cfg: &mut web::ServiceConfig) {
cfg.service(list_submission);
cfg.service(delete_form_submission);
cfg.service(list_all_forms);
}
#[cfg(test)]
mod tests {
use actix_web::{http::StatusCode, test};
use crate::tests;
use crate::*;
use libforms::*;
#[actix_rt::test]
async fn test_api_forms() {
const NAME: &str = "testapiformuser";
const PASSWORD: &str = "longpasswordasdfa2";
const EMAIL: &str = "testapiformuser@a.com";
let (_dir, ctx) = tests::get_ctx().await;
let _ = ctx.delete_user(NAME, PASSWORD).await;
let (_, signin_resp) = ctx.register_and_signin(NAME, EMAIL, PASSWORD).await;
let page = ctx.add_test_site(NAME.into()).await;
let cookies = get_cookie!(signin_resp);
let app = get_app!(ctx).await;
let site_info = Table {
host: page.domain.clone(),
path: format!("/foo/{NAME}"),
};
if let Ok(subs) = ctx.get_all_form_submission(NAME, 0, &site_info).await {
for s in subs.iter() {
let _ = ctx.delete_form_submission(NAME, s.id, &site_info).await;
}
}
ctx.add_form_submission(NAME, &site_info, &serde_json::to_value(&site_info).unwrap())
.await
.unwrap();
// get all forms for host
let list_forms_resp = test::call_service(
&app,
test::TestRequest::get()
.uri(&V1_API_ROUTES.forms.get_forms_for_host_route(&page.domain))
.cookie(cookies.clone())
.to_request(),
)
.await;
assert_eq!(list_forms_resp.status(), StatusCode::OK);
let forms: Vec<String> = test::read_body_json(list_forms_resp).await;
assert_eq!(forms, vec![site_info.path.to_string()]);
// list subs using REST API
let list_form_submissions = test::call_service(
&app,
post_request!(&site_info, &V1_API_ROUTES.forms.get_list(0))
.cookie(cookies.clone())
.to_request(),
)
.await;
assert_eq!(list_form_submissions.status(), StatusCode::OK);
let subs: Vec<FormSubmissionResp> = test::read_body_json(list_form_submissions).await;
assert_eq!(subs.len(), 1);
assert_eq!(
subs[0].value,
Some(serde_json::to_value(&site_info).unwrap())
);
// delete form submission
let delete_form_submission_resp = test::call_service(
&app,
post_request!(
&site_info,
&V1_API_ROUTES
.forms
.get_delete(subs[0].id, &site_info.host, &site_info.path)
)
.cookie(cookies.clone())
.to_request(),
)
.await;
assert_eq!(delete_form_submission_resp.status(), StatusCode::OK);
// list subs using REST API post deletion. Len = 0
let list_form_submissions = test::call_service(
&app,
post_request!(&site_info, &V1_API_ROUTES.forms.get_list(0))
.cookie(cookies.clone())
.to_request(),
)
.await;
assert_eq!(list_form_submissions.status(), StatusCode::OK);
let subs: Vec<FormSubmissionResp> = test::read_body_json(list_form_submissions).await;
assert!(subs.is_empty());
}
}

View file

@ -21,7 +21,6 @@ use serde::Deserialize;
pub mod account;
pub mod auth;
pub mod forgejo;
pub mod forms;
pub mod meta;
pub mod pages;
pub mod routes;
@ -33,7 +32,6 @@ pub fn services(cfg: &mut ServiceConfig) {
account::services(cfg);
meta::services(cfg);
forgejo::services(cfg);
forms::services(cfg);
pages::services(cfg);
}

View file

@ -20,7 +20,6 @@ use actix_auth_middleware::GetLoginRoute;
use crate::serve::routes::Serve;
use super::forgejo::routes::Forgejo;
use super::forms::routes::Forms;
use super::meta::routes::Meta;
use super::pages::routes::Deploy;
@ -95,7 +94,6 @@ pub struct Routes {
/// Meta routes
pub meta: Meta,
pub forgejo: Forgejo,
pub forms: Forms,
pub deploy: Deploy,
pub serve: Serve,
}
@ -108,7 +106,6 @@ impl Routes {
account: Account::new(),
meta: Meta::new(),
forgejo: Forgejo::new(),
forms: Forms::new(),
deploy: Deploy::new(),
serve: Serve::new(),
}

View file

@ -45,10 +45,11 @@ impl Conductor {
event_url.set_path("/api/v1/events/new");
self.client
.post(event_url)
.bearer_auth(&c.api_key)
.basic_auth(&c.username, Some(&c.api_key))
.json(e)
.send()
.await?;
.await
.unwrap();
}
Ok(())
}

View file

@ -1,170 +0,0 @@
/*
* Copyright (C) 2022 Aravinth Manivannan <realaravinth@batsense.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
//! Account management utility datastructures and methods
use libforms::*;
pub use super::auth;
use crate::ctx::Ctx;
use crate::errors::*;
impl Ctx {
/// Delete form submission
pub async fn delete_form_submission(
&self,
owner: &str,
sub_id: usize,
payload: &Table,
) -> ServiceResult<()> {
let _site = self.db.get_site(owner, &payload.host).await?;
let mut form_url = self.settings.form.url.clone();
form_url.set_path(&format!("/api/v1/forms/delete/{sub_id}"));
self.client
.post(form_url)
.bearer_auth(&self.settings.form.api_key)
.json(payload)
.send()
.await?;
Ok(())
}
/// Delete form submission
pub async fn get_all_form_submission(
&self,
owner: &str,
page: usize,
payload: &Table,
) -> ServiceResult<Vec<FormSubmissionResp>> {
let _site = self.db.get_site(owner, &payload.host).await?;
let mut form_url = self.settings.form.url.clone();
form_url.set_path("/api/v1/forms/list");
form_url.set_query(Some(&format!("page={}", page)));
let res = self
.client
.post(form_url)
.bearer_auth(&self.settings.form.api_key)
.json(payload)
.send()
.await?
.json()
.await?;
Ok(res)
}
/// List all forms associated with hostname
pub async fn get_all_forms_for_host(
&self,
owner: &str,
host: &str,
) -> ServiceResult<Vec<String>> {
let _site = self.db.get_site(owner, host).await?;
let mut form_url = self.settings.form.url.clone();
form_url.set_path("/api/v1/forms/host");
form_url.set_query(Some(&format!("host={}", host)));
let res = self
.client
.get(form_url)
.bearer_auth(&self.settings.form.api_key)
.send()
.await?
.json()
.await?;
Ok(res)
}
}
#[cfg(test)]
mod tests {
use crate::tests;
use super::*;
impl Ctx {
/// Delete form submission
pub async fn add_form_submission(
&self,
owner: &str,
site_info: &Table,
payload: &serde_json::Value,
) -> ServiceResult<()> {
let _site = self.db.get_site(owner, &site_info.host).await?;
let mut form_url = self.settings.form.url.clone();
form_url.set_path("/api/v1/forms/submit");
form_url.set_query(Some(&format!(
"host={}&path={}",
site_info.host, site_info.path
)));
self.client
.post(form_url)
.json(payload)
.send()
.await
.unwrap();
Ok(())
}
}
#[actix_rt::test]
async fn test_ctx_forms_work() {
const NAME: &str = "testctxformswork";
const PASSWORD: &str = "longpasswordasdfa2";
const EMAIL: &str = "testctxformswork@a.com";
let (_dir, ctx) = tests::get_ctx().await;
let _ = ctx.delete_user(NAME, PASSWORD).await;
let (_, _signin_resp) = ctx.register_and_signin(NAME, EMAIL, PASSWORD).await;
let page = ctx.add_test_site(NAME.into()).await;
let site_info = Table {
host: page.domain.clone(),
path: format!("/foo/{NAME}"),
};
if let Ok(subs) = ctx.get_all_form_submission(NAME, 0, &site_info).await {
for s in subs.iter() {
let _ = ctx.delete_form_submission(NAME, s.id, &site_info).await;
}
}
ctx.add_form_submission(NAME, &site_info, &serde_json::to_value(&site_info).unwrap())
.await
.unwrap();
let subs = ctx
.get_all_form_submission(NAME, 0, &site_info)
.await
.unwrap();
assert_eq!(subs.len(), 1);
assert_eq!(
subs[0].value,
Some(serde_json::to_value(&site_info).unwrap())
);
let forms = ctx
.get_all_forms_for_host(NAME, &page.domain)
.await
.unwrap();
assert_eq!(vec![site_info.path.clone()], forms);
ctx.delete_form_submission(NAME, subs[0].id, &site_info)
.await
.unwrap();
let subs = ctx
.get_all_form_submission(NAME, 0, &site_info)
.await
.unwrap();
assert!(subs.is_empty());
}
}

View file

@ -17,7 +17,6 @@
pub mod account;
pub mod auth;
pub mod forgejo;
pub mod forms;
pub mod pages;
#[cfg(test)]

View file

@ -50,6 +50,7 @@ impl ConnectionOptions {
async fn connect(self) -> ServiceResult<Database> {
let pool = match self {
Self::Fresh(fresh) => {
tracing::info!("DATABASE URL: {}", fresh.url);
let mut connect_options =
sqlx::postgres::PgConnectOptions::from_str(&fresh.url).unwrap();
if fresh.disable_logging {

View file

@ -30,9 +30,7 @@ use derive_more::{Display, Error};
use git2::Error as GitError;
use hmac::digest::InvalidLength;
use hmac::digest::MacError;
use reqwest::Error as ReqwestError;
use serde::{Deserialize, Serialize};
use tracing::error;
use url::ParseError;
use crate::page::Page;
@ -188,14 +186,6 @@ pub enum ServiceError {
WebhookNotFound,
}
impl From<ReqwestError> for ServiceError {
#[cfg(not(tarpaulin_include))]
fn from(e: ReqwestError) -> ServiceError {
error!("{}", e);
ServiceError::InternalServerError
}
}
impl From<InvalidLength> for ServiceError {
#[cfg(not(tarpaulin_include))]
fn from(_: InvalidLength) -> ServiceError {

View file

@ -1,109 +0,0 @@
/*
* Copyright (C) 2022 Aravinth Manivannan <realaravinth@batsense.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
use std::cell::RefCell;
use actix_identity::Identity;
use actix_web::http::header::ContentType;
use serde::{Deserialize, Serialize};
use tera::Context;
use super::get_auth_middleware;
use crate::api::v1::forms::Host;
use crate::errors::ServiceResult;
use crate::pages::errors::*;
use crate::settings::Settings;
use crate::AppCtx;
pub use super::*;
pub const DASH_SITE_FORM_HOST_LIST: TemplateFile = TemplateFile::new(
"dash_site_form_host_list",
"pages/dash/sites/forms/host-list.html",
);
pub struct List {
ctx: RefCell<Context>,
}
#[derive(Serialize, Deserialize, Eq, PartialEq, Debug)]
pub struct Form {
pub path: String,
pub view: String,
}
impl Form {
pub fn new(path: String, host: &str) -> Self {
let view = PAGES.dash.site.forms.get_view(0, host, &path);
Self { path, view }
}
}
impl CtxError for List {
fn with_error(&self, e: &ReadableError) -> String {
self.ctx.borrow_mut().insert(ERROR_KEY, e);
self.render()
}
}
impl List {
pub fn new(settings: &Settings, forms: Option<&[Form]>) -> Self {
let ctx = RefCell::new(context(settings));
if let Some(forms) = forms {
ctx.borrow_mut().insert(PAYLOAD_KEY, forms);
}
Self { ctx }
}
pub fn render(&self) -> String {
TEMPLATES
.render(DASH_SITE_FORM_HOST_LIST.name, &self.ctx.borrow())
.unwrap()
}
}
async fn get_forms(ctx: &AppCtx, id: &Identity, host: &str) -> ServiceResult<Vec<Form>> {
let owner = id.identity().unwrap();
let mut db_forms = ctx.get_all_forms_for_host(&owner, host).await?;
let mut forms = Vec::with_capacity(db_forms.len());
for form in db_forms.drain(0..) {
forms.push(Form::new(form, host));
}
Ok(forms)
}
#[actix_web_codegen_const_routes::get(
path = "PAGES.dash.site.forms.list_forms",
wrap = "get_auth_middleware()"
)]
#[tracing::instrument(name = "List all forms belonging to host" skip(ctx, id))]
pub async fn list_forms(
ctx: AppCtx,
id: Identity,
query: web::Query<Host>,
) -> PageResult<impl Responder, List> {
let sites = get_forms(&ctx, &id, &query.host)
.await
.map_err(|e| PageError::new(List::new(&ctx.settings, None), e))?;
let home = List::new(&ctx.settings, Some(&sites)).render();
let html = ContentType::html();
Ok(HttpResponse::Ok().content_type(html).body(home))
}
pub fn services(cfg: &mut web::ServiceConfig) {
cfg.service(list_forms);
}

View file

@ -1,42 +0,0 @@
/*
* Copyright (C) 2022 Aravinth Manivannan <realaravinth@batsense.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
use actix_web::*;
use super::get_auth_middleware;
pub use super::{context, Footer, TemplateFile, PAGES, PAYLOAD_KEY, TEMPLATES};
//pub mod delete;
pub mod list;
pub mod view;
pub fn register_templates(t: &mut tera::Tera) {
list::DASH_SITE_FORM_HOST_LIST
.register(t)
.expect(list::DASH_SITE_FORM_HOST_LIST.name);
view::DASH_SITE_FORM_VIEW
.register(t)
.expect(view::DASH_SITE_FORM_VIEW.name);
// delete::DASH_SITE_DELETE
// .register(t)
// .expect(delete::DASH_SITE_DELETE.name);
}
pub fn services(cfg: &mut web::ServiceConfig) {
list::services(cfg);
view::services(cfg);
//delete::services(cfg);
}

View file

@ -1,283 +0,0 @@
/*
* Copyright (C) 2022 Aravinth Manivannan <realaravinth@batsense.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
use std::cell::RefCell;
use actix_identity::Identity;
use actix_web::http::header::ContentType;
use libforms::{FormSubmissionResp, Table};
use serde::{Deserialize, Serialize};
use serde_json::Value;
use tera::Context;
use time::{format_description, OffsetDateTime};
use super::get_auth_middleware;
use crate::pages::errors::*;
use crate::settings::Settings;
use crate::AppCtx;
pub use super::*;
pub const DASH_SITE_FORM_VIEW: TemplateFile =
TemplateFile::new("dash_site_form_view", "pages/dash/sites/forms/view.html");
pub struct View {
ctx: RefCell<Context>,
}
impl CtxError for View {
fn with_error(&self, e: &ReadableError) -> String {
self.ctx.borrow_mut().insert(ERROR_KEY, e);
self.render()
}
}
impl View {
pub fn new(settings: &Settings, payload: Option<TemplateForms>) -> Self {
let ctx = RefCell::new(context(settings));
if let Some(payload) = payload {
ctx.borrow_mut().insert(PAYLOAD_KEY, &payload);
}
Self { ctx }
}
pub fn render(&self) -> String {
TEMPLATES
.render(DASH_SITE_FORM_VIEW.name, &self.ctx.borrow())
.unwrap()
}
}
#[derive(Clone, Debug, Deserialize, Serialize, Eq, PartialEq)]
pub struct TemplateForms {
pub submissions: Vec<TemplateSubmission>,
pub next_page: String,
}
#[derive(Serialize, Deserialize, Clone, Debug, Default, Eq, PartialEq)]
pub struct TemplateSubmission {
pub value: TemplateFormData,
pub delete: String,
pub time: String,
pub id: usize,
}
#[derive(Serialize, Deserialize, Clone, Debug, Default, Eq, PartialEq)]
pub struct TemplateFormData {
pub titles: Vec<String>,
pub rows: Vec<Vec<String>>,
}
impl From<Value> for TemplateFormData {
fn from(json: Value) -> Self {
let mut titles = Vec::default();
let mut rows: Vec<Vec<String>> = Vec::default();
match json {
Value::Object(m) => {
let mut row: Vec<String> = Vec::default();
for (k, v) in m.iter() {
titles.push(k.clone());
let value = match v {
Value::String(s) => s.clone(),
Value::Null => "-".into(),
Value::Bool(b) => b.to_string(),
Value::Number(n) => n.to_string(),
Value::Array(a) => format!("{:?}", a),
Value::Object(_) => unimplemented!(),
};
row.push(value);
}
rows.push(row);
}
_ => unimplemented!(),
}
Self { titles, rows }
}
}
impl TemplateSubmission {
fn from_form_submission_resp(f: FormSubmissionResp, host: &str, path: &str) -> Self {
let format = format_description::parse(
"[year]-[month]-[day] [hour]:[minute]:[second] [offset_hour \
sign:mandatory]:[offset_minute]:[offset_second]",
)
.unwrap();
let time = OffsetDateTime::from_unix_timestamp(f.time)
.unwrap()
.format(&format)
.unwrap();
Self {
value: f.value.unwrap().into(),
id: f.id,
time,
delete: PAGES.dash.site.forms.get_delete(f.id, host, path),
}
}
}
impl TemplateForms {
pub fn new(
current_page: usize,
mut form_submissions: Vec<FormSubmissionResp>,
host: &str,
path: &str,
) -> Self {
let mut submissions = Vec::with_capacity(form_submissions.len());
for sub in form_submissions.drain(0..) {
let sub = TemplateSubmission::from_form_submission_resp(sub, host, path);
submissions.push(sub);
}
let next_page = PAGES.dash.site.forms.get_view(current_page + 1, host, path);
Self {
next_page,
submissions,
}
}
}
#[derive(Serialize, Deserialize, Clone, Debug, Default)]
pub struct FormPage {
page: usize,
host: String,
path: String,
}
impl FormPage {
pub fn to_table(self) -> (Table, usize) {
(
Table {
host: self.host,
path: self.path,
},
self.page,
)
}
}
#[actix_web_codegen_const_routes::get(
path = "PAGES.dash.site.forms.view",
wrap = "get_auth_middleware()"
)]
#[tracing::instrument(name = "Dashboard view site form submissions webpage", skip(ctx, id))]
pub async fn get_form_submissions(
ctx: AppCtx,
id: Identity,
payload: web::Query<FormPage>,
) -> PageResult<impl Responder, View> {
let owner = id.identity().unwrap();
let payload = payload.into_inner();
let (table, page) = payload.to_table();
let resp = ctx
.get_all_form_submission(&owner, page, &table)
.await
.unwrap();
// .map_err(|e| PageError::new(View::new(&ctx.settings, None), e))?;
let payload = TemplateForms::new(page, resp, &table.host, &table.path);
let page = View::new(&ctx.settings, Some(payload));
let body = page.render();
let html = ContentType::html();
Ok(HttpResponse::Ok().content_type(html).body(body))
}
pub fn services(cfg: &mut web::ServiceConfig) {
cfg.service(get_form_submissions);
}
#[cfg(test)]
mod tests {
use actix_web::http::StatusCode;
use actix_web::test;
use serde::{Deserialize, Serialize};
use crate::ctx::api::v1::auth::Password;
use crate::ctx::ArcCtx;
use crate::errors::ServiceError;
use crate::pages::dash::sites::add::TemplateAddSite;
use crate::tests;
use crate::*;
use super::Table;
use super::PAGES;
#[actix_rt::test]
async fn postgres_dashboard_form_works() {
let (_, ctx) = tests::get_ctx().await;
dashboard_site_form_works(ctx.clone()).await;
}
async fn dashboard_site_form_works(ctx: ArcCtx) {
const NAME: &str = "testdashsiteformuser";
const EMAIL: &str = "testdashsiteformuser@foo.com";
const PASSWORD: &str = "longpassword";
let _ = ctx.delete_user(NAME, PASSWORD).await;
let (_, signin_resp) = ctx.register_and_signin(NAME, EMAIL, PASSWORD).await;
let cookies = get_cookie!(signin_resp);
let app = get_app!(ctx.clone()).await;
let page = ctx.add_test_site(NAME.into()).await;
let site_info = Table {
host: page.domain.clone(),
path: format!("/foo/{NAME}"),
};
#[derive(Serialize, Deserialize)]
struct Foo {
foo: String,
}
if let Ok(subs) = ctx.get_all_form_submission(NAME, 0, &site_info).await {
for s in subs.iter() {
let _ = ctx.delete_form_submission(NAME, s.id, &site_info).await;
}
}
let foo = Foo {
foo: "barvalue".into(),
};
ctx.add_form_submission(NAME, &site_info, &serde_json::to_value(&foo).unwrap())
.await
.unwrap();
// list forms for host
let resp = get_request!(
&app,
&PAGES.dash.site.forms.get_list_host(&site_info.host),
cookies.clone()
);
assert_eq!(resp.status(), StatusCode::OK);
let res = String::from_utf8(test::read_body(resp).await.to_vec()).unwrap();
assert!(res.contains(&site_info.path));
// view form submission
let resp = get_request!(
&app,
&PAGES
.dash
.site
.forms
.get_view(0, &site_info.host, &site_info.path),
cookies.clone()
);
assert_eq!(resp.status(), StatusCode::OK);
let res = String::from_utf8(test::read_body(resp).await.to_vec()).unwrap();
assert!(res.contains("foo"));
assert!(res.contains("barvalue"));
}
}

View file

@ -22,7 +22,6 @@ pub use super::{context, Footer, TemplateFile, PAGES, PAYLOAD_KEY, TEMPLATES};
pub mod add;
pub mod delete;
pub mod forms;
pub mod view;
pub fn register_templates(t: &mut tera::Tera) {
@ -35,12 +34,10 @@ pub fn register_templates(t: &mut tera::Tera) {
delete::DASH_SITE_DELETE
.register(t)
.expect(delete::DASH_SITE_DELETE.name);
forms::register_templates(t);
}
pub fn services(cfg: &mut web::ServiceConfig) {
add::services(cfg);
view::services(cfg);
delete::services(cfg);
forms::services(cfg);
}

View file

@ -73,7 +73,6 @@ impl View {
pub struct TemplateSiteWithEvents {
pub site: Site,
pub view: String,
pub forms: String,
pub delete: String,
pub last_update: Option<TemplateSiteEvent>,
pub events: Vec<TemplateSiteEvent>,
@ -87,12 +86,10 @@ impl TemplateSiteWithEvents {
) -> Self {
let view = PAGES.dash.site.get_view(site.pub_id);
let delete = PAGES.dash.site.get_delete(site.pub_id);
let forms = PAGES.dash.site.forms.get_list_host(&site.hostname);
Self {
site,
last_update,
view,
forms,
delete,
events,
}

View file

@ -114,44 +114,6 @@ impl ForgejoWebhook {
}
}
#[derive(Serialize)]
/// Dashboard Site routes
pub struct DashSiteForms {
/// view form submission route
pub view: &'static str,
/// delete form submission route
pub delete: &'static str,
/// list forms belonging to hostname
pub list_forms: &'static str,
}
impl DashSiteForms {
/// create new instance of DashSiteForms route
pub const fn new() -> DashSiteForms {
let view = "/dash/site/forms/submission/view";
let delete = "/dash/site/forms/submission/delete";
let list_forms = "/dash/site/forms/list";
DashSiteForms {
view,
delete,
list_forms,
}
}
pub fn get_list_host(&self, host: &str) -> String {
format!("{}?host={}", self.list_forms, host)
}
pub fn get_view(&self, page: usize, host: &str, path: &str) -> String {
format!("{}?host={}&path={}&page={}", self.view, host, path, page)
}
pub fn get_delete(&self, id: usize, host: &str, path: &str) -> String {
format!("{}?host={}&path={}&id={}", self.view, host, path, id)
}
}
#[derive(Serialize)]
/// Dashboard Site routes
pub struct DashSite {
@ -161,9 +123,6 @@ pub struct DashSite {
pub view: &'static str,
/// delete site route
pub delete: &'static str,
/// forms routes
pub forms: DashSiteForms,
}
impl DashSite {
@ -172,13 +131,7 @@ impl DashSite {
let add = "/dash/site/add";
let view = "/dash/site/view/{deployment_pub_id}";
let delete = "/dash/site/delete/{deployment_pub_id}";
let forms = DashSiteForms::new();
DashSite {
add,
view,
delete,
forms,
}
DashSite { add, view, delete }
}
pub fn get_view(&self, deployment_pub_id: Uuid) -> String {

View file

@ -83,17 +83,11 @@ pub struct Settings {
pub database: Database,
pub page: PageConfig,
pub conductors: Vec<Conductor>,
pub form: Forms,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Conductor {
pub api_key: String,
pub url: Url,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Forms {
pub username: String,
pub api_key: String,
pub url: Url,
}
@ -110,7 +104,7 @@ impl Settings {
let mut s = Config::builder();
const CURRENT_DIR: &str = "./config/default.toml";
const ETC: &str = "/etc/liberapages/librepages/config.toml";
const ETC: &str = "/etc/static-pages/config.toml";
let mut read_file = false;

View file

@ -24,6 +24,7 @@ use actix_web::{
};
use mktemp::Temp;
use serde::Serialize;
use url::Url;
use crate::ctx::api::v1::auth::{Login, Register};
use crate::ctx::api::v1::pages::AddSite;
@ -40,6 +41,15 @@ pub async fn get_ctx() -> (Temp, Arc<Ctx>) {
// mktemp::Temp is returned because the temp directory created
// is removed once the variable goes out of scope
let mut settings = Settings::new().unwrap();
let mut db_url = Url::parse(&settings.database.url).unwrap();
db_url.set_path(&crate::utils::get_random(8));
settings.database.url = db_url.to_string();
use sqlx::migrate::MigrateDatabase;
// sqlx::Postgres::create_database(&settings.database.url).await.unwrap();
sqlx::postgres::Postgres::create_database(&settings.database.url)
.await
.unwrap();
let tmp_dir = Temp::new_dir().unwrap();
println!("[log] Test temp directory: {}", tmp_dir.to_str().unwrap());
@ -48,8 +58,10 @@ pub async fn get_ctx() -> (Temp, Arc<Ctx>) {
settings.init();
println!("[log] Initialzing settings again with test config");
settings.init();
let ctx = Ctx::new(settings).await;
ctx.db.migrate().await.unwrap();
(tmp_dir, Ctx::new(settings).await)
(tmp_dir, ctx)
}
#[allow(dead_code, clippy::upper_case_acronyms)]

View file

@ -1,16 +0,0 @@
{% extends 'base' %}{% block title %} List Forms {% endblock title %} {% block nav
%} {% include "auth_nav" %} {% endblock nav %} {% block main %}
<main class="sites__main">
<div class="sites__collection">
{% if payload|length > 0 %}
{% for form in payload %}
<a href="{{ form.view }}" class="site__container">{{ form.path }}</a>
{% endfor %}
{% else %}
<p class="sites__banner">Form is empty</p>
{% endif %}
</div>
</main>
{% endblock main %}

View file

@ -1,34 +0,0 @@
{% extends 'base' %}{% block title %} View Data {% endblock title %} {% block nav
%} {% include "auth_nav" %} {% endblock nav %} {% block main %}
<main class="sites__main">
<div class="add-site__container">
<section>
{% for submission in payload.submissions %}
<table>
<thead>
<tr>
{% for title in submission.value.titles %}
<th>{{ title }}</th>
{% endfor %}
<th>Time</th>
</tr>
</thead>
{% for row in submission.value.rows %}
<tbody>
<tr>
{% for value in row %}
<th>{{ value }}</th>
{% endfor %}
<th>{{ submission.time }}</th>
</tr>
</tbody>
{% endfor %}
</table>
{% endfor %}
</section>
<a href="{{payload.next_page}}">Next ></a>
</div>
</main>
{% endblock main %}

View file

@ -28,11 +28,6 @@
</td>
</tr>
<tr>
<th>Forms</th>
<td><a href="{{ payload.forms }}" >See forms</a></td>
</tr>
<tr>
<th>Branch</th>
<td>{{ payload.site.branch }}</td>

View file

@ -72,7 +72,7 @@ dependencies = [
"proc-macro2",
"quote",
"strsim",
"syn",
"syn 1.0.94",
]
[[package]]
@ -83,7 +83,7 @@ checksum = "ddfc69c5bfcbd2fc09a0f38451d2daf0e372e367986a83906d1b0dbc88134fb5"
dependencies = [
"darling_core",
"quote",
"syn",
"syn 1.0.94",
]
[[package]]
@ -110,7 +110,7 @@ dependencies = [
"darling",
"proc-macro2",
"quote",
"syn",
"syn 1.0.94",
]
[[package]]
@ -120,7 +120,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f0314b72bed045f3a68671b3c86328386762c93f82d98c65c3cb5e5f573dd68"
dependencies = [
"derive_builder_core",
"syn",
"syn 1.0.94",
]
[[package]]
@ -176,6 +176,12 @@ dependencies = [
"serde_json",
]
[[package]]
name = "memchr"
version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
[[package]]
name = "mime"
version = "0.3.16"
@ -194,18 +200,18 @@ dependencies = [
[[package]]
name = "proc-macro2"
version = "1.0.38"
version = "1.0.85"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9027b48e9d4c9175fa2218adf3557f91c1137021739951d4932f5f8268ac48aa"
checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23"
dependencies = [
"unicode-xid",
"unicode-ident",
]
[[package]]
name = "quote"
version = "1.0.18"
version = "1.0.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1"
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
dependencies = [
"proc-macro2",
]
@ -227,31 +233,32 @@ dependencies = [
[[package]]
name = "serde"
version = "1.0.137"
version = "1.0.210"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1"
checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.137"
version = "1.0.210"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be"
checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
dependencies = [
"proc-macro2",
"quote",
"syn",
"syn 2.0.66",
]
[[package]]
name = "serde_json"
version = "1.0.81"
version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c"
checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
dependencies = [
"itoa",
"memchr",
"ryu",
"serde",
]
@ -284,6 +291,17 @@ dependencies = [
"unicode-xid",
]
[[package]]
name = "syn"
version = "2.0.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "typenum"
version = "1.15.0"
@ -299,6 +317,12 @@ dependencies = [
"version_check",
]
[[package]]
name = "unicode-ident"
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
[[package]]
name = "unicode-xid"
version = "0.2.3"