Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #4

Merged
merged 70 commits into from
Sep 7, 2023
Merged

Release #4

merged 70 commits into from
Sep 7, 2023

Commits on Jun 12, 2023

  1. [API] add priority in book read

    [API] add priority in chapter create and update
    [API] add priority in page create and update
    rouet committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    458cea3 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Configuration menu
    Copy the full SHA
    bb3ce84 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Configuration menu
    Copy the full SHA
    b1b8067 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d399f6 View commit details
    Browse the repository at this point in the history
  3. add tests for priority

    rouet committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    3a36d3c View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Comments: Added extra comment-specific activities

    Kept existing "COMMENTED_ON" activity for upgrade compatibility,
    specifically for existing webhook usage and for showing comment
    activities in activity lists.
    
    Precursor to content notifications.
    Currently untested.
    Also applied some type updates.
    ssddanbrown committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    422e503 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    0359e24 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c922be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    45e75ed View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Notifications: added user preference UI & logic

    Includes testing to cover.
    Also added file missing from previous commit.
    ssddanbrown committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    100b287 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff2674c View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    730f539 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    6100b99 View commit details
    Browse the repository at this point in the history
  2. Notifications: Started back-end for watch system

    Added DB and started controller method.
    ssddanbrown committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    8cdf320 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Notifications: Linked watch functionality to UI

    Got watch system working to an initial base state.
    Moved some existing logic where it makes sense.
    ssddanbrown committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    9d149e4 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Notifications: Started core user notification logic

    Put together an initial notification.
    Started logic to query and identify watchers.
    ssddanbrown committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    9779c1a View commit details
    Browse the repository at this point in the history
  2. Notifications: Got core notification logic working for new pages

    Also rolled out watch UI to chapter and page views
    ssddanbrown committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    18ae67a View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2023

  1. Configuration menu
    Copy the full SHA
    ecab2c8 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Configuration menu
    Copy the full SHA
    c47b3f8 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Notifications: User watch list and differnt page watch options

    - Adds option filtering and alternative text for page watch options.
    - Adds "Watched & Ignored Items" list to user notification preferences
      page to show existing watched items.
    ssddanbrown committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d9fdecd View commit details
    Browse the repository at this point in the history
  2. Notifications: Added new preferences view and access control

    - Added general user preferences view and updated link in profile menu
      to suit.
    - Made notification permission required for notification preferences
      view, added test to cover.
    ssddanbrown committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    3717792 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Notifications: Cleaned up mails, added debounce for updates

    - Updated mail notification design to be a bit prettier, and extracted
      text to new lang file for translation.
    - Added debounce logic for page update notifications.
    - Fixed watch options not being filtered to current user.
    ssddanbrown committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    615741a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc6e19b View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Notifications: Add phpunit test for notification sending

    Covers core case scenarios, and check of notification content.
    ssddanbrown committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    565908e View commit details
    Browse the repository at this point in the history
  2. Notifications: Made improvements from manual testing

    - Added titles for preference pages.
    - Added extra check for non-guest for notifications on preferences page.
    ssddanbrown committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    79470ea View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Notifications: Fixed issues causing failing tests

    - Ensured watch options passed in all meta template usage to fix failing
      scenarios where watch options did not exist.
    - Fixed testing issue caused by guest user permission caching.
    ssddanbrown committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    ee9e342 View commit details
    Browse the repository at this point in the history
  2. Notifications: Fixed send content permission checking

    Added test and changed logic to properly check the view permissions for
    the notification receiver before sending.
    Required change to permissions applicator to allow the user to be
    manually determined, and a service provider update to provide the class
    as a singleton without a specific user, so it checks the current logged
    in user on demand.
    ssddanbrown committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    38829f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e709caa View commit details
    Browse the repository at this point in the history
  4. Merge pull request BookStackApp#4390 from BookStackApp/content_notifi…

    …cations
    
    Content user notifications
    ssddanbrown committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    fef433a View commit details
    Browse the repository at this point in the history
  5. Status: Updated cache check to use unique key

    Updated status endpoint cache check to include a random component in the
    key to avoid conflict during simultaneous checks.
    For BookStackApp#4396
    ssddanbrown committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e44ef57 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2023

  1. Configuration menu
    Copy the full SHA
    7bf5425 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. API: Reviewed changes for API priority control

    Review of BookStackApp#4313
    - Made constructor changes while reviewing some classes.
    - Updated API examples for consistency.
    - Tweaked formatting for some array changes.
    - Simplified added tests.
    - Tweaked chapter/page repo priority handling to be simpler.
    
    Performed manual API endpoint testing of page/chapter create/update.
    ssddanbrown committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    9ca1139 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3914784 View commit details
    Browse the repository at this point in the history
  3. Cache: Increases database cache value size

    Upped from text to medium text.
    Aligns with modern Laravel default.
    Fixes BookStackApp#4453 where were reaching the limit of TEXT.
    ssddanbrown committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    0628c28 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    cbcec18 View commit details
    Browse the repository at this point in the history
  2. Drawio: Started browser drawing backup store system

    Adds just the part to store image data, and remove on successfull save.
    Alters save events to properly throw upon error.
    Adds IDB-Keyval library for local large-size store.
    For BookStackApp#4421
    ssddanbrown committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    a4fbde9 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Configuration menu
    Copy the full SHA
    dd71658 View commit details
    Browse the repository at this point in the history
  2. Drawio: Tweaked fail backup handling during testing

    - Tweaked wording of popup title.
    - Updated WYSIWYG create handling to properly remove drawing container
      on failure.
    
    Tested across FF and chrome, in both editors for create & editing.
    ssddanbrown committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    3917e50 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69ac425 View commit details
    Browse the repository at this point in the history
  4. Merge pull request BookStackApp#4457 from BookStackApp/drawing_backup…

    …_store
    
    Browser-based drawing backup storage system
    ssddanbrown committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    32516f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2023

  1. Guests: Prevented access to profile routes

    Prevention of action on certain routes for guest user when public access
    is enabled. Could not see a way this could be a security issue, beyond a
    mild nuisance that'd only be visible if public users can edit, which
    would present larger potential nuisance anyway.
    ssddanbrown committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    9100a82 View commit details
    Browse the repository at this point in the history
  2. Security: Added new SSR allow list and validator

    Included unit tests to cover validator functionality.
    Added to webhooks.
    Still need to do testing specifically for webhooks.
    ssddanbrown committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    c324ad9 View commit details
    Browse the repository at this point in the history
  3. SSR: Updated allow list handling & covered webhook usage

    - Covered webhook SSR allow list useage via test.
    - Updated allow list handling to use trailing slash, or hash, or end of
      line as late anchor for better handling for hosts (prevent .co.uk
    passing for .co domain host)
    ssddanbrown committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    9038958 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. Configuration menu
    Copy the full SHA
    e176aae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    642210a View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    3622c44 View commit details
    Browse the repository at this point in the history
  2. MD Editor: Fixed scroll on mobile widths

    Added min-height to flex elements to ensure they properly flex within
    the container rathen than adjust to content.
    
    For BookStackApp#4466
    ssddanbrown committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    dc77233 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77d65d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c6d0e69 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    164f01b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    27bf429 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. fix typo

    omahs committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    54715d4 View commit details
    Browse the repository at this point in the history
  2. fix typos

    omahs committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    415dab9 View commit details
    Browse the repository at this point in the history
  3. fix typo

    omahs committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    976f241 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    4e6b74f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f91049a View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2023

  1. Notifications: Aligned how user language is used

    - This ensures content notifications are not translated to receiver
      language.
    - This adds actual plaintext support for content notifications (Was
      previously just HTML as text view).
    - Shares same base class across all mail notifications.
    - Also cleaned up existing notification classes.
    
    Future cleanup requested via BookStackApp#4501
    ssddanbrown committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    3847a76 View commit details
    Browse the repository at this point in the history
  2. Testing: Added entity decode flag and phpunit env option

    - Passed decode flags to provide consistent behaviour across PHP
      versions during testing.
    - Added env option to prevent local option taking action in PHPunit
      tests.
    ssddanbrown committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    a720b37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d38ae3 View commit details
    Browse the repository at this point in the history
  4. Merge pull request BookStackApp#4497 from BookStackApp/notification_l…

    …anguage
    
    Notifications: User language for notification text
    ssddanbrown committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    1cd19c7 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. Watching: Prevent issues when watchable or user is deleted

    - Adds filtering to the watched items list in notification preferences
      so that deleted (recycle bin) items are removed via query.
    - Adds relations and logic to properly remove watches upon user and
      entity delete events, to old watches in database do not linger.
    - Adds testing to cover the above.
    
    Did not add migration for existing data, since patch will be close to
    introduction, and lingering DB entries don't open a security concern,
    just some potential confusion in specific potential scenarios.
    Probably not work extra migration risk, although could add in future if
    concerns/issues are found.
    
    Related to BookStackApp#4499
    ssddanbrown committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    817581a View commit details
    Browse the repository at this point in the history
  2. Preferences: Fixed section screen flexibility

    Improved wrapping and flex control to prevent button text force wrapping
    to newlines.
    
    For BookStackApp#4502
    ssddanbrown committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    e31b50d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7a48516 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2abbcf5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4de5a2d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bde66a1 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. WYSIWYG: Fixed filtering issue causing broken page edits

    Could error upon div elements without classes, including drawings.
    
    Related to BookStackApp#4510 and BookStackApp#4509
    ssddanbrown committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    2c20abc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad60517 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d0dcd4f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f47352 View commit details
    Browse the repository at this point in the history