]> BookStack Code Mirror - bookstack/log
bookstack
3 years agoTypo. 2877/head
MatthieuParis [Sun, 8 Aug 2021 19:59:04 +0000 (21:59 +0200)]
Typo.

3 years agoTesting command suppressed.
MatthieuParis [Sun, 8 Aug 2021 18:35:12 +0000 (20:35 +0200)]
Testing command suppressed.

3 years agoDisplay warnings when saving draft if another user is editing the page or if the...
MatthieuParis [Sun, 8 Aug 2021 17:20:15 +0000 (19:20 +0200)]
Display warnings when saving draft if another user is editing the page or if the page was updated since the current user has started editing the page.

3 years agoMerge branch 'v21.05.x'
Dan Brown [Wed, 4 Aug 2021 20:32:29 +0000 (21:32 +0100)]
Merge branch 'v21.05.x'

3 years agoUpdated when github actions run
Dan Brown [Wed, 4 Aug 2021 20:22:14 +0000 (21:22 +0100)]
Updated when github actions run

3 years agoUpdated php dependancies up minor versions
Dan Brown [Wed, 4 Aug 2021 20:10:55 +0000 (21:10 +0100)]
Updated php dependancies up minor versions

3 years agoFixed issue where user id still used on profile pages
Dan Brown [Wed, 4 Aug 2021 20:08:51 +0000 (21:08 +0100)]
Fixed issue where user id still used on profile pages

Updated to use slugs and added testing to cover.

3 years agoAdded vb.net code language option
Dan Brown [Wed, 4 Aug 2021 19:56:34 +0000 (20:56 +0100)]
Added vb.net code language option

Related to #2869

3 years agoFixed audit log user dropdown usability issue
Dan Brown [Wed, 4 Aug 2021 19:48:23 +0000 (20:48 +0100)]
Fixed audit log user dropdown usability issue

User search input blur would trigger the submission of the search
filters which would cause strange thing where you'd click on a search
filtered user which would blur the input hence submit, but the user
would think they've clicked the user and the page would reload but the
input had not updated at that point.

Related to #2863

4 years agoMerge branch 'v21.05.x'
Dan Brown [Sat, 3 Jul 2021 11:02:13 +0000 (12:02 +0100)]
Merge branch 'v21.05.x'

4 years agoUpdated php dependancies for minor release
Dan Brown [Sat, 3 Jul 2021 10:57:32 +0000 (11:57 +0100)]
Updated php dependancies for minor release

4 years agoFixed issue with translation loading without theme
Dan Brown [Sat, 3 Jul 2021 10:53:46 +0000 (11:53 +0100)]
Fixed issue with translation loading without theme

System was using the empty state return from theme_path,
when no theme was configured, for loading in languages
which would result in the root path being looked up upon.

This changes the theme_path helper to return null in cases a theme
is not configured instead of empty string to help prevent assumed
return path will be legitimate, and to help enforce error case
handling.

For #2836

4 years agoUpdated comments of theme event to match usage
Dan Brown [Mon, 28 Jun 2021 20:17:10 +0000 (21:17 +0100)]
Updated comments of theme event to match usage

4 years agoSwapped PHPCS for StyleCI
Dan Brown [Sat, 26 Jun 2021 15:40:29 +0000 (16:40 +0100)]
Swapped PHPCS for StyleCI

Trying out StyleCI as an automated easy way to ensure code style is
consistent across the PHP codebase.
PHPCS+PHPCBF was good but I wouldn't run it enough then I'd get paranoid
about running it with pending PRs. Better to let the robots stay on top
of things.

4 years agoMerge pull request #2820 from BookStackApp/analysis-6470L9
Dan Brown [Sat, 26 Jun 2021 15:28:09 +0000 (16:28 +0100)]
Merge pull request #2820 from BookStackApp/analysis-6470L9

Apply fixes from StyleCI

4 years agoApply fixes from StyleCI 2820/head
Dan Brown [Sat, 26 Jun 2021 15:23:15 +0000 (15:23 +0000)]
Apply fixes from StyleCI

4 years agoReview of #2682, Also added parent deletion link on restore
Dan Brown [Sat, 26 Jun 2021 11:12:11 +0000 (12:12 +0100)]
Review of #2682, Also added parent deletion link on restore

On restore, added a link to the parent deletion restore if any exists
on a cascading parent. Added a test to cover this case to ensure its shown.

Also tweaked default empty state message on recycle bin item list to align
with new column count.

Also done a little existing code cleanup including a getUrl helper on
the deletion items.

Related to #2682 & #2594

4 years agoMerge branch 'master' of https://github.com/arjvand/BookStack into arjvand-master
Dan Brown [Sat, 26 Jun 2021 10:19:21 +0000 (11:19 +0100)]
Merge branch 'master' of https://github.com/arjvand/BookStack into arjvand-master

4 years agoReviewed #2393, Removed image guessing and added testing
Dan Brown [Wed, 23 Jun 2021 19:42:48 +0000 (20:42 +0100)]
Reviewed #2393, Removed image guessing and added testing

For review of meta tag additions as per PR #2393.
This commit removes any image guesswork and only uses images that have
been set by the author for the specific content.
This also adds tests to cover the expected OG tags.

4 years agoMerge branch 'create-content-meta-tags' of https://github.com/james-geiger/BookStack...
Dan Brown [Wed, 23 Jun 2021 19:11:07 +0000 (20:11 +0100)]
Merge branch 'create-content-meta-tags' of https://github.com/james-geiger/BookStack into james-geiger-create-content-meta-tags

4 years agoAdded markdown export endpoints to API
Dan Brown [Tue, 22 Jun 2021 20:32:55 +0000 (21:32 +0100)]
Added markdown export endpoints to API

- Added tests to cover.
- Added slight extra spaces at content joins.

4 years agoUpdated markdown export implementation
Dan Brown [Tue, 22 Jun 2021 20:02:18 +0000 (21:02 +0100)]
Updated markdown export implementation

- Removed ZIP system for now, until the idea can be fleshed out.
- Added testing to cover.
- Upgraded used library.
- Added custom handling for BookStack callouts.
- Added HTML cleanup to better produce output for things like code
  blocks.

4 years agoMerge branch 'markdown-export' of https://github.com/nikhiljha/BookStack-1 into nikhi...
Dan Brown [Tue, 22 Jun 2021 18:12:24 +0000 (19:12 +0100)]
Merge branch 'markdown-export' of https://github.com/nikhiljha/BookStack-1 into nikhiljha-markdown-export

4 years agoAdded a "skip to content" link.
Dan Brown [Tue, 15 Jun 2021 19:58:45 +0000 (20:58 +0100)]
Added a "skip to content" link.

Closes #2810

4 years agoMade social account detach a POST request
Dan Brown [Mon, 14 Jun 2021 21:37:58 +0000 (22:37 +0100)]
Made social account detach a POST request

Closes #2808

4 years agoAdded test for social account detach
Dan Brown [Mon, 14 Jun 2021 21:30:53 +0000 (22:30 +0100)]
Added test for social account detach

4 years agoFixed issue with using old non-existing reference in controller
Dan Brown [Sun, 13 Jun 2021 13:16:09 +0000 (14:16 +0100)]
Fixed issue with using old non-existing reference in controller

Also done a little code cleanup.

4 years agoUpdated composer.lock
Dan Brown [Sun, 13 Jun 2021 13:06:56 +0000 (14:06 +0100)]
Updated composer.lock

4 years agoNew Crowdin updates (#2790)
Dan Brown [Sun, 13 Jun 2021 13:04:23 +0000 (14:04 +0100)]
New Crowdin updates (#2790)

* New translations common.php (Indonesian)

* New translations entities.php (Indonesian)

* New translations errors.php (Indonesian)

* New translations auth.php (Chinese Simplified)

* New translations auth.php (Chinese Simplified)

* New translations errors.php (Indonesian)

* New translations entities.php (Indonesian)

* New translations errors.php (Indonesian)

* New translations settings.php (Indonesian)

* New translations validation.php (Indonesian)

* New translations settings.php (Spanish, Argentina)

4 years agoMerge pull request #2791 from BookStackApp/attachments_open_in_browser
Dan Brown [Sun, 13 Jun 2021 13:03:08 +0000 (14:03 +0100)]
Merge pull request #2791 from BookStackApp/attachments_open_in_browser

Attachment serving without forced download

4 years agoUpdated platform deps and development version number
Dan Brown [Sun, 13 Jun 2021 12:57:29 +0000 (13:57 +0100)]
Updated platform deps and development version number

4 years agoExtracted not found text into its own simple blade file
Dan Brown [Sun, 13 Jun 2021 12:53:59 +0000 (13:53 +0100)]
Extracted not found text into its own simple blade file

Related/intended for #2796

4 years agoFixed content parsing break with line html comment
Dan Brown [Sun, 13 Jun 2021 11:53:04 +0000 (12:53 +0100)]
Fixed content parsing break with line html comment

Fixes issues thrown in custom HMTL head & page content filtering when
the content is comprised of only a single HTML comment.
Adds tests to cover.

For #2804

4 years agoAdded front-end toggle and testing of inline attachments 2791/head
Dan Brown [Sun, 6 Jun 2021 12:55:56 +0000 (13:55 +0100)]
Added front-end toggle and testing of inline attachments

4 years agoAdded back-end attachments-in-browser support
Dan Brown [Sat, 5 Jun 2021 23:51:06 +0000 (00:51 +0100)]
Added back-end attachments-in-browser support

A query string will cause attachments to be provided inline
with an appropriate mime type.
Remaining actions:
- Tests
- Front-end functionality
- Config option?

4 years agoUpdated translator attribution before release v21.05.1
Dan Brown [Fri, 4 Jun 2021 22:08:43 +0000 (23:08 +0100)]
Updated translator attribution before release v21.05.1

4 years agoUpdated base64 image extraction to use url instead of path
Dan Brown [Fri, 4 Jun 2021 21:59:31 +0000 (22:59 +0100)]
Updated base64 image extraction to use url instead of path

To ensure it works with all storage types and follows the format of
manually uploaded image content

4 years agoNew Crowdin updates (#2787)
Dan Brown [Fri, 4 Jun 2021 21:50:48 +0000 (22:50 +0100)]
New Crowdin updates (#2787)

* New translations common.php (German)

* New translations common.php (Dutch)

4 years agoOrdered entity permission roles by display name
Dan Brown [Fri, 4 Jun 2021 21:36:30 +0000 (22:36 +0100)]
Ordered entity permission roles by display name

Closes #2782

4 years agoUpdated homepage action button colors for consistency
Dan Brown [Fri, 4 Jun 2021 21:28:38 +0000 (22:28 +0100)]
Updated homepage action button colors for consistency

Were previously inconsistent with other homepage buttons for non-default
homepage options.

4 years agoMerge branch 'master' of github.com:BookStackApp/BookStack
Dan Brown [Fri, 4 Jun 2021 21:21:06 +0000 (22:21 +0100)]
Merge branch 'master' of github.com:BookStackApp/BookStack

4 years agoFixed wrong styles for homepage favourites
Dan Brown [Fri, 4 Jun 2021 21:20:11 +0000 (22:20 +0100)]
Fixed wrong styles for homepage favourites

When using a non-default homepage option.

Fixes #2783

4 years agoRoll-out and re-fix of croation via crowdin (#2785)
Dan Brown [Wed, 2 Jun 2021 21:15:58 +0000 (22:15 +0100)]
Roll-out and re-fix of croation via crowdin (#2785)

* New translations auth.php (Croatian)

* New translations activities.php (Croatian)

* New translations activities.php (German Informal)

* New translations common.php (Croatian)

* New translations passwords.php (Croatian)

* New translations settings.php (Czech)

* New translations settings.php (Spanish)

* New translations settings.php (Catalan)

* New translations settings.php (Arabic)

* New translations settings.php (French)

* New translations pagination.php (Croatian)

* New translations settings.php (German)

* New translations settings.php (Danish)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Hebrew)

* New translations validation.php (Korean)

* New translations validation.php (Croatian)

* New translations settings.php (Hungarian)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Japanese)

* New translations settings.php (Korean)

* New translations settings.php (Dutch)

* New translations settings.php (Polish)

* New translations settings.php (Portuguese)

* New translations settings.php (Russian)

* New translations settings.php (Slovak)

* New translations settings.php (Slovenian)

* New translations settings.php (Turkish)

* New translations settings.php (Ukrainian)

* New translations settings.php (Vietnamese)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Indonesian)

* New translations settings.php (Persian)

* New translations settings.php (Spanish, Argentina)

* New translations settings.php (Croatian)

* New translations settings.php (Latvian)

* New translations settings.php (Bosnian)

* New translations settings.php (Norwegian Bokmal)

* New translations settings.php (German Informal)

* New translations entities.php (German Informal)

* New translations settings.php (Italian)

* New translations settings.php (Swedish)

* New translations settings.php (Bulgarian)

* New translations errors.php (German Informal)

* New translations errors.php (Croatian)

* New translations components.php (Croatian)

* New translations entities.php (Croatian)

* New translations pagination.php (Croatian)

* New translations entities.php (Croatian)

* New translations components.php (Croatian)

* New translations errors.php (Croatian)

* New translations settings.php (Croatian)

* New translations validation.php (Croatian)

* New translations passwords.php (Croatian)

* New translations auth.php (Croatian)

* New translations common.php (Croatian)

* New translations activities.php (Croatian)

4 years agoMerge branch 'ffranchina-master'
Dan Brown [Wed, 2 Jun 2021 20:57:23 +0000 (21:57 +0100)]
Merge branch 'ffranchina-master'

4 years agoNew Crowdin updates (#2777)
Dan Brown [Wed, 2 Jun 2021 20:56:53 +0000 (21:56 +0100)]
New Crowdin updates (#2777)

* New translations common.php (Latvian)

* New translations entities.php (Latvian)

* New translations activities.php (Italian)

* New translations common.php (Italian)

* New translations entities.php (Italian)

* New translations errors.php (Italian)

* New translations settings.php (Italian)

* New translations common.php (Spanish, Argentina)

* New translations entities.php (Spanish, Argentina)

* New translations activities.php (Spanish, Argentina)

* New translations common.php (Spanish, Argentina)

* New translations common.php (French)

* New translations common.php (Swedish)

* New translations activities.php (Swedish)

* New translations common.php (Swedish)

* New translations entities.php (Swedish)

* New translations errors.php (Swedish)

* New translations settings.php (Swedish)

* New translations validation.php (Bulgarian)

* New translations validation.php (Bulgarian)

* New translations common.php (Bulgarian)

* New translations validation.php (Bulgarian)

* New translations settings.php (Bulgarian)

* New translations activities.php (Indonesian)

* New translations settings.php (Bulgarian)

* New translations common.php (Bulgarian)

* New translations entities.php (Bulgarian)

* New translations activities.php (Turkish)

* New translations settings.php (Bulgarian)

* New translations components.php (Bulgarian)

* New translations activities.php (Russian)

* New translations common.php (Russian)

* New translations entities.php (Russian)

* New translations common.php (Russian)

* New translations entities.php (Russian)

4 years agoAdded croatian to required arrays/lists
Dan Brown [Wed, 2 Jun 2021 20:55:30 +0000 (21:55 +0100)]
Added croatian to required arrays/lists

4 years agoAdded back in commas, reset settings language array
Dan Brown [Wed, 2 Jun 2021 20:50:38 +0000 (21:50 +0100)]
Added back in commas, reset settings language array

Related to #2784

4 years agoMerge branch 'master' of https://github.com/ffranchina/BookStack into ffranchina...
Dan Brown [Wed, 2 Jun 2021 20:44:39 +0000 (21:44 +0100)]
Merge branch 'master' of https://github.com/ffranchina/BookStack into ffranchina-master

4 years agoReviewed base64 image upload support
Dan Brown [Wed, 2 Jun 2021 20:34:34 +0000 (21:34 +0100)]
Reviewed base64 image upload support

- Added test cases to cover.
- Altered parsing logic to be a little less reliant on regex.
- Added new iamge repo method for creating from data.
- Added extension validation and additional type support.
- Done some cleanup of common operations within PageContent.
- Added message to API docs/method to mention image usage.

For #2700 and #2631.

4 years agoMerge branch 'master' of https://github.com/awarre/BookStack into awarre-master
Dan Brown [Wed, 2 Jun 2021 19:25:20 +0000 (20:25 +0100)]
Merge branch 'master' of https://github.com/awarre/BookStack into awarre-master

4 years agoAdding Croatian translation files 2784/head
Francesco Franchina [Wed, 2 Jun 2021 15:32:31 +0000 (17:32 +0200)]
Adding Croatian translation files

4 years agoAdded thumbnail attribute to complete .env
Dan Brown [Sun, 30 May 2021 14:22:58 +0000 (15:22 +0100)]
Added thumbnail attribute to complete .env

4 years agoUpdated translators before next release
Dan Brown [Sun, 30 May 2021 14:11:59 +0000 (15:11 +0100)]
Updated translators before next release

4 years agoNew Crowdin updates (#2764)
Dan Brown [Sun, 30 May 2021 14:10:11 +0000 (15:10 +0100)]
New Crowdin updates (#2764)

4 years agoUpdated test to align with export date format change
Dan Brown [Sun, 30 May 2021 12:23:51 +0000 (13:23 +0100)]
Updated test to align with export date format change

4 years agoAligned export and revision shown date format
Dan Brown [Sat, 29 May 2021 23:02:32 +0000 (00:02 +0100)]
Aligned export and revision shown date format

As raised in #2771

4 years agoUpdated nav tests to look for shortened item names
Dan Brown [Sat, 29 May 2021 22:46:33 +0000 (23:46 +0100)]
Updated nav tests to look for shortened item names

4 years agoConverted another couple of tests from browserkit
Dan Brown [Sat, 29 May 2021 22:42:21 +0000 (23:42 +0100)]
Converted another couple of tests from browserkit

4 years agoUpgraded php and npm deps
Dan Brown [Sat, 29 May 2021 12:08:28 +0000 (13:08 +0100)]
Upgraded php and npm deps

- Sass upgrade had some breaking changes where division was used
hence updated for newer sass version support.

4 years agoAdded testing to cover next/previous navigation
Dan Brown [Sat, 29 May 2021 11:49:10 +0000 (12:49 +0100)]
Added testing to cover next/previous navigation

For #2511

4 years agoReviewed and refactored next/previous navigation button implementation
Dan Brown [Sat, 29 May 2021 11:39:41 +0000 (12:39 +0100)]
Reviewed and refactored next/previous navigation button implementation

- Updated styling to include item name.
- Extracted used text to translations.
- Updated the design to better suit the surrounding blocks.
- Removed newly added model/repo methods.
- Moved core logic out of controller and instead into a "NextPreviousContentLocator"
helper with re-uses the output from the book-tree generation.
- Also added the system to chapters.

For #2511

4 years agoMerge branch 'prev-next-button' of https://github.com/shubhamosmosys/BookStack into...
Dan Brown [Wed, 26 May 2021 21:13:19 +0000 (22:13 +0100)]
Merge branch 'prev-next-button' of https://github.com/shubhamosmosys/BookStack into shubhamosmosys-prev-next-button

4 years agoUpdated drawing upload error to shown/handle server limit errors
Dan Brown [Wed, 26 May 2021 17:23:27 +0000 (18:23 +0100)]
Updated drawing upload error to shown/handle server limit errors

Closes #2740

4 years agoRevert "Added app logo to outgoing emails"
Dan Brown [Wed, 26 May 2021 16:13:59 +0000 (17:13 +0100)]
Revert "Added app logo to outgoing emails"

This reverts commit e32929029b3b9c4cfdd40fe234f530c60efa84e1.

4 years agoAdded app logo to outgoing emails
Dan Brown [Wed, 26 May 2021 16:09:56 +0000 (17:09 +0100)]
Added app logo to outgoing emails

Required changing the header bar of the email to be solid color to match
the configuration of the main app header since otherwise colors may not
work together.

Closes #2577

4 years agoAdded deletion of revisions on page delete
Dan Brown [Wed, 26 May 2021 15:40:56 +0000 (16:40 +0100)]
Added deletion of revisions on page delete

Added testing to cover.
Closes #2668

4 years agoAdded name input autofocus on shelves, books and chapters
Dan Brown [Wed, 26 May 2021 14:25:23 +0000 (15:25 +0100)]
Added name input autofocus on shelves, books and chapters

Closes #1956

4 years agoMade users header interface more adaptable
Dan Brown [Wed, 26 May 2021 14:19:26 +0000 (15:19 +0100)]
Made users header interface more adaptable

Search input was stacking on create button on default desktop view
due when viewing in russian due to combined width exceeding container.
Made into normal flexbox instead.

Closes #2147

4 years agoMerge branch 'master' of github.com:BookStackApp/BookStack
Dan Brown [Mon, 24 May 2021 23:06:13 +0000 (00:06 +0100)]
Merge branch 'master' of github.com:BookStackApp/BookStack

4 years agoAdded origin verification to postMessage usage.
Dan Brown [Mon, 24 May 2021 23:05:20 +0000 (00:05 +0100)]
Added origin verification to postMessage usage.

Closes #2769

4 years agoMerge pull request #2768 from CorruptComputer/RSPEC-5148-Fixes
Dan Brown [Mon, 24 May 2021 21:11:49 +0000 (22:11 +0100)]
Merge pull request #2768 from CorruptComputer/RSPEC-5148-Fixes

[sec] Fixes a few minor vulnerabilies when using target="_blank" on links (RSPEC-5148)

4 years agoFixes minor vulnerability when using target="_blank" on links (RSPEC-5148) 2768/head
Nickolas Gupton [Mon, 24 May 2021 20:17:08 +0000 (16:17 -0400)]
Fixes minor vulnerability when using target="_blank" on links (RSPEC-5148)

4 years agoReviewed PR to add import user avatars va LDAP
Dan Brown [Mon, 24 May 2021 17:45:08 +0000 (18:45 +0100)]
Reviewed PR to add import user avatars va LDAP

- Reduced options to single new configuration paramter instead of two.
- Moved more logic into UserAvatars class.
- Updated LDAP avatar import to also run on login when no image is
  currently set.
- Added thumbnail fetching to search requests.
- Added testing to cover.

Related to PR #2320, and issue #1161

4 years agoMerge branch 'master' of https://github.com/jasonhoule/BookStack into jasonhoule...
Dan Brown [Mon, 24 May 2021 16:06:50 +0000 (17:06 +0100)]
Merge branch 'master' of https://github.com/jasonhoule/BookStack into jasonhoule-master

4 years agoUpdated existing tag tests away from browserkit testing
Dan Brown [Mon, 24 May 2021 15:16:58 +0000 (16:16 +0100)]
Updated existing tag tests away from browserkit testing

4 years agoReviewed tag in seach work
Dan Brown [Mon, 24 May 2021 15:12:09 +0000 (16:12 +0100)]
Reviewed tag in seach work

- Refactored some tag code bits while reviewing.
- Updated tag design in search listing to be more subtle.
- Moved tags out of entity-list-item-basic template and instead moved
  them into entity-list-item, below the existing content.
- Tweaked existing tag colors a little.
- Changed tag icon to be more tag-like.
- Added tag-on-search test case.

Review of #2487, Related to #2462

4 years agoMerge branch 'show-tags' of https://github.com/burnoutberni/BookStack into burnoutber...
Dan Brown [Mon, 24 May 2021 14:12:45 +0000 (15:12 +0100)]
Merge branch 'show-tags' of https://github.com/burnoutberni/BookStack into burnoutberni-show-tags

4 years agoMerge branch 'v21.04.x'
Dan Brown [Mon, 24 May 2021 12:08:51 +0000 (13:08 +0100)]
Merge branch 'v21.04.x'

4 years agoAdded theme add social driver redirect configuration callback
Dan Brown [Mon, 24 May 2021 11:55:45 +0000 (12:55 +0100)]
Added theme add social driver redirect configuration callback

Allows someone using the theme system to configure the social driver
before a redirect action occurs, by passing a callback as an additional
param to the theme 'addSocialDriver' method.

4 years agoUpdated image permission setting logic
Dan Brown [Mon, 24 May 2021 11:09:28 +0000 (12:09 +0100)]
Updated image permission setting logic

To ensure thhat the visibility is still set on local storage options
since the previous recent changes could cause problems where in
scenarios where the server user could not read images uploaded by the
php process user.

Closes #2758

4 years agoMerge pull request #2748 from BookStackApp/favourite_system
Dan Brown [Sun, 23 May 2021 13:45:42 +0000 (14:45 +0100)]
Merge pull request #2748 from BookStackApp/favourite_system

Favourite System

4 years agoAdded testing to favourite system 2748/head
Dan Brown [Sun, 23 May 2021 13:34:36 +0000 (14:34 +0100)]
Added testing to favourite system

- Also removed some old view service references.
- Updated TopFavourites query to be based on favourites table and join
  in the views instead of the other way around, so that favourites still
show even if they have no views.

4 years agoAdded deletion of favourites on entity/user delete
Dan Brown [Sun, 23 May 2021 12:41:56 +0000 (13:41 +0100)]
Added deletion of favourites on entity/user delete

4 years agoAdded favourites page with link from header and home
Dan Brown [Sun, 23 May 2021 12:34:08 +0000 (13:34 +0100)]
Added favourites page with link from header and home

4 years agoDeleted redundant complex relationmultimodel query class
Dan Brown [Sat, 22 May 2021 13:07:57 +0000 (14:07 +0100)]
Deleted redundant complex relationmultimodel query class

4 years agoRevamped some complex queries, added favourites to home
Dan Brown [Sat, 22 May 2021 13:05:28 +0000 (14:05 +0100)]
Revamped some complex queries, added favourites to home

- Removed old view system and started use of new query classes instead.
- Finished off RelationMultiModelQuery but found it was less efficient
than x-many queries due to the amount of tables being scanned.
Adding now for history but will delete as not used.
- Updated recently viewed to use same query system as popular items
  rather than running and joining x-entities queries.
- Added "Most Viewed Faviourites" listing to homepages.

4 years agoStarted building system for cross-model queries
Dan Brown [Wed, 19 May 2021 22:37:23 +0000 (23:37 +0100)]
Started building system for cross-model queries

4 years agoStarted refactoring of view service
Dan Brown [Sun, 16 May 2021 09:49:37 +0000 (10:49 +0100)]
Started refactoring of view service

Phasing out the view service from being a generic 'service' class,
moving the core create/delete methods into the model.
The idea is that the existing query work will need to interlink
with the favourite system so maybe we have a (or many composable)
query building classes rather than mixing query building and
create/delete work as per the old service.

4 years agoAdded faviourtes to other entity types
Dan Brown [Sun, 16 May 2021 09:26:28 +0000 (10:26 +0100)]
Added faviourtes to other entity types

4 years agoStarted writing testing for favourites
Dan Brown [Sun, 16 May 2021 00:07:20 +0000 (01:07 +0100)]
Started writing testing for favourites

4 years agoStarted addition of favourite system
Dan Brown [Sat, 15 May 2021 23:29:56 +0000 (00:29 +0100)]
Started addition of favourite system

4 years agoUpdated translator attribution before release v21.04.5
Dan Brown [Sat, 15 May 2021 16:54:57 +0000 (17:54 +0100)]
Updated translator attribution before release v21.04.5

4 years agoNew Crowdin updates (#2737)
Dan Brown [Sat, 15 May 2021 16:50:02 +0000 (17:50 +0100)]
New Crowdin updates (#2737)

* New translations errors.php (Italian)

* New translations errors.php (Slovak)

* New translations errors.php (Norwegian Bokmal)

* New translations errors.php (Bosnian)

* New translations errors.php (Latvian)

* New translations errors.php (Spanish, Argentina)

* New translations errors.php (Persian)

* New translations errors.php (Indonesian)

* New translations errors.php (Portuguese, Brazilian)

* New translations errors.php (Vietnamese)

* New translations errors.php (Chinese Traditional)

* New translations errors.php (Chinese Simplified)

* New translations errors.php (Ukrainian)

* New translations errors.php (Turkish)

* New translations errors.php (Swedish)

* New translations errors.php (Slovenian)

* New translations errors.php (Russian)

* New translations errors.php (French)

* New translations errors.php (Portuguese)

* New translations errors.php (Polish)

* New translations errors.php (Dutch)

* New translations errors.php (Korean)

* New translations errors.php (Japanese)

* New translations errors.php (Hungarian)

* New translations errors.php (Hebrew)

* New translations errors.php (German)

* New translations errors.php (Danish)

* New translations errors.php (Czech)

* New translations errors.php (Catalan)

* New translations errors.php (Bulgarian)

* New translations errors.php (Arabic)

* New translations errors.php (Spanish)

* New translations errors.php (German Informal)

* New translations errors.php (Chinese Simplified)

* New translations errors.php (French)

* New translations common.php (French)

* New translations errors.php (Spanish, Argentina)

* New translations common.php (Spanish, Argentina)

* New translations entities.php (Spanish, Argentina)

* New translations activities.php (Arabic)

* New translations auth.php (Arabic)

* New translations entities.php (Arabic)

* New translations auth.php (Arabic)

* New translations components.php (Arabic)

* New translations entities.php (Arabic)

* New translations errors.php (Russian)

* New translations common.php (Portuguese)

* New translations errors.php (Portuguese)

4 years agoMerge pull request #2735 from dopyrory3/table_column_fix
Dan Brown [Sat, 15 May 2021 16:48:27 +0000 (17:48 +0100)]
Merge pull request #2735 from dopyrory3/table_column_fix

Fix table width styling on pages rendered in markdown

4 years agoFixed issue thrown upon empty markdown content save
Dan Brown [Sat, 15 May 2021 16:33:53 +0000 (17:33 +0100)]
Fixed issue thrown upon empty markdown content save

Closes #2741

4 years agoHandle acl set of images differently for s3 and s3-like
Dan Brown [Sat, 15 May 2021 16:25:51 +0000 (17:25 +0100)]
Handle acl set of images differently for s3 and s3-like

Related to #2739

4 years agoAdjusted dompdf font path to writable folder
Dan Brown [Sat, 15 May 2021 11:19:07 +0000 (12:19 +0100)]
Adjusted dompdf font path to writable folder

Related to #2746

4 years agoApply column fix to all tables 2735/head
Rory Maher [Mon, 10 May 2021 11:11:28 +0000 (12:11 +0100)]
Apply column fix to all tables

4 years agoRevert "Fix table width style"
Rory Maher [Mon, 10 May 2021 11:10:02 +0000 (12:10 +0100)]
Revert "Fix table width style"

This reverts commit b010d2663d9bb812789e751ab2e59b155835db5a.

4 years agoMoved NotifyException render work from handler to exception
Dan Brown [Sat, 8 May 2021 18:00:09 +0000 (19:00 +0100)]
Moved NotifyException render work from handler to exception

As continued from last commit.