Commit graph

49 commits

Author SHA1 Message Date
Dmitry Miasnenko
466dd6b3f0
Fix 1 commit behind (#27)
* readme-fix: remove warning about cli tool. Update version in docker-compose.yml to match.

* Updated readme.md. Fully remove openapi.json. Remove version cmp beteen Cargo.toml and openapi.json. Added openapi.josn to gitignore.

* Removed openapi.json

* Update readme.md

* Update readme.md
2024-10-04 16:24:02 +03:00
Dmitry Miasnenko
782d8e4b05
Update readme. Remove openapi.json and adjust workflows. (#26) v0.2.8
* readme-fix: remove warning about cli tool. Update version in docker-compose.yml to match.

* Updated readme.md. Fully remove openapi.json. Remove version cmp beteen Cargo.toml and openapi.json. Added openapi.josn to gitignore.
2024-10-04 15:59:59 +03:00
Dmitry Miasnenko
7214330e53
readme-fix: remove warning about cli tool. Update version in docker-compose.yml to match. (#25) v0.2.7 2024-08-06 04:02:44 +03:00
Dmitry Miasnenko
a86f6ba0e7
Release 0.2.6 (#24) v0.2.6
* Added docker-compose for dev. Added dev build build and push job for dockerhub

* Moved cors layer to check if /api now is not guarded

* Added logging for error in response

* Removed too strict validation rules for credentials

* fix: x-subdmain was overwritten on correct request. Updated nginx-template and nginx now waits for server

* proxy-fix: New nginx config as the previous one failed with subdomain

* archive-fix: Remove skipping first component in path of entry. Zip archive should not containt root folder.

* assets-fix: Remove root folder inside zips to pass tests. The root dir is not skipped now due to previous commit

* tests-fix: enable logging to see error message in gh actions. Lokal tests work fine

* fmt: for tests

* tests-fix: disable logging to see error message in gh actions. That was gh issue

* fmt: remove unused import

* openapi-client: add build and publih with gh actions

* fix-deploy: nginx now waits for server in dev also

* fix-deploy: publsh to pypi
2024-08-06 00:12:03 +03:00
clowzed
b22e8817e1 fix: fmt v0.2.5 2024-06-28 14:08:57 +03:00
clowzed
ac8bcf4e2a fix: donotstart profile removed from docker-compose.yml. Obsolete files will be removed from database too. Try cors check return allowed if x-subdomain missing. This should not be desired behaviour and needs to be resolved using placement of layers in router. v0.2.4 2024-06-28 14:03:14 +03:00
clowzed
6eb836ee19 version-update for: toolchane update in fmt test. Add optimized build in profile. v0.2.3 2024-06-24 13:08:25 +03:00
clowzed
aa27492f6f actions-fix: update toolchain to nightly for cargo fmt to use crate imports granularity part 2. remove +nightly 2024-06-24 13:03:05 +03:00
clowzed
017ab86591 actions-fix: update toolchain to nightly for cargo fmt to use crate imports granularity v0.2.2 2024-06-24 12:58:04 +03:00
clowzed
5fa7368a34 version-update for: remove obsolete dependency v0.2.1 2024-06-24 12:53:45 +03:00
clowzed
d834a28089 actions-fix: remove obsolete dependency 2024-06-24 12:53:04 +03:00
clowzed
3f5701f6eb Release: 0.2.0. The servr works fine. Tested v0.2.0 2024-06-24 12:50:35 +03:00
Dmitry Miasnenko
bc8fd6de9c
Update docker-compose.yml
Fix #19 and keep postgres version
2024-01-28 23:17:33 +03:00
Dmitry Miasnenko
47ebc6368f
Merge pull request #17 from clowzed/fix/mime-type
First implementation with mime_guess
2023-11-16 14:27:04 +03:00
clowzed
457589e8bf First implementation with mime_guess 2023-11-16 14:20:40 +03:00
clowzed
966f8a6abf add CORS feature 2023-11-13 17:25:55 +03:00
Dmitry Miasnenko
d6e67e571e
Merge pull request #12 from clowzed/feature/cors-part-2
Feature/cors part 2
2023-11-13 16:01:36 +03:00
clowzed
942d0be986 Fully implemented cors. Added testing and make them more structural 2023-11-13 15:50:32 +03:00
clowzed
148a79dbc3 Mark layer as unused and format 2023-11-12 19:11:27 +03:00
clowzed
aa68be4368 Remove Cargo.lock 2023-11-12 19:07:08 +03:00
Dmitry Miasnenko
0469257a59
Merge pull request #11 from clowzed/feature/cors
Feature/cors
2023-11-12 19:05:31 +03:00
Dmitry Miasnenko
4b2bf61274
Merge branch 'master' into feature/cors 2023-11-12 18:52:16 +03:00
clowzed
f16432cb2a finished cors. Untested. Not enabled 2023-11-12 18:48:11 +03:00
Dmitry Miasnenko
df82dbce28
Merge pull request #10 from clowzed/add-testing
Add testing
2023-11-11 00:21:58 +03:00
clowzed
18cc37a535 run tests consecutively to avoid constraint violation 2023-11-11 00:15:17 +03:00
clowzed
2b718fbc21 Added test.yml for testing all pushes 2023-11-10 23:08:02 +03:00
clowzed
faef531d91 Added testing for standart endpoints 2023-11-10 23:00:04 +03:00
clowzed
9be81978cc Added another variant of origin check in cors layer. pt 2 2023-11-09 00:06:45 +03:00
clowzed
9265cb5085 Added another variant of origin check in cors layer 2023-11-08 23:49:00 +03:00
clowzed
c819a69741 Add any for check if cors layer actually works 2023-11-08 23:33:10 +03:00
clowzed
38dd87bd6e Add other methods to cors layer 2023-11-08 22:52:58 +03:00
clowzed
b0d6cbda17 Check if cors starts because it hangs? 2023-11-08 18:05:26 +03:00
clowzed
246730d5c6 Changed cors layer location 2023-11-08 17:51:41 +03:00
clowzed
2ba76400c4 Rewritten cors check closure to tokio spawn with channels 2023-11-08 16:50:50 +03:00
clowzed
2cfe57f73c update ignore branch 2023-11-06 16:14:56 +03:00
clowzed
7d4aba9ac2 add testable action 2023-11-06 16:08:54 +03:00
clowzed
e75544f0a4 Added cors layer. Added entity and migrations to store origins. Added endpoints for manipulation origins. Automatically clear origins on teardown and upload implemented. Added endpoints spec to openapi.yml. Untested 2023-11-06 01:05:48 +03:00
clowzed
f892823d0a add license link 2023-11-02 21:20:29 +03:00
Dmitry Miasnenko
16838556be
Merge pull request #7 from clowzed/add-license
LICENSE added
2023-11-02 21:06:43 +03:00
clowzed
6ea0978483 LICENSE added 2023-11-02 21:04:30 +03:00
Dmitry Miasnenko
ee9026668f
Merge pull request #5 from clowzed/feature/index-redirect
implemented redirecting from / to /index.html
2023-11-02 02:23:36 +03:00
clowzed
be0816d22b implemented redirecting from / to /index.html 2023-11-02 02:19:23 +03:00
Dmitry Miasnenko
b64e68412c
Merge pull request #4 from clowzed/feature/clean-urls
Implemented clean urls
2023-11-02 01:48:00 +03:00
clowzed
405f8ad6fa implemented clean urls 2023-11-02 01:46:51 +03:00
clowzed
4d7c7468dc Update readme 2023-11-01 21:38:01 +03:00
clowzed
32b4b5b2e5 Create code of conduct 2023-11-01 21:30:30 +03:00
clowzed
de484b3012 Update readme 2023-11-01 21:29:24 +03:00
clowzed
12c8a57075 update workflow 2023-10-25 18:11:26 +03:00
clowzed
9d66e9301a journey starts here 2023-10-25 18:08:11 +03:00