Skip to content

Releases: epochtalk/epochtalk_server

v1.22.0

03 Nov 20:57
55c7cc0
Compare
Choose a tag to compare

1.22.0 (2023-11-03)

Bug Fixes

  • session: refer to user_key for ban_key base TTL (fd7d3a2)
  • session: refer to user_key for moderating_key base TTL (5845b33)
  • session: use catch-all for setting ttl (e898798)

Features

  • session: implement has_sessions (cca252a)
  • session: populate malicious score if it exists (0a600a3)
  • session: populate session ban info if it exists (d239b00)

v1.21.0

31 Oct 21:58
dae8789
Compare
Choose a tag to compare

1.21.0 (2023-10-31)

Bug Fixes

  • helpers/validate: correctly implement mutually_exclusive (3913b9a)

Features

  • errors/custom_errors: allow custom message for invalid payload error (c810e85)
  • helpers/validate: add function to check mutual exclusivity of body parameters (4ebf2a5)

v1.20.0

28 Oct 00:22
1ea71b9
Compare
Choose a tag to compare

1.20.0 (2023-10-28)

Features

  • controller/board: add route for board movelist (6e7c0c8)
  • controllers/post: add mentions hook to post by thread (9ba144a)
  • models/boards: implement movelist database function (d1e3385)
  • portroadmap: update document containing port progress (c21728f)

v1.19.0

26 Oct 19:37
f722090
Compare
Choose a tag to compare

1.19.0 (2023-10-26)

Bug Fixes

  • board_json: clicking on a board errors (3aee9b2)
  • controllers/user: register_with_verify, use base 16 instead of 64 (82aee56)
  • dialyzer: resolve dialyzer error caused by fetching post out of thread (a93c43d)
  • json: update json files for post and thread to properly handle deleted info (43813cb)
  • mailer: thread url format and email to field (5c43fd4)
  • metric_rank_map: default empty list when metric rank maps not populated (9baff84)
  • models/auto_moderation: schema field types for auto_moderation model (1915e8b)
  • models/auto_moderation: unused variable (1c9a441)
  • models/mention: close open parens (50cc843)
  • models/mention: resolve credo error caused by over nesting user_id_to_username function (ca978a7)
  • models/mention: use profile_link user_id_to_username, from pasted code (63cef0d)
  • models/posts: issue with locked and deleted not being set when auto moderator assigns them (22c8e0f)
  • plugs/prepare_parse: use plug builder to prevent issue with Postgres disconnecting randomly (f5e4d0e)
  • regex: user_id; remove bol from pattern, use 0-9 instead of [:digit] (7e84f5a)
  • tests/mentions: resolve issue with mentions tests failing after merging boka branch (90006e6)
  • tests/thread: fix thread create factory (c7227f6)
  • user: implement maybe_confirm? on model, use in controller (0cc0e0b)

Features

  • controllers/post: check if user is banned from board before creating post, this was not in the old code (5cc3d04)
  • controllers/post: integrate mentions in posts controller (6ab8c2f)
  • controllers/post: use auto moderator (86926ed)
  • controllers/thread: add hook for watched board to threads by board route (ed33587)
  • controllers/thread: check if user is board banned and that they have permission to moderate before creating thread (08036f4)
  • controllers/thread: finish porting hooks for thread create route, still need to handle parsing and image processing (015efe2)
  • helpers/acl: allow user to be a map for allow! function (8a0a2a9)
  • mailer: add email for mention notification (d414669)
  • migrations/posts: add tsv column to posts table (5cfd473)
  • models/auto_moderation: initial implementation of auto moderate feature for posts (7a5855b)
  • models/board: implement new db function for thread create authorizations, used to check if board allows self mod (0d45e9e)
  • models/mention: add curly version of username mention regex (f9c8e03)
  • models/mention: add function skeleton for handle_user_mention_creation (02024ef)
  • models/mention: add helper function to correct text search vector if mentions were created (3682830)
  • models/mention: complete handle_user_mention_creation function, send email notification for mention (1338d20)
  • models/mention: initial implementation of user_id_to_username (052133d)
  • models/mention: initial implementation of username to user id for creating mentions (26372d6)
  • models/mention: update @username_mention_regex (301bd0d)
  • models/mention: update username_to_user_id, handle "possible_username"s (07b3310)
  • models/notifications: add function to handle creation of notifications (01d75d3)
  • models/poll: implement changeset validator to check for display_mode expired without expiration set (fe706af)
  • models/thread: implement get_first_post_data_by_id for use with emailing mentioned users (22812ec)
  • models/user: get user email by id, for use with mentions (7085e19)
  • models/user: implement new db function for fetching username by id (03335e3)
  • models/users: add way to query user_ids using list of usernames, helps optimize mentions (85e0237)
  • plugins/last_active: add last active plugin (6967ceb)
  • plugs/track_ip: implement plug that tracks user ip when making requests that modify the database (2d197ed)
  • posts: add trigger for posts tsv (3bb8c2f)
  • regex: add regex.ex (d3ac000)
  • session: after save, update guardian resource with session info (3911d39)

v1.18.1

22 Sep 23:24
0caaa9a
Compare
Choose a tag to compare

1.18.1 (2023-09-22)

Bug Fixes

  • models/post : handle date time collisions in count_by_user_id_in_range (d4346c2)
  • models/user_activity: update current_period_offset before upserting (8cf7a27)
  • models/user-activity: set default total_activity: 0 on update (06d017f)

v1.18.0

19 Sep 19:59
bef8225
Compare
Choose a tag to compare

1.18.0 (2023-09-19)

Features

  • models/user: set created at/updated at on registration changeset (c9c4964)

v1.17.0

12 Sep 22:50
81001a2
Compare
Choose a tag to compare

1.17.0 (2023-09-12)

Bug Fixes

  • board-formatting: properly format board data (a7808f1)
  • board-formatting: remove duplicate id field from stats (e9f63ec)
  • by-thread: issue with pagination for post by thread (633d34b)
  • controllers/post: formatting issues causing code to not compile (2416370)
  • controllers/post: issue regarding non authenticated user (7e86603)
  • controllers/thread: partial fix for thread view, resolve issue with viewer id key being incorrect (655417a)
  • controllers/thread: re-add accidentally removed code (4bf83e1)
  • controllers/thread: remove unused param in get_thread_view_flag_for_viewer (48064f0)
  • dialyzer: type spec fix for dialyzer error (69be1f0)
  • helpers/acl: allow user to be passed as a map to has_permission (e92c1a0)
  • increment-thread-view: resolve issue causingg thread views not to increment properly (ed385cd)
  • mentions: bug fix for mentions, convert per_page out of pagination helper to limit with rendering api results (301f421)
  • misc: make user type check less strict, check for map instead of user model (482f16e)
  • models/board_moderator: fix spec for get_user_moderated_boards (f50a83f)
  • models/user_ignored: fix dialyzer issue wtih user ignored (5237ea4)
  • models/user: match {:ok, user} (e24dcc5)
  • poll-answers: relationship between poll answers was not correct, was breaking preloading (af1b7a7)
  • post-by-thread: pass in user_id fix fragment query to use user_id (62e1c51)
  • post-by-thread: querying thread without poll (3274e75)
  • post-by-thread: update view to match what frontend expects, add body_html and rename metric_rank_maps to rank_metric_maps (d27065e)
  • post-create-validation: resolve issue that would cause error in code if title or body were not strings (f53b7df)
  • rank: changeset variable fix (71c6ed9)
  • res-req-headers: expose custom epochtalk header through corsica so Vue frontend can receive it (6c026c7)
  • session: fix unused default option for update_user_info (790436d)
  • thread-viewed: resolve issue with thread view behaving differently for author and viewer (f7b8e5f)
  • thread-view: resolve issue with thread not being marked viewed, when viewing a thread not created by authed user (622eda6)
  • trust-feedback: correct schema name for trust feedback model (d53142d)
  • user-thread-view: remove unused imports, fix name, add needed aliases (6eacba2)

Features

  • board-find: implement find by id for board model (0cbfc84)
  • board-jason: add jason derive for board model (dd7048a)
  • board-read-access: add ability to check read access by thread_id (e3cc765)
  • board-write-access: add Board.get_write_access_by_thread_id, refactor existing code for reuse (4a70845)
  • by-thread-spec: add spec for dialyzer (8a94e88)
  • by-thread: implement skeleton view for posts by thread (5c90949)
  • by-thread: query thread poll data for post by thread (935f7b8)
  • category-find: port find db method for categories, find_by_id (942ffa5)
  • controller/post: watch thread after creating post (581b908)
  • controllers/post: add board read/write authorizations to post create (aa01e50)
  • controllers/post: implement auth check which returns if you can view deleted posts or not (4032a0f)
  • controllers/post: implement thread notifications for post create routea, includes email and template (3c0767c)
  • controllers/post: reject with error if posts start position or page is out of range (ca43058)
  • controllers/post: update post create to validate post body length using configs, update documentation with remaining tasks for post create (c9718a5)
  • controllers/post: update post create, add hook for subscribing to thread upon posting (a266dc1)
  • customerrors: update custom errors to handle validating string length (3995352)
  • helpers/acl: refactor and implement function that returns boolean given user and permission path (5542de3)
  • ignored-users: implement function that filters out posts by ignored users (56e9d80)
  • metadata-thread-inc: implement database function to increase thread view count (996ef52)
  • metric-rank-map: port model and db method for fetching metric rank maps (53aa5ac)
  • models/auto_moderation: implement all database functions relating to auto moderation (cbf8914)
  • models/auto_moderation: implement all query (00908cb)
  • models/auto_moderation: port model for auto_moderation (00115ce)
  • models/board_moderator: implement checks for if user is moderator using post and thread id (0cc879d)
  • models/board_moderator: implement database function to query a users moderated boards (79df8f7)
  • models/board_moderator: implement function to add moderators to board (...
Read more

v1.16.0

10 Aug 20:22
0339fd5
Compare
Choose a tag to compare

1.16.0 (2023-08-10)

Features

  • breadcrumbs-tests: Added tests for breadcrumbs route, added parent board to test seed for boards to help test breadcrumbs (d379836)
  • breadcrumbs: Added '/breadcrumbs' route, added helper to create breadcrumbs recursively (8e0c536)
  • breadcrumbs: create breadcrumb queries for boards and threads (fec9e99)
  • category-find: port find db method for categories, find_by_id (84cefca)
  • post-find: port database function to find posts by id (c28cbda)

v1.15.0

08 Aug 19:58
a1fd77b
Compare
Choose a tag to compare

1.15.0 (2023-08-08)

Bug Fixes

  • helpers/moderation_log: remove "to [new board]" from purge message (4b4c124)

Features

  • models/board: add defaults to schema (2a8d50e)

v1.14.0

26 Jun 22:26
9f579b6
Compare
Choose a tag to compare

1.14.0 (2023-06-26)

Bug Fixes

  • js/configuration: fix path in module name (2c7088d)

Features

  • models/board: check board exists on get_read_access_by_id (6aa64e5)

Reverts

  • ): "test(session: set async true" (fd21163)