Commit graph

203 commits

Author SHA1 Message Date
036a90e74a
feat: add CC0(public domain) license to published data 2022-05-26 22:50:40 +05:30
664f03d6eb
feat: document craweled data format and dir structure 2022-05-26 19:58:40 +05:30
8f51205d64
feat: dns TXT record-based configuration parser 2022-05-25 13:21:09 +05:30
99d14764ab
feat: CI: store build cache 2022-05-25 12:53:38 +05:30
c637be4499
fix: pagination link generator and related tests
SUMMARY
    When OptionalPage.page is None, the count was incremented twice
    leading to skipping next_page_link=2. Increment operation is now
    movied into `impl From<OptionalPage> for Page` for centralized
    incrementing, which also fixes this bug
2022-05-25 12:49:13 +05:30
11f98f09ea
feat: use cargo-chef for caching 2022-05-24 20:43:18 +05:30
99ddee7e8c
feat: use entrypoint for starting docker container 2022-05-24 20:31:50 +05:30
d8cd8db857
fix: dont serialize legal section if all sub-fields are none 2022-05-24 20:31:04 +05:30
10f33d8ea6
feat: sqlx sqlite create db file if not present 2022-05-24 20:30:43 +05:30
450557e3f8
feat: init arcitecture docs 2022-05-23 19:18:13 +05:30
52cd757ca7
feat: explicitly mention cargo entry points 2022-05-23 18:54:55 +05:30
61b29ec4e1
feat: build docker container in CI 2022-05-23 18:54:20 +05:30
ff3963f798
feat: setup docker packaging 2022-05-23 18:53:13 +05:30
428cb600a6 feat: homepage 2022-05-21 00:17:14 +05:30
0586f2e670 feat: get all repositories trait def and impl for sqlx sqlite 2022-05-19 21:38:13 +05:30
083af27351 feat & fix: load verify routes and fix template loads 2022-05-19 19:32:10 +05:30
0fe3c8f619 feat: export tar ball at the end of an instance crawl 2022-05-19 19:31:41 +05:30
c7d7f9ec8a fix: redirect user to challenge instructions page after challenge addition 2022-05-19 19:31:17 +05:30
2785d04f03 feat: challenge solving instructions page 2022-05-19 19:30:24 +05:30
10d34ed240 feat: adopt changes to save hostname with challenge creation 2022-05-19 19:15:10 +05:30
60f76b63d4 feat: save hostname when creating challenges 2022-05-19 19:14:31 +05:30
0a4b5dd62c feat: setup file listing for download 2022-05-19 18:25:18 +05:30
f78a331e9c feat: retrun latest archive in tar() 2022-05-19 18:19:37 +05:30
593f3d5c17 feat: add logging to crawl method 2022-05-19 17:35:47 +05:30
0ca420d1ff feat: impl get and submit DNS challenge 2022-05-19 17:35:22 +05:30
a2582fdce8 feat: use constant format challenge TXT key 2022-05-19 16:24:18 +05:30
2d07f7f0ca feat: mod navbars and base templates, setup loading templates and fix
ctx loading
2022-05-19 15:45:44 +05:30
ac470262d1 feat: setup styles 2022-05-19 15:43:31 +05:30
a8b58da3eb feat: bootstarp loading templates 2022-05-19 14:33:33 +05:30
b884d361b0 feat: define and implement(sqlx sqlite) interfaces for CRUD of DNS challenges 2022-05-19 14:12:57 +05:30
6cd0313a01
feat: load templates 2022-05-18 20:28:26 +05:30
5877c39bef
feat: bootstrap templates 2022-05-18 20:28:07 +05:30
26a4d1f39f
feat: bootstrap error handling 2022-05-18 20:26:58 +05:30
d7c8d4a2f6
feat: embed static assets into bin 2022-05-18 20:26:17 +05:30
d4ada24c06
feat: setup cache busting for static assets 2022-05-18 20:25:43 +05:30
8ad466dbc8
fix: rm unique constraint on profile photo link
DESCRIPTION
    If user hasn't configured a profile photo on their forge instance,
    it would point to the default photo of the forge instance, which
    might be the same for all users without a profile photo on that
    forge instance.
2022-05-18 19:57:48 +05:30
9cf1d9df46
hotfix: CI: disable build cache 2022-05-18 19:42:29 +05:30
5add143318
feat: bootstrap actix-web 2022-05-18 17:39:53 +05:30
2c6e9e766b
feat: setup coverage generation for workspaces 2022-05-17 20:27:45 +05:30
d0fd8166e3
feat: add federation file writes in crawl method 2022-05-17 20:12:30 +05:30
f03bd5aaae
feat: setup federation file writes 2022-05-17 20:12:14 +05:30
519855a7c3
feat: mv write_util out of Federate trait for allowing creation of trait objs 2022-05-17 20:11:35 +05:30
882fde7d20
feat: setup check and test for federate/* workspaces 2022-05-17 19:58:11 +05:30
65eab4e488
chore: rename data::Data to ctx::Ctx 2022-05-17 19:57:57 +05:30
fd0b2f5d6d
feat: implement federate_core on a subset of publiccodeyml schema
REFERENCES
    [0]: https://github.com/forgeflux-org/starchart/issues/3
    [1]: https://github.com/publiccodeyml/publiccode.yml/discussions/157
2022-05-17 19:48:26 +05:30
95ca4fb1d3
feat: define interfaces to enable file-based federation mechanisms
DESCRIPTION
    <BASE_DIR>/forge.example.com/:
	This directory contains all data related to a particular forge instance running
	at forge.example.com

    <BASE_DIR>/forge.example.com/forgeinfo:
	This file contains metadata pertaining to a forge.

	The file format and file name is left to the discretion of the
	implementer.

    <BASE_DIR>/forge.example.com/john/:
	This directory contains all data related to a user named "john"
	on forge instance at forge.example.com.

    <BASE_DIR>/forge.example.com/john/userinfo:
	This file contains all metadata related to a user named "john"
	on forge instance at forge.example.com.

	The file format and file name is left to the discretion of the
	implementer.

    <BASE_DIR>/forge.example.com/john/repo-foo/:
	This directory contains all data related to a repository named
	"repo-foo" owned by user "john" on forge instance at
	forge.example.com.

    <BASE_DIR>/forge.example.com/john/repo-foo/repo-info:
	This file contains all metadata related to a repository named
	"repo-foo" owned by user "john" on forge instance at
	forge.example.com.

	The file format and file name is left to the discretion of the
	implementer.
2022-05-17 19:42:23 +05:30
65176bbdea
feat: impl interface to del user and repo sqlx sqlite 2022-05-17 16:15:04 +05:30
5481055e45
feat: define interface to del user and repository 2022-05-17 16:14:52 +05:30
dcb11a4d11
feat: database errors 2022-05-17 14:56:33 +05:30
38d897023c
feat: setup check and test for forge/* workspaces 2022-05-17 01:15:37 +05:30