Skip to content

Releases: epochtalk/epochtalk_server

v1.31.0

28 May 21:19
917a459
Compare
Choose a tag to compare

1.31.0 (2024-05-28)

Bug Fixes

  • config_server: correct spec for dialyzer (a412575)
  • controllers/image_reference: change param name file_type -> type (eb34bd2)
  • json/image_reference: extract presigned post data (19e6235)
  • migrations: drop schema for image_reference on down (0ed4fb3)
  • models/image_reference: alias ImageReference (937b435)
  • models/image_reference: cast image_reference instead of now (1cac0b1)
  • models/image_reference: image_reference_changeset -> image_reference (9ebcd31)
  • models/image_reference: is_string -> is_binary (cb03227)
  • models/image_reference: naive_datetime -> now (0b0084e)
  • models/image_reference: remove query from delete_expired (78e5ad8)
  • models/image_reference: remove redundant / from image path (4672f25)
  • models/image_reference: use jason encoder for expiration and created_at (648c114)
  • rate_limiter: :do -> do: (cafa054)
  • rate_limiter: add default_count (3b3a025)
  • rate_limiter: call passed function with .() (827e072)
  • rate_limiter: handle warning (:error case never reached) (b6cbac9)

Features

  • application.ex: start config server (cbadb7d)
  • config_server: implement config genserver (53cd937)
  • config/config.exs: add default hammer config (347c1b0)
  • config/config: configure aws (e6df175)
  • config/config: use AWS_REGION (364a8c3)
  • config/runtime: set content-type in config (e46fadf)
  • controllers/image_reference: add ACL for image upload request (94d616a)
  • controllers/image_reference: check max images in attrs_list (85039f1)
  • controllers/image_reference: handle attrs list in s3_request_upload (2dcd296)
  • controllers/image_reference: implement s3_request_upload rate limiting (0f3a78f)
  • controllers/image_reference: implement validate_max_length (771823f)
  • controllers/image_reference: init and implement s3_request_upload (6f4da48)
  • controllers/image_reference: use rate limiter (b60e369)
  • json/image_reference_json: init formatter, implement s3_request_upload (eed4f6f)
  • migrations: add cascade delete to roles_permissions_permission_path_fkey (ed1ac1c)
  • migrations: add ImageReference migration (9ad71c9)
  • mix.exs: add hammer as a dependency for rate limiting (a834084)
  • mix.exs: add hammer dep for tracking rate limits (a5e2449)
  • mix: add deps for aws, update mix.lock (b12d559)
  • mix: add sweet to deps for XML parsing (664c77b)
  • models/image_reference: create image reference model (0992fd6)
  • models/image_reference: generate presigned post on create() (6d613e7)
  • models/image_reference: implement create changeset (4d9fe25)
  • models/image_reference: implement create db function (574d6f9)
  • models/image_reference: implement create for list of image attrs (565e3dd)
  • models/image_reference: implement delete_expired (1b95186)
  • models/image_reference: implement find_expired (a4d072d)
  • models/image_reference: implement generic changeset (7ffb238)
  • models/image_reference: implement with_uuid (9bfb303)
  • models/image_reference: return presigned post results with image_reference in create() (f19ca77)
  • models/image_reference: stub find method (f9c7435)
  • models/image_reference: use attrs in create (bc84809)
  • models/image_reference: use join through in schema (2813999)
  • models/image_reference: validate image upload type, required (5d5350f)
  • rate_limiter: implement rate limit reset (2d9185c)
  • rate_limiter: implement rate limiter for s3 uploads (2423e47)
  • rate_limiter: use config server (84ac30c)
  • router: add /images/s3/upload (09250b0)
  • s3: implement s3 module (cc30c24)
  • seed/roles_permissions: add images permissions (52295ed)

v1.30.0

14 May 20:58
7f9124a
Compare
Choose a tag to compare

1.30.0 (2024-05-14)

Bug Fixes

  • posts: redirect error when loading post view unauthenticated (c6589d0)

Features

  • parse-preview: add route to preview markdown content (2e9e5d4)
  • parser: add function to parse markdown directly (f335cb7)

v1.29.1

10 May 20:47
68b1d41
Compare
Choose a tag to compare

1.29.1 (2024-05-10)

Bug Fixes

  • seed: add meta to board in seed (3e27448)

v1.29.0

25 Apr 00:56
45a413b
Compare
Choose a tag to compare

1.29.0 (2024-04-25)

Bug Fixes

  • poll-create: format return json for create poll route, refactor json file to reuse code (83bdd06)
  • poll-error: bubble up errors with poll data properly when creating thread (46b0149)
  • routes: move authed routes into enforce auth api routing section (c3bccb0)
  • update-poll: update poll using thread id, misc clean up (0054f0c)
  • warnings: update code to fix warnings (128add4)

Features

  • acl-helper: move acl code out into generalized function in acl helper (1e79d97)
  • lock-poll: add authorization checks to lock poll route (f22bd13)
  • poll-exists: implement poll exists by thread id db function (660b4e6)
  • poll-lock: implement poll lock route with no authorization (c0c014e)
  • poll-running: implement db function for checking if poll is expired (7d32201)
  • poll-update: add auth to poll update (1379af3)
  • poll-update: implement db function for poll update along with changeset (f3e0736)
  • poll-update: implement route for update poll: (171964f)
  • polls: add db function to delete a users vote on a poll (b065502)
  • polls: implement create poll route (untested) (0add6be)
  • polls: implement function that checks if youre allowed to change votes on a poll (921333f)
  • polls: implement max_answers db function, refactor function names (6dc55e6)
  • polls: implement poll locked db function (aaab75e)
  • polls: implement route that allows user to remove their vote (a34e520)
  • polls: implement set locked db function (1d52fb5)
  • thread: update thread db function for querying first post in thread (b8bfe02)

v1.28.0

19 Mar 21:29
c7603f5
Compare
Choose a tag to compare

1.28.0 (2024-03-19)

Bug Fixes

  • correct-status-code: use correct status code for not logged in post draft routes (c2c1222)
  • correct-status-msg: use correct status message for not logged in post draft routes (181bc90)

Features

  • post-draft: add initial model for post drafts (bd43a1f)
  • post-draft: implement db create function (8447771)
  • post-drafts: full implement post drafts with testing (e86ab2f)
  • post-drafts: implement db upsert function (0a108d2)

v1.27.0

19 Mar 20:59
bff9fa7
Compare
Choose a tag to compare

1.27.0 (2024-03-19)

Bug Fixes

  • controllers/post: has_priority should not reject directly, return false if user doesnt have permission (971dd1c)
  • controllers/post: refactor authorizations and fix permission check for is_mod related authorizations (eedd6f7)
  • credo: resolve credo warnings (2a9d334)
  • json/post: resolve issue with error being thrown after editing a post (aa18a8c)
  • misc: for passing code testing and formatting (0ba67f0)
  • models/board: issue with dialyzer having no return in post update route (be8ae24)
  • models/poll_response: add repo alias (991f7ae)
  • models/post: update needs to preload thread (97e86d5)
  • post-controller: update calls to renamed functions (280ff29)

Features

  • controllers/thread: implement vote api route (bce05cd)
  • helpers/acl: add docs and spec for acl has role function (ab1dde9)
  • json/thread: update vote json file for api data rendering, add route for voting to router (5f03b58)
  • models/board: implement db function that can check if post is still editable given thread id and post created at (f67717e)
  • models/poll: implement has_voted database function, refactor pollresponse create (415cb36)
  • models/pollresponse: implement create for poll response model, used for voting (0a5d868)
  • models/poll: update ecto model and derive in preperation for returning json object from vote api route (18b158b)
  • models/post: add is_locked function for post update authorizations (c1b5e91)
  • models/post: implement post update (8daf839)
  • port-roadmap: update roadmap with hooks for post update (ed14155)
  • update-deps: update deps (3a92a6d)

v1.26.0

14 Dec 01:48
c00be59
Compare
Choose a tag to compare

1.26.0 (2023-12-14)

Features

  • controllers: use md parser when creating posts and threads (e2d5072)
  • dependencies/earmark: add earmark as markdown parser (9edd42d)
  • helpers/parse: helper for parsing threads and posts (390d3b9)
  • helpers/sanitize: update strip from title and subject to only strip entities and lt and gt (ade6342)

v1.25.0

16 Nov 18:14
3a7ef6f
Compare
Choose a tag to compare

1.25.0 (2023-11-16)

Features

  • controllers/post: sanitize html from post title (373b89e)
  • controllers/thread: strip html from thread title (4bf06a7)
  • controller: use sanitizer in thread and post controllers (237d978)
  • dependencies/html_santize_ex: add html sanitizer as dependency (cfc9afb)
  • helpers/sanitize: add helper to sanitize client input (ba50404)
  • helpers/sanitize: function for sanitizing message subject (53452f3)

v1.24.0

08 Nov 14:46
6efb0be
Compare
Choose a tag to compare

1.24.0 (2023-11-08)

Features

  • controllers/moderation_log: add acl check to page moderation log route (7bc9600)
  • controllers/notification: add acl check to notifications dismiss route (b251726)

v1.23.0

07 Nov 18:49
4dfd4fb
Compare
Choose a tag to compare

1.23.0 (2023-11-07)

Bug Fixes

  • controller/board: resolve issue with wrong error being thrown after adding acls (29e316c)

Features

  • controllers/board: add authorizations acl check for Boards find (5c4b3f7)
  • controllers/board: add authorizations checking if authed user can read board for Boards find (cdd1cca)
  • controllers/board: add authorizations for Boards by category (a3e20b6)