All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.7.4-rc.3 - 2024-09-14
- site discription length
- rss item content
0.7.4-rc.2 - 2024-08-23
- fix #27 favicon
0.7.4-rc.1 - 2024-05-27
- Feed bug fixed
0.7.4-rc.0 - 2024-04-29
- Feed bug fixed
0.7.3 - 2024-04-20
Please update as soon as possible, this is a security update.
- When you edit a post, it doesnβt use the markdown system but only HTML
- fix https://freedit.eu/post/1/5
0.7.2 - 2024-03-05
- High vulnerability: https://github.com/freedit-org/freedit/security/dependabot/11
0.7.1 - 2024-02-07
0.7.0 - 2024-02-06
This is a breaking change, please backup the database first. Then stop the server and run examples/dm_inn_type.rs for data migration.
cargo run --example dm_inn_type
inn_type: String -> u8
#[derive(Encode, Decode, Serialize, Debug)]
struct Inn {
iid: u32,
inn_name: String,
about: String,
description: String,
topics: Vec<String>,
inn_type: u8, // change from String to u8
early_birds: u32,
created_at: i64,
limit_edit_seconds: u32,
}
db tree:
- "user_posts", kv:
uid#pid => iid#visibility
->uid#pid => iid#inn_type
- "post_timeline_idx", kv:
iid#pid => timestamp
->iid#pid => timestamp#inn_type
- "post_timeline", kv:
timestamp#iid#pid => visibility
->iid#timestamp#pid => inn_type
- Make site admin happy
- Add ci for windows and macos
- Remove https support
- build error for
x86_64-pc-windows-gnu
(#209) - ...
0.6.5 - 2024-02-04
- post content @ bug fixed
- /admin/gallery
- image delete
- site admin could view all solos
- site admin could delete solo
- add notifications for post lock/hide/ comment hide...
0.6.4 - 2024-01-13
- e2ee message
- default user role standard
- site admin could hide/lock/pin posts and hide comments
- notification pagination
- fix js error
0.6.3 - 2023-11-24
0.6.2 - 2023-11-13
Highlight: important security update
- Security update: some user input is not escaped, which may cause problems. Please update as soon as possible.
- Privacy update: when reindexing, the private post had been indexed.
<meta property="og:description" content="...">
should be escaped #154- fix https://freedit.eu/post/1/155 name-spoofing
- update robots.txt https://github.com/freedit-org/freedit/commit/b2b637b
- limit username to 32 chars https://github.com/freedit-org/freedit/commit/8559933
- fix https://freedit.eu/post/1/167
- fix https://freedit.eu/post/1/171
- fix feed pagination error https://github.com/freedit-org/freedit/commit/a113aad
- fix https://freedit.eu/post/1/172
- fix layout overflow https://github.com/freedit-org/freedit/commit/6d4d9b2
- fix https://freedit.eu/post/1/175
- use search emoji https://github.com/freedit-org/freedit/commit/3593b0f
- fix https://freedit.eu/post/1/177
- fix https://freedit.eu/post/1/176
- remove duplicate search result https://github.com/freedit-org/freedit/commit/01675aa
- inn feed https://github.com/freedit-org/freedit/commit/8a2b171
0.6.1 - 2023-09-25
- bug fixed https://freedit.eu/post/1/145
0.6.0 - 2023-09-08
- Inn mod could set limit edit seconds(set 0 to disable)
- The old version of the database is not compatible with the new version. Please backup the database first. If you want to keep old data, please see examples/disable_compress.rs for data migration.
- Only count public
- https://freedit.eu/post/1/133
- ogcontent bug with post from feed
- https://github.com/freedit-org/freedit/security/dependabot/8
- whitelist mathml tags in html sanitizer #126 by @aszepieniec
- Add default tag for private inn post
- Remove page admin stats
- Add basic og meta tags
- if rss has no title, use content as title
- Atom feed content from summary if its content is empty.
- Add feed link
- Post pin https://freedit.eu/post/1/127
- Recommend users https://freedit.eu/post/1/131
- Open Graph Meta Tag #128
- Add proxy option
0.5.1 - 2023-07-07
- Site admin could set global default page(but it Will make your site config broken, please backup site info first)
- Inn feed missing bug
- unsubscribe button
- better not found error page
- Fix broken comment anchor 8ea5f8f
- Add robots.txt 3a5051f
- Fix all broken link 4632907
- code highlight fixed
- #106
- use br instead of gzip
- inn feed missing bug
0.5.0 - 2023-06-21
It's not a breaking change, but it requires more memory for tantivy. If you don't want to upgrade, you can use the old version.
- Search with tantivy π π π
- add the @user function when posting
- support /inn/inn_name && /user/username
- move explore tab to the side
- Display tips for inn feed posts and old posts
- feed read tree view
- update crates
- fix home page resetting bug
- remove
State<Db>
- remove search bar in search page
0.4.5 - 2023-05-19
- fix #47
- add help link
0.4.4 - 2023-05-19
- truncate feed read title
- remove unnecessary error log
0.4.3 - 2023-05-17
0.4.2 - 2023-05-11
- fix #109
- fix #107
- set default cookie Max-Age 4h to avoid panic
- inn mod code 8 ->7
- update timeline if comment has been deleted
0.4.1 - 2023-04-14
- upgrade crates
- fix https://freedit.eu/post/1/52
0.4.0 - 2023-03-31
breaking changes
- upgrade crate bincode to rc.3, which breaks enum with value. Make sure backup first and run examples/post for data migration.
0.3.7 - 2023-03-30
- fix https://freedit.eu/post/1/45?anchor=0&is_desc=false#4 if you upgrade from v0.3.6, run example/name first.
0.3.6 - 2023-03-29
- fix #97
- fix #88
- fix https://freedit.eu/post/1/47
0.3.5 - 2023-03-28
0.3.4 - 2023-03-17
- allow comment only if normal status
0.3.3 - 2023-03-17
- panic bug: visibility error
- fix #89 (reported by @Yakumo-Yukari)
- fix https://freedit.eu/post/1/38?#1 (reported by @Alice)
0.3.1 - 2023-03-06
- Changed cookie name from
__Host-id
toid
, fix #86 (Reported by @dominikdalek ) - Fixed #85 (Reported by @dominikdalek )
0.3.0 - 2023-03-02
breaking changes
Post
add fieldstatus
, remove fieldis_locked
andis_hidden
Post
fieldcontent
changed toPostContent
- tree
user_uploads
: changed fromuid#image_hash.ext => &[]
touid#img_id => image_hash.ext
- rewrite notifications: tree "notifications" changed from old kv:
uid#pid#cid => notification_code
to new kv:uid#nid#nt_type => id1#id2#is_read
- author can delete post if no one comments it
/gallery
Fix #64- Auto post from inn feed.
- if the comment has been deleted, just remove it
- Table style missing #42
- username could not contain special characters (#77 reported by @Yakumo-Yukari)
- Feed update timeouts should be less than global timeouts
- remove notification if the msg is deleted #67
- Solo like should be descending fix #68
- /user/list filter is broken #69
0.2.10 - 2023-02-02
-
push footer to the bottom of the page (by pleshevskiy #66)
-
csp: allow imgs from subdomain
0.2.9 - 2023-01-31
- Add git commit hash
- default checked for draft
0.2.8 - 2023-01-17
- Save as draft
0.2.7 - 2023-01-17
- Show errors if updating feed unsuccessfully
0.2.6 - 2022-12-30
Happy new year! πππ
- panic bug fixed: get inn list by topic
- bug fixed: remove duplicated tags and topics
- fixed: don't update timestamp when edit post
- No joined inn found, return err
- New post button
- Update crates
- Cargo clippy beta
- Refresh feeds asynchronously
- Stop browser requesting favicon
0.2.5 - 2022-12-09
- Changed svgs to independent files
- Update crates
- Add rss reader feature in readme
- Fixed inn page members number display error
- Feed unread/star pagination error
- Add CHANGELOG.md