Commit graph

65 commits

Author SHA1 Message Date
8564f40478
feat: introduce self when bootstrapping 2023-02-28 17:30:25 +05:30
2c4344a23f
feat: introduce new starchart nodes to other starchart nodes 2023-02-28 17:23:25 +05:30
a155ab9d26
feat: bootstrap introductions from vals received in config 2023-02-28 17:04:32 +05:30
ac7c1e4066
feat: read bootstrap Starchart nodes from config 2023-02-28 16:38:43 +05:30
f42e06358e
feat: list introductions via REST API 2023-02-28 16:37:59 +05:30
38fee3daf3
chore: replace CreateForge.import with starchart_url for marking forge
instances with Starchart instances
2023-02-28 15:59:50 +05:30
8cf21c3ce6
fix: include asterisk when it isn't present in query 2023-02-28 15:49:35 +05:30
3fb7b27ab3
feat: filter imported and native forges 2023-02-26 23:38:36 +05:30
3f29d420c3
feat: list forges REST API 2023-02-26 23:33:08 +05:30
5ed1ebacef
feat: implement repo API search in REST API 2023-02-26 23:16:25 +05:30
7b3bc8161e
chore: mv routes to separate crate for reusability 2023-02-23 11:41:16 +05:30
d3fde704ff
fix: archive after each crawl 2023-02-22 18:10:34 +05:30
944cf7075c
fix: use constant value DNS challenge 2023-02-22 18:09:12 +05:30
e726f2234d
feat: use fixed value for an instance for DNS challenge
DESCRIPTION
    Randomly generated values for forge ownership verification through
    DNS TXT records was making development process complicated. Using
    starchart instance's hostname for the TXT record's value is secure
    enough for our use case.

    This patch gets rid of all the code necessary to implement random
    value challenges
2023-02-22 12:05:49 +05:30
38eb9c74ec
feat: get latest tarball from REST API 2023-02-11 19:42:48 +05:30
0d1f42d5e4
feat: async crawl 2022-07-15 20:59:35 +05:30
31fd0f0c51
chore: clippy lints 2022-07-15 20:59:32 +05:30
fe8bd2fb26
fix & chore: handle hostname/URL cleaning within trait implementation
SUMMARY
    Renamed function parameters from "hostname" to "url" wherever a
    url::Url is received

    db_core::get_hostname is renamed to db_core::clean_url, better
    describing its new implementation

    forge_core::get_hostname is renamed to forge_core::get_url to better
    describe its new implementation

URL PROCESSING METHODS

    federate/federate-core
	Parses URL and returns only the hostname

    db/db-core
	Parses URL, cleans it by removing path and query parameters and
	returns the end result
2022-07-15 20:52:47 +05:30
Dat Adithya
eb97ded32c
Merge branch 'forgeflux-org:master' into master 2022-07-05 14:26:55 +05:30
dat-adi
a65115bfeb fix: Refactored grammatical errors 2022-07-05 14:05:57 +05:30
aba71115a7
fix: page counter increment 2022-06-09 15:03:14 +05:30
ef2707e4ee
feat: crawl generic over SCForge implementaiton and add forge type checks 2022-06-09 01:22:23 +05:30
1a3206b57a
chore: rm forge dead code 2022-06-04 21:33:13 +05:30
db1d7657a7
feat: create repo file if doesn't exist 2022-06-04 21:30:50 +05:30
54a1d28395
feat: impl archive user if not exists 2022-06-04 20:47:02 +05:30
399ef34f08
feat: migrate crawl accepts rate-limit configuratoin 2022-06-04 20:35:24 +05:30
7e0c235275
feat: archive forge data if it doesn't exist 2022-06-03 23:14:57 +05:30
036a90e74a
feat: add CC0(public domain) license to published data 2022-05-26 22:50:40 +05:30
8f51205d64
feat: dns TXT record-based configuration parser 2022-05-25 13:21:09 +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
428cb600a6 feat: homepage 2022-05-21 00:17:14 +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
10d34ed240 feat: adopt changes to save hostname with challenge creation 2022-05-19 19:15:10 +05:30
0a4b5dd62c feat: setup file listing for download 2022-05-19 18:25:18 +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
a8b58da3eb feat: bootstarp loading templates 2022-05-19 14:33:33 +05:30
6cd0313a01
feat: load templates 2022-05-18 20:28:26 +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
5add143318
feat: bootstrap actix-web 2022-05-18 17:39:53 +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
65eab4e488
chore: rename data::Data to ctx::Ctx 2022-05-17 19:57:57 +05:30
aefc691033
feat: migrate gitea interfaces to use forge/gitea interfaces 2022-05-17 01:04:44 +05:30
a146386e68
chore: update deps 2022-05-05 00:49:23 +05:30