Chris Tsang
|
547429c377
|
Sort by id
|
2021-09-21 18:19:21 +08:00 |
|
Chris Tsang
|
d6f0d3c35a
|
Fix clippy warnings
|
2021-09-21 18:13:48 +08:00 |
|
Chris Tsang
|
6d9727050e
|
Use compact Entity format
|
2021-09-21 18:13:35 +08:00 |
|
Chris Tsang
|
f7b42ebc0e
|
Clean up Cargo.toml
|
2021-09-21 18:04:26 +08:00 |
|
Sam Samai
|
fac33f4019
|
Merge branch 'master' into ss/actix-example
|
2021-09-21 18:22:31 +10:00 |
|
Sam Samai
|
ac8d84ea44
|
Just clone the state for each thread
|
2021-09-21 18:21:55 +10:00 |
|
Sam Samai
|
8a618f88c7
|
Start from page 1
|
2021-09-20 21:00:51 +10:00 |
|
Sam Samai
|
daa5ff77c0
|
Define SharedState type
|
2021-09-20 20:55:22 +10:00 |
|
Billy Chan
|
bb225b12ee
|
Rocket example page number starts from one
|
2021-09-20 18:30:31 +08:00 |
|
Billy Chan
|
ce35317daf
|
Refactor rocket example
|
2021-09-20 18:30:31 +08:00 |
|
Sam Samai
|
54edd87706
|
Merge branch 'master' into ss/actix-example
|
2021-09-19 21:43:10 +10:00 |
|
Sam Samai
|
31bc662f3f
|
Use Arc to pass database connection to requests
|
2021-09-19 21:16:43 +10:00 |
|
Chris Tsang
|
8443f566cf
|
Tokio example
|
2021-09-18 17:44:43 +08:00 |
|
Chris Tsang
|
004653e86d
|
Simplify Cargo
|
2021-09-18 03:37:27 +08:00 |
|
Chris Tsang
|
77bc11e1e5
|
Use compact entity format for Rocket example
|
2021-09-18 03:10:07 +08:00 |
|
Sam Samai
|
1a4392dd0b
|
Merge branch 'master' into ss/actix-example
|
2021-09-17 20:17:54 +10:00 |
|
Sam Samai
|
d623474d7c
|
Refactor flash
|
2021-09-17 20:17:17 +10:00 |
|
Sam Samai
|
8b46a89e2c
|
Add flash messages
|
2021-09-16 22:47:11 +10:00 |
|
Billy Chan
|
c1e399ae18
|
Add example of debug log support
|
2021-09-16 18:30:05 +08:00 |
|
Sam Samai
|
237dcaa6a9
|
Delete post
|
2021-09-12 21:08:39 +10:00 |
|
Sam Samai
|
c427e4e89b
|
Edit post
|
2021-09-12 19:21:01 +10:00 |
|
Sam Samai
|
f97c081c2a
|
Add new post
|
2021-09-12 17:12:20 +10:00 |
|
Sam Samai
|
5d7a9ca782
|
Extend from layout.html.tera
|
2021-09-12 16:41:03 +10:00 |
|
Sam Samai
|
2e8016d23c
|
List posts with pagination
|
2021-09-12 16:35:43 +10:00 |
|
Sam Samai
|
fcacae04b8
|
Use DATABASE_URL from .env file
|
2021-09-12 11:56:51 +10:00 |
|
Sam Samai
|
1ba6b0b647
|
List posts from the DB
|
2021-09-12 11:39:53 +10:00 |
|
Sam Samai
|
8f3a45e6ae
|
Use tera template and serve static assets
|
2021-09-12 10:07:00 +10:00 |
|
Chris Tsang
|
236bc56f03
|
Persist posts_per_page across pages
|
2021-09-11 15:45:05 +08:00 |
|
Sam Samai
|
1c1283ca66
|
Actix example init
|
2021-09-11 17:02:59 +10:00 |
|
Sam Samai
|
918ce056bc
|
Add optional posts_per_page query string
|
2021-09-11 16:14:25 +10:00 |
|
Chris Tsang
|
f96c8ed49b
|
cargo fmt
|
2021-09-10 22:02:35 +08:00 |
|
Sam Samai
|
81c1bf0704
|
ROWS_PER_PAGE const
|
2021-09-10 21:32:26 +10:00 |
|
Sam Samai
|
66e9be195c
|
Add pagination to the rocket example
|
2021-09-10 21:26:18 +10:00 |
|
Billy Chan
|
f4d1a52791
|
Change update behavior, add ActiveModel insert & update
|
2021-09-10 12:56:41 +08:00 |
|
Chris Tsang
|
eca3949ea9
|
Merge pull request #135 from SeaQL/entity-format
Entity format
|
2021-09-10 12:55:05 +08:00 |
|
Billy Chan
|
54bb358cca
|
DeriveEntityModel automatically derive DeriveModel and DeriveActiveModel
|
2021-09-08 22:02:24 +08:00 |
|
Chris Tsang
|
0fff7fd054
|
Rename to DeriveEntityModel
|
2021-09-07 20:37:51 +08:00 |
|
Marco Napetti
|
d4a915616a
|
Fix example
|
2021-09-07 10:38:42 +02:00 |
|
Marco Napetti
|
a4d70dfa55
|
Merge branch 'entity-format' into entity_model_macro
|
2021-09-07 10:09:34 +02:00 |
|
Marco Napetti
|
c273cf0a39
|
Manage schema_name attribute, add prelude export, update example
|
2021-09-07 10:04:33 +02:00 |
|
Chris Tsang
|
4a701d5e2d
|
Tweak rocket example
|
2021-09-06 23:28:56 +08:00 |
|
Billy Chan
|
691221e714
|
Hotfix - rocket_example
|
2021-09-06 22:30:51 +08:00 |
|
Chris Tsang
|
dd7585c4e6
|
Tweak rocket example
|
2021-09-06 17:57:54 +08:00 |
|
Chris Tsang
|
27c73401ca
|
Tweak rocket example
|
2021-09-06 10:54:53 +08:00 |
|
Chris Tsang
|
9a1b771e41
|
0.2.0
|
2021-09-03 23:14:54 +08:00 |
|
Chris Tsang
|
60fdc78766
|
Move RocketDbPool
|
2021-09-03 23:12:49 +08:00 |
|
Chris Tsang
|
5c23cf7739
|
Cargo
|
2021-09-03 22:37:34 +08:00 |
|
Chris Tsang
|
9be7440e58
|
Readme
|
2021-09-03 22:09:20 +08:00 |
|
Chris Tsang
|
e6b5d3ebdc
|
Edit
|
2021-09-03 21:58:45 +08:00 |
|
Chris Tsang
|
9665355d22
|
Screenshot
|
2021-09-03 21:54:38 +08:00 |
|