-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release Version 3.0.0-alpha.1
#347
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Decoupling services from actix-web framework.
Decoupling services from actix-web framework.
Decoupling services from actix-web framework.
5396301 refactor: [#157] extract authentication service (Jose Celano) 8101048 refactor: [#157] extract service to ban users (Jose Celano) 2eb0f7c refactor: [#157] extract service for user registration (Jose Celano) 1abcc4d refactor: [#157] extract service: torrent (Jose Celano) 0387b97 refactor: [#157] extract service: settings (Jose Celano) c9fb249 refactor: [#157] extract service: proxy (Jose Celano) d58f3cc refactor: [#157] extract service: category (Jose Celano) baa4c7e refactor: [#157] extract service: about (Jose Celano) Pull request description: - [x] Extract `about` service. - [x] Extract `category` service. - [x] Extract `proxy` service. - [x] Extract `settings` service. - [x] Extract `torrent` service. - [x] Extract `user` registration service. - [x] Extract `user` ban service. - [x] Extract `user` authentication service. ACKs for top commit: josecelano: ACK 5396301 Tree-SHA512: b63a45f3eb8aaab0d51c885793c94e85979273128d9cb94e36a4ed7577a399105e9dcef9624077b4ae07c8aac03f6520eb1823944e2b44554d1bd85ad8c9e281
9ca7341 docs(api): [#163] API documentation on docs.rs (Jose Celano) Pull request description: API documentation on [docs.rs](https://docs.rs/torrust-index-backend). API Contexts: - [x] `about` - [x] `category` - [x] `proxy` - [x] `settings` - [x] `torrent` - [x] `user` ACKs for top commit: josecelano: ACK 9ca7341 Tree-SHA512: a630056d9d9ce6e21f60538e1fdaabfb3c3fc1efd23e2d4e03408b0a32711a8f75d2b154d5b70a211e93d944f7a8386cb851b48cae593e45a3fc11df1763aef7
9baedfb docs: [#166] installation and configuration (Jose Celano) Pull request description: Move installation and configuration docs to Rust [Documentation Comments](https://doc.rust-lang.org/book/ch14-02-publishing-to-crates-io.html#making-useful-documentation-comments). Top commit has no ACKs. Tree-SHA512: 4667d630446b45e1b73485f8c64b0dc4aa59e980aa4896f96b77dff9c13a1e84b5308428fd8ffa00708b1500401ab0c52cce96ecf08e26abd99c96a3ac8b9b91
5485589 refactor: remove unneeded code (Jose Celano) 93d1b64 docs: [#168] statistics importer console command (Jose Celano) Pull request description: Top commit has no ACKs. Tree-SHA512: 1d5f8b787ae94b418aaea50bee045fa080f8b200cac1f22e514c8a9a4c3548d504f9c92a1eabbc4658530522d798a139ea07d6f012d3167cc70728f0e921f322
Documentation for the command to upgrade the application.
d7f51fa docs: [#169] app upgrader documentation (Jose Celano) Pull request description: Documentation for the command to upgrade the application. Top commit has no ACKs. Tree-SHA512: 1c1aa1876fe28836a12c77ff7a76f5877dd443fd98f12ffd3d2ddc603f73dec7776b120370a5ddf8039f98b8c4f272e769a4aa4f24d67f42c02ce0bcad57b660
We decided to migrate from Actix Web to Axum. The main reason was we are also using Axum on the Tracker and it will be easier for us to mantain only one framework. And apparently there are no drawbacks. This commit adds the new dependencies.
When the loggin level is set to INFO sqlx logs all SQL statements like this: ``` 2023-06-06T17:19:52.639651375+01:00 [sqlx::query][INFO] SELECT version FROM _sqlx_migrations …; rows affected: 0, rows returned: 0, elapsed: 58.361µs SELECT version FROM _sqlx_migrations WHERE success = false ORDER BY version LIMIT 1 ``` This commits makes sqlc to log only failed statements as errors and slow statements (>1 second) as warnings.
Basic changes needed to run the Axum API implementation in parallel with the current one with ActixWeb. For the time being, we will be only useinf the Auxm implementation for testing until all endpoints are migrated.
d08f70e refactor(api): [#174] Axum API scaffolding (Jose Celano) 7bcf20e feat: disable sqlx logging for all statements (Jose Celano) 7347fee feat(api): [#174] new cargo dependencies: axum, hyper (Jose Celano) Pull request description: Basic changes which are needed to run the Axum API implementation in parallel with the current one with ActixWeb. For the time being the Axum implementation will be only used for testing until all endpoints are migrated. Top commit has no ACKs. Tree-SHA512: 6d0b8ed20329e91ba92bf5d78caf366b1fb61c2048040154b68da876878cd73f5de372be0955c492b82f307cbe8786d702ce86dbfa201900d6d98ea1913ba85b
```toml log_level = "info" ``` The level can be: - `off` - `error` - `warn` - `info` - `debug` - `trace`
The log has some errors we need to fix. See: #176
68e2132 refactor: disable logging for testing (Jose Celano) 0264e5c feat: [#177] new config option for log level (Jose Celano) Pull request description: ```toml log_level = "info" ``` The level can be: - `off` - `error` - `warn` - `info` - `debug` - `trace` It's optional. The default value is `info`. Top commit has no ACKs. Tree-SHA512: 7bb55827fefa093bf5a64295047fe237b23e76c239c9385793a73e11570e1eecd73d5c07e09625ac5d4236a46f149bff0ff462d3b54779cd836bbe3921a8232b
ca05034 ci: add labels sync workflow (Cameron Garnham) 4100d8d ci: add dependabot file (Cameron Garnham) 41be37a github: add codeowners file (Cameron Garnham) Pull request description: Some basic workflow updates to match the torrust-tracker repo. ACKs for top commit: da2ce7: ACK ca05034 Tree-SHA512: fa5584bb4e464c8a62d3ab392fdbfd1594ebab7088d0418e04425418d1a8a4f7251e2bdac2b37005629c32725811c88e037fd2dec99cae43b0c6479a945a898b
f59b16e ci: update testing workflow (Cameron Garnham) 4dc795f chore: update cargo lockfile (Cameron Garnham) 5495658 ci: small fixes (Cameron Garnham) Pull request description: ACKs for top commit: da2ce7: ACK f59b16e Tree-SHA512: e99bd3808ddaa7818a4507841ec066647a83d070fb98553e7370677c0342b2b84ab1d7761bbb1e653e4bd33feaa1282c45360ee8e5ba66d7ffe1921773b9cbac
small changes included: - move to deployment workflow - move copyright to readme - remove common license files
b6cfcc3 various: change name to `torrust-index` (Cameron Garnham) Pull request description: small changes included: - move to deployment workflow - move copyright to readme - remove common license files ACKs for top commit: da2ce7: ACK b6cfcc3 Tree-SHA512: 5481623bb6320971ef53f359f2684f9200ba133ded0946572b4028e6a0ebf642bf3e63df69db54e8a540f0117a3b558acd9509a3d2bf066758697f19be9a9811
b0f2913 chore: format cargo file (Cameron Garnham) f610b92 dev: replace sailfish with tera (Cameron Garnham) Pull request description: ACKs for top commit: da2ce7: ACK b0f2913 Tree-SHA512: fff077574765d135fd2cbc038da2df83b4e7b2cd4846a7750d5edd71ae56b90335e52cceb154514ce634403e1cf5efb1c28e7511fe45872919dbd6425751b21e
many copy-paste from torrust-tracker - intergration tests are disabled for now.
1f5351d dev: upgrade containers (Cameron Garnham) Pull request description: many copy-paste from torrust-tracker - intergration tests are disabled for now. ACKs for top commit: da2ce7: ACK 1f5351d Tree-SHA512: 0bde3200efcde1ee914608e8d5aed322b7f763dacd7757bf5d0bffd98b2b26470cec6fe2ee1a8831322f57090373891cb7bdf86410200960af258d04ab63cdc5
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.9.3 to 2.0.2. - [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md) - [Commits](indexmap-rs/indexmap@1.9.3...2.0.2) --- updated-dependencies: - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
ACK 27afd4e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.