Releases: epochtalk/epochtalk_server
Releases · epochtalk/epochtalk_server
v1.13.0
1.13.0 (2023-05-23)
Features
- finch: add finch to match fresh phoenix 1.7.2 install (7ae43e3)
- mod-log-view-to-json: convert mod log to use new phoenix 1.7 format (4451d93)
- remove-board-view: complete removal of board view, converted to use BoardJSON instead (31a3ee1)
- remove-mention-view: convert mention view to mention json module (7f7d810)
- upgrade-phoenix: port verified route features from phoenix 1.7 (9cb5e25)
- view-helpers: use verified routes with view helpers (0edc74d)
- web-helpers-phoenix: port new html web helper over from phoenix 1.7 (948a358)
v1.12.0
1.12.0 (2023-05-23)
Bug Fixes
- models/role: implement by_lookup_repo (0c3aa99)
Features
- application: start role cache in supervision tree (6c436b5)
- cache/role: cache all roles (c364fbb)
- cache/role: create role cache (37634e9)
- cache/role: implement all() (05ed843)
- cache/role: implement cast for reloading roles (abae17c)
- cache/role: implement load() (a96adf5)
- cache/role: load if not loaded on by_lookup (0cbfb91)
- controllers/role: use RoleCache.all (7887b24)
- models/role: comment unused function Role.by_user_id (a28c06f)
- models/role: reload role cache on successful updates roles (b422769)
- models/role: use role cache by_lookup instead of repo (474ed4a)
- repo/seed_roles_permissions: reload role cache on success (16cb9ff)
- role+session+acl: call RoleCache.by_lookup directly (94fab79)
- test/helper: reload role cache before tests (4cd5457)
Performance Improvements
- cache/role: remove cache reloads on call (36593b2)
Reverts
v1.11.0
1.11.0 (2023-05-12)
Bug Fixes
- moderation-log: change naming of changeset to create_changeset (963debc)
- moderation-log: Fixed calling create_changeset function (7aee216)
- pagination: Fixing doctest failing (5ab1c95)
- query-helper: Fix credo warnings (6db4595)
- query-helper: Fix dialyzer errors (b5f8e64)
Features
- moderation-log: added create function for ModerationLog (489a0e7)
- moderation-log: Added dynamic query for page route; Added helper to generate ModerationLog display fields with anonymous functions; Updated tests for happy paths using helper functions (4a274e7)
- moderation-log: Added moderation_log seed and test for creating a moderation log entry (3821741)
- moderation-log: Added query helper to build dynamic queries; Replaced old dynamic query functions with new function in QueryHelper; Added pagination options for moderation log (0d9e2fd)
- moderation-log: adding changeset logic, added logic for dynamic query filters for mod keyword, added moderation_log_view (388d260)
- moderation-log: initial commit for moderation log model and controller; added route for new api call (9dbd7d5)
- pagination: Updating pagination logic to calculate total records and pages for query passed as a parameter (6bbfc1b)
v1.10.0
v1.9.0
1.9.0 (2023-04-28)
Bug Fixes
- categorized-boards: for last post data causing categorized boards api call to fail (2b21726)
- categorized-boards: last post data overwriting board data (4a25b96)
- changeset-errors: rendering of changeset errors when erro involves Ecto.enum (c2ef8d4)
- controllers/role: pass map instead of model to Role update (38d3bae)
- createPrefsandProfile: updated create function to return updated row for profile and preferences models (d3d27f3)
- malicious-score: patch to work with ipv6 (332ddc3)
- models/role: close bracket (d9e35bc)
- models/role: id -> attrs.id in update (e8fd0f7)
- preferences-update: issue with preferences not updating because there is no primary key (aaa7e79)
- session-get-resource: dialyzer error caused by incorrect spec for user_id (4d85e11)
- set-pr: dialyzer error caused by incomplete spec (b2a6d9e)
- slug-conflict: catch slug conflict specifically, prevents error catching on slug length on slug format (3a3a7d9)
- thread-create-changeset: update changeset to add defaults and fix issues (0acc2d7)
- thread-post-id: add ids to json encoder for post and threads (bccacf3)
- thread-sort-order: sort order for threads was inverted (684d503)
- validate-sanitize-list: dialyzer error caused by incorrect/incomplete spec (4b39c60)
Features
- controllers/role: add params to update (0b7b7cc)
- controllers/role: call model update in controller update (c3baaa6)
- controllers/role: render error on update call (18f10f5)
- format-code: run mix format (e55b27a)
- iex-aliases: add poll models to iex aliases (e2ec1d6)
- inc-post-count: implement db function to increment post count in users profiles table (d9f5cb7)
- increment-post-count: add spec for dialyzer (9b5abcc)
- models/role: filter nil attributes in update changeset (b4635cb)
- models/role: impl update changeset (4a1d548)
- models/role: implement update method (9115820)
- naivedatetime-validator: add ecto validator for naivedatetime type (50b5b27)
- poll-answer-create: add create db function for poll answers (ce7b6b1)
- poll-answer-cs: add create changeset for poll answers (94ce648)
- poll-answer-validation: add validation to poll answers create (4507a72)
- poll-answer: add poll answer relationship to polls (cef3ab5)
- poll-answer: port poll answer model (2016228)
- poll-answer: set up poll response has many relationship (525b0fa)
- poll-create-cs: add poll create changeset (5a1831c)
- poll-create: add creation of poll answers (9554691)
- poll-defaults: add default values for poll, fix issue with changeset (d6c4866)
- poll-responses: port model for poll responses (0a33140)
- poll-validation: add validation to poll create (1523f2a)
- polls-model: port skeleton for polls model (81b24b0)
- post-create: add changeset for post creation (4204170)
- post-create: implement database function for post create (a5f7eee)
- post-position: port function to set post position in thread (27f3fce)
- preferences: add ability to create and update preferences (75808ee)
- profile-create: implement function to create user profile record (7ce0a3f)
- thread-create: add api endpoint for thread create (6b4bed0)
- thread-create: add poll creation to thread create, TODO: test and verify everything is working (ea5eb47)
- thread-create: add validation to create changeset for threads (32cbd4e)
- thread-create: add view for thread create (794def2)
- thread-create: bare bones implementation of thread create without authorizations, preprocessing or hooks, also missing polls (6fe6701)
- thread-create: complete port of db function to create threads. Handle slug conflict (dceebab)
- thread-create: use changeset to validate incoming request parameters (2af6521)
- thread-post-count: port database function that increments thread post count (ec5cfeb)
- thread-set-timestamps: port db function to set threads created_at and updated_at timestamps (ddee805)
- update-profile: create function to update profile, refactor changeset to be used for create and update (c7b35c1)
- user-create: complete port of user create, create user profile (4734e77)
- validate-post: validate post title and body are present (bbb9c93)
v1.8.1
v1.8.0
v1.7.1
v1.7.0
1.7.0 (2023-03-24)
Bug Fixes
- acl: check both atom and string notation of frontend_config (atom check for test runs) (ce42009)
- acls: code consistency fix for credo (cbba037)
- banned-from-board: refactor banned from board function to take in user struct (54254d0)
- board-meta: issue with board meta data for post_count and thread_count being overwritten (d75087b)
- board-view-test: rename ex -> exs so test runs (530a0d6)
- board-view: merge of board data was overriting thread_count and total_thread_count (7b1c96f)
- by-board: issue with thread by board and offset calculation (e2d188f)
- categorized-boards: child boards were being nested under category with matching parent_id instead of board with matching parent_id (a172cd6)
- credo issues, and format code (5d286e5)
- credo: complexity issue with format thread data in thread view (d813c37)
- dialyzer: comparison of user to nil fix (0134931)
- format: run mix format (b43b72a)
- maybe-auth-pipeline: maybe auth would not load the user resource if a token was provided, this resolves the issue (5fbfcc4)
- thread-controller: compilation issues resolved (58a6884)
- threads-by-board: issue with sort order being incorrect, flip desc/reversed value in query (4d9531d)
Features
- acl: implement get_user_priority function in ACL Helper. Base implementation, may change (e06be4a)
- banned_from_board: fully implement banned_from_board check, allow options for post_id and thread_id, add docs and function spec (1443082)
- board-bans: port board ban model (624d98b)
- board-bans: wip implement db function to check if user is board banned, todo: add ability to check from post and thread (ba609b5)
- board-mapping: add jason encoder derive tag for board mapping (30f88fe)
- board-moderators: add query to retrieve all board moderators rows (377cb39)
- board-mods: add jason encoder derive tag for board mods (ed3cefe)
- board-mods: append board mods to by_categories board query (0229234)
- board-read-access: fully implement board read access function, todo: refactor (7d6b147)
- board-read-access: port initial query to check board read access, still need to process query data (ac5a300)
- board-slug-to-id: implement db function to convert board slug to id (aa21358)
- board-view: initial implementation for by_category for boards (4aacfb0)
- boards-controller: add controller for boards, start port of by_category (c631214)
- boards-find: port boards find (c6bc72c)
- boards-view: add board view and test skeletons (29d0989)
- boards-write-access: write db method to get board write access (fe6ecb0)
- by-category: format board view by_category to return categorized boards as vue frontend expects (94ffaf9)
- by-threads: query thread data and render in view, todo: format thread data (b189565)
- category: sort all categories by view order (359e686)
- metadata-boards: add jason encoder derive tag for metadata boards (6f939c9)
- metadata-thread: port metadata thread model for use with threads queries (496b4b8)
- priority: add get_user_priority function that takes in connection (ee39c98)
- roles: get default non authenticated role (4d18611)
- slug-to-id: add route to conver board id to slug (edc5263)
- sticky-threads: convert inner subquery to query builder format to handle sorting by inner field more efficiently (768173b)
- sticky-threads: wip port sticky threads, semi-functional (4cf1fff)
- thread-view: port thread view and placeholder for recent threads (30e33ec)
- threads-by-board: add authorizations check for acls, todo check board read access (0ee3846)
- threads-by-board: extract inner query code shared between sticky and normal threads (a537ab3)
- threads-by-board: implement authorizations for threads by board, acls and board read access (de42b8b)
- threads-by-board: implement thread formatter, add threads to view (5765c61)
- threads-by-board: implement untested threads by board, todo: add data and ensure queries are correct even though they are functioning currently (bb3b38b)
- typespec: add typespec for page_by_board_id (434bc55)
- typespec: add typespec to functions added for thread by board port (5c9181d)
- user: add jason derive for user model (71b0ef9)
- validate-helper: implement a way to add default value for validate helper (ba16a2d)