]> BookStack Code Mirror - bookstack/log
bookstack
5 years agoUpdated styles to use logical properties/values 2003/head
Dan Brown [Sun, 5 Apr 2020 12:07:19 +0000 (13:07 +0100)]
Updated styles to use logical properties/values

- Intended to improve RTL support in the interface.
- Also adds hebrew to language dropdown since that was missing.

Related to #1794

5 years agoUpdated test files to be PSR-4 compliant
Dan Brown [Sat, 4 Apr 2020 00:16:05 +0000 (01:16 +0100)]
Updated test files to be PSR-4 compliant

Closes #1924

5 years agoUpdated drawing uploads to use user id in image name
Dan Brown [Fri, 3 Apr 2020 23:48:32 +0000 (00:48 +0100)]
Updated drawing uploads to use user id in image name

- Instead of user name.
- Due to issues with advanced charts like emoji zero-width-joiners.
- Could also have security concerns on untrusted instances with certain
webserver config due to double extension possibilities.

Closes #1993

5 years agoFixed editor JavaScript error in TemplateManager
Dan Brown [Fri, 3 Apr 2020 23:09:58 +0000 (00:09 +0100)]
Fixed editor JavaScript error in TemplateManager

- Caused when loading the editor with no templates in the system.
- Tried to init a search box that did not exist.

5 years agoBumped npm packages up and ran audit-fix
Dan Brown [Fri, 3 Apr 2020 23:03:26 +0000 (00:03 +0100)]
Bumped npm packages up and ran audit-fix

5 years agoUpdated socialite to fix deprecated GitHub auth method
Dan Brown [Fri, 3 Apr 2020 23:00:19 +0000 (00:00 +0100)]
Updated socialite to fix deprecated GitHub auth method

- Also updated composer dependancies to cover symfony/http-foundation
security issue.

Fixes #1879
Related to #1989

5 years agoAdded Slovenian to available language options
Dan Brown [Sat, 14 Mar 2020 22:24:27 +0000 (22:24 +0000)]
Added Slovenian to available language options

Related to #1946

5 years agoUpdated translations from crowdin
Dan Brown [Sat, 14 Mar 2020 22:20:01 +0000 (22:20 +0000)]
Updated translations from crowdin

Squashed commit of the following:

commit 23861a31bb2398ca61655c584bd8c75ee9bccdad
Merge: d44acf4b 1c6287f2
Author: Dan Brown <redacted>
Date:   Sat Mar 14 22:18:50 2020 +0000

    Merge branch 'master' into l10n_master

commit d44acf4b6413f2b99f3915e26286228956def114
Author: Dan Brown <redacted>
Date:   Sat Mar 14 19:39:46 2020 +0000

    New translations errors.php (Portuguese, Brazilian)

commit c1a4cc5d1257ca602bb0292e7abbac63dacb8e55
Author: Dan Brown <redacted>
Date:   Sat Mar 14 19:14:49 2020 +0000

    New translations errors.php (Spanish, Argentina)

commit fb3c5dcffcb05e5b30da1fa4e6c9ab31b1a33fd1
Author: Dan Brown <redacted>
Date:   Sat Mar 14 19:14:48 2020 +0000

    New translations errors.php (Spanish)

commit f65c84635d610cdb90465f4aab12f6a78ef70ac9
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:42:05 2020 +0000

    New translations errors.php (German Informal)

commit 99fba6932a5307341fd5eb883a89235f71742f18
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:57 2020 +0000

    New translations errors.php (French)

commit bc4c9684b538bad80741c107fee4547de9e8ffa9
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:55 2020 +0000

    New translations errors.php (Portuguese, Brazilian)

commit 0afce798070f95b8d1b421caf126fdea5fd0b749
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:43 2020 +0000

    New translations errors.php (Russian)

commit f3daf77b955a07913566f5746050409c269daba9
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:41 2020 +0000

    New translations errors.php (Hungarian)

commit 63848278a5d0ad3e6da1bbf1829447b39ec44246
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:40 2020 +0000

    New translations errors.php (Italian)

commit 53b5fce93c8888271b2a32564532cb01bc92f25c
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:38 2020 +0000

    New translations errors.php (Japanese)

commit 2638f7a66336bc0ce52e9ab4f0fd35cd16b513da
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:37 2020 +0000

    New translations errors.php (Korean)

commit f19ffa468ce79876972e12dcf54ab1f0eceaa67c
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:36 2020 +0000

    New translations errors.php (Persian)

commit 477ae0b84528499ab79c1bc73b0fb9dc465c0b3f
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:34 2020 +0000

    New translations errors.php (Polish)

commit 56beebe12cbcc9c4796dc7dd07092d43332d8448
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:33 2020 +0000

    New translations errors.php (German)

commit 2b6540654a53508b2e42d93eefc9b0400a942bfe
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:32 2020 +0000

    New translations errors.php (Portuguese)

commit 80f727501187b4ae9b614a13af1e707c9c83ff53
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:30 2020 +0000

    New translations errors.php (Spanish)

commit 74c65f90abd66650bafcc5d2c4d70b47d5b195e2
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:28 2020 +0000

    New translations errors.php (Spanish, Argentina)

commit 3bd9e4fb86891b4067955ff02ba4f47f13a4401c
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:27 2020 +0000

    New translations errors.php (Swedish)

commit a698db00e3ded739152e26c05d6d24f36a2cad0e
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:26 2020 +0000

    New translations errors.php (Turkish)

commit f3cfc63b5cda1202547da42f594c1080305fa7e9
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:25 2020 +0000

    New translations errors.php (Ukrainian)

commit 61eb76ac89d584ae0ac84d15ae17dfc380c04fe4
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:23 2020 +0000

    New translations errors.php (Vietnamese)

commit cfda94e2a8d9d8fbed837daaccf1920714b51c56
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:22 2020 +0000

    New translations errors.php (Slovak)

commit f0659025a96f18f2aef1fecb34aba44577a0fadc
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:20 2020 +0000

    New translations errors.php (Dutch)

commit 27ac377ed6f1687dbcc9a67ade5c233b992bfa2b
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:19 2020 +0000

    New translations errors.php (Chinese Traditional)

commit 04bf21a325d02588ea45ab15c5b3aa0ad5698ae7
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:18 2020 +0000

    New translations errors.php (Chinese Simplified)

commit 4dd5802979cd4dc1cb5b44d60b8d8e317260b939
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:16 2020 +0000

    New translations errors.php (Arabic)

commit 368cf2d24866a5a728563159e194b580b1d11c86
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:11 2020 +0000

    New translations errors.php (Slovenian)

commit 52381df7befc102cd367b0e1766f5b307a2c9a0c
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:08 2020 +0000

    New translations errors.php (Czech)

commit 7e8330510f5875f1cb45bfc6f1fe555037d8299f
Author: Dan Brown <redacted>
Date:   Sat Mar 14 18:41:07 2020 +0000

    New translations errors.php (Danish)

commit 1bf07c6acfb4df5334251b60e73dcadd4cac7a21
Author: Dan Brown <redacted>
Date:   Wed Mar 11 22:57:41 2020 +0000

    New translations entities.php (Slovenian)

commit 4d2d120b5710743535af61a1191da5645425512d
Author: Dan Brown <redacted>
Date:   Wed Mar 11 22:27:35 2020 +0000

    New translations entities.php (Slovenian)

commit edfc88eb8e8ce29d87c0a313513ad18a5dc92fc5
Author: Dan Brown <redacted>
Date:   Wed Mar 11 21:55:51 2020 +0000

    New translations entities.php (Slovenian)

commit 840ed35d34cda522d77d092f39c6e4060bd84163
Author: Dan Brown <redacted>
Date:   Wed Mar 11 21:22:08 2020 +0000

    New translations entities.php (Slovenian)

commit aa130af2858464056bbce1eef0ed9da3bc0f5471
Author: Dan Brown <redacted>
Date:   Wed Mar 11 14:02:50 2020 +0000

    New translations common.php (Czech)

commit 5007fee528c498ed127c2dd4f3a0cc09eaa2c1cb
Author: Dan Brown <redacted>
Date:   Wed Mar 11 14:02:25 2020 +0000

    New translations entities.php (Slovenian)

commit 1ad8874e6b02586e77d79234070c728eaa4a72c3
Author: Dan Brown <redacted>
Date:   Wed Mar 11 13:30:21 2020 +0000

    New translations auth.php (Czech)

commit 56f17ff7d4f359a187bd6c7015ec9193a4025aa1
Author: Dan Brown <redacted>
Date:   Wed Mar 11 13:29:57 2020 +0000

    New translations entities.php (Slovenian)

commit 33789962cceabc36a66d9374c3e1ea16c1567296
Author: Dan Brown <redacted>
Date:   Wed Mar 11 11:09:18 2020 +0000

    New translations components.php (Slovenian)

commit 1002cf9e3b77aeebbf8dded48264418110ad3b90
Author: Dan Brown <redacted>
Date:   Wed Mar 11 10:08:48 2020 +0000

    New translations components.php (Slovenian)

commit d5a6083ae8f4123dec1ae89acb8e7809d96a6149
Author: Dan Brown <redacted>
Date:   Wed Mar 11 09:37:23 2020 +0000

    New translations components.php (Slovenian)

commit 0d8df3a72ebedba317c73442b5e16f768c0e8ee3
Author: Dan Brown <redacted>
Date:   Wed Mar 11 09:07:01 2020 +0000

    New translations components.php (Slovenian)

commit 22337688f9df3828333c4886235ea7a24030bc8b
Author: Dan Brown <redacted>
Date:   Wed Mar 11 09:07:00 2020 +0000

    New translations common.php (Slovenian)

commit ff812694e2c6a360af66dfaf72e44d729a39b6ae
Author: Dan Brown <redacted>
Date:   Wed Mar 11 08:20:44 2020 +0000

    New translations common.php (Slovenian)

commit 57b9e049274cbc3d7a3bd34a9eb473da59280e35
Author: Dan Brown <redacted>
Date:   Wed Mar 11 06:17:11 2020 +0000

    New translations auth.php (Spanish)

commit 25343baac104ec6b3cdb141cfa4e04a113dbd0a7
Author: Dan Brown <redacted>
Date:   Wed Mar 11 06:16:52 2020 +0000

    New translations activities.php (Spanish)

commit a5c72ee5f1db378ad7c6258ad62fadab50c7e2b6
Author: Dan Brown <redacted>
Date:   Wed Mar 11 05:37:55 2020 +0000

    New translations activities.php (Spanish)

commit 6a6f28d095cda60484e8f63b3b1b293ca21b6751
Author: Dan Brown <redacted>
Date:   Tue Mar 10 15:49:14 2020 +0000

    New translations auth.php (Slovenian)

commit 33f30876e107bc3d3685483c5f53c0de02286c79
Author: Dan Brown <redacted>
Date:   Tue Mar 10 15:18:30 2020 +0000

    New translations auth.php (Slovenian)

commit 8bf8bc0fe5f9de724d947c63cc2a765a7655597b
Author: Dan Brown <redacted>
Date:   Tue Mar 10 14:48:46 2020 +0000

    New translations auth.php (Slovenian)

commit 303dc0770430e57c82484acbea00f186af286ca4
Author: Dan Brown <redacted>
Date:   Tue Mar 10 14:48:44 2020 +0000

    New translations activities.php (Slovenian)

commit c219fb67aaf8ab1c3ce0d74fb593ec2c3bcea81a
Author: Dan Brown <redacted>
Date:   Tue Mar 10 09:59:45 2020 +0000

    New translations activities.php (Slovenian)

commit f45b6c6c828c8a973bcbe18305f3db97f7e6a8d3
Author: Dan Brown <redacted>
Date:   Tue Mar 10 08:34:32 2020 +0000

    New translations activities.php (Slovenian)

commit 7d690eb13f59859937e1bcebe7335269633f0d39
Author: Dan Brown <redacted>
Date:   Tue Mar 10 02:56:48 2020 +0000

    New translations entities.php (Russian)

commit 86aab0529e776dc5ec203d637faea99c3b9ae2e3
Author: Dan Brown <redacted>
Date:   Tue Mar 10 02:56:43 2020 +0000

    New translations common.php (Russian)

commit 4fc19455439c22522beffdf2a55f45eedd7f1c55
Author: Dan Brown <redacted>
Date:   Mon Mar 9 20:37:26 2020 +0000

    New translations errors.php (Russian)

commit 09791b736d76a45be93313f9dc52e2eb950ceecc
Author: Dan Brown <redacted>
Date:   Mon Mar 9 20:07:52 2020 +0000

    New translations settings.php (Russian)

commit 9cb04bea4c78ee26dbfb98667d758cdd19cd881d
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:50 2020 +0000

    New translations validation.php (Slovenian)

commit 7964a5a2a09b160bc57a6fc0e7f3aac0cda4b4fa
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:34 2020 +0000

    New translations settings.php (Slovenian)

commit 361be13ff79a1d650d56181db82682ace7c92cf7
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:32 2020 +0000

    New translations passwords.php (Slovenian)

commit 9b6a7f0f648598b259e9f5667845d9d8e4a0ee91
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:31 2020 +0000

    New translations pagination.php (Slovenian)

commit a815adc24fddded3c3e11c506c9cf8180710e367
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:30 2020 +0000

    New translations errors.php (Slovenian)

commit ae6040af3aeaa116fbd2b331c627044257870979
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:28 2020 +0000

    New translations entities.php (Slovenian)

commit f1d0177dce08012b8e93b86e95bc1d3e2930341d
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:26 2020 +0000

    New translations components.php (Slovenian)

commit 16ba9f1fe1d28fb335adafc6f2937ae03e6fed28
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:24 2020 +0000

    New translations common.php (Slovenian)

commit caa47464ba5b88bfafdacc58ca7eae9a554b02cb
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:23 2020 +0000

    New translations auth.php (Slovenian)

commit 4b9a78aef86eb4b59b60df66072904c5ab9ba7e3
Author: Dan Brown <redacted>
Date:   Mon Mar 9 18:49:21 2020 +0000

    New translations activities.php (Slovenian)

commit 6a55161fe9b48269be1fff6b4aa881a393738bbe
Author: Dan Brown <redacted>
Date:   Sun Mar 8 01:36:31 2020 +0000

    New translations common.php (French)

commit 94235393fa72afbca1784376d0a459232a5ff7b5
Author: Dan Brown <redacted>
Date:   Sat Mar 7 18:49:01 2020 +0000

    New translations errors.php (Portuguese, Brazilian)

commit a0f75e772410b3ff029b722af9a49ed14c971963
Author: Dan Brown <redacted>
Date:   Sat Mar 7 10:24:26 2020 +0000

    New translations settings.php (Russian)

commit 65437712a2036c7341a0050ec1891d92e9fddc77
Author: Dan Brown <redacted>
Date:   Sat Mar 7 09:37:34 2020 +0000

    New translations auth.php (Russian)

commit f7f6a92dcf6380ada2d027cb17c5132970f0018d
Author: Dan Brown <redacted>
Date:   Sat Mar 7 00:01:07 2020 +0000

    New translations entities.php (Russian)

commit ac8819edd3ad216bd8ff756bf45e5ca78a0d1c96
Author: Dan Brown <redacted>
Date:   Sat Mar 7 00:00:57 2020 +0000

    New translations settings.php (Russian)

commit f1290f2b87804978e6ba42b4519a38e449c28881
Author: Dan Brown <redacted>
Date:   Fri Mar 6 23:23:44 2020 +0000

    New translations entities.php (Russian)

commit 8efb9bd571a06dc9736b845d607e8b4d1e194ad4
Author: Dan Brown <redacted>
Date:   Fri Mar 6 22:45:53 2020 +0000

    New translations entities.php (Russian)

commit 4fd31df14e373931c4ab06adf11189afac4ba288
Author: Dan Brown <redacted>
Date:   Fri Mar 6 22:45:44 2020 +0000

    New translations settings.php (Russian)

commit 262a2b3e4edb31baccde3f5ca94fa4e6c7804eb7
Author: Dan Brown <redacted>
Date:   Fri Mar 6 22:11:41 2020 +0000

    New translations entities.php (Russian)

commit 15c98a64b831a7a3b832ee3503a4e1e5da3b5935
Author: Dan Brown <redacted>
Date:   Fri Mar 6 15:10:54 2020 +0000

    New translations errors.php (French)

commit 7a274db381ae65a5084e86777f283217827d98af
Author: Dan Brown <redacted>
Date:   Fri Mar 6 15:10:43 2020 +0000

    New translations settings.php (French)

5 years agoUpdated translator list from Crowdin
Dan Brown [Sat, 14 Mar 2020 22:15:01 +0000 (22:15 +0000)]
Updated translator list from Crowdin

5 years agoMerge branch 'patch-1' of git://github.com/MikeyMJCO/BookStack into MikeyMJCO-patch-1
Dan Brown [Sat, 14 Mar 2020 20:53:28 +0000 (20:53 +0000)]
Merge branch 'patch-1' of git://github.com/MikeyMJCO/BookStack into MikeyMJCO-patch-1

5 years agoUpdated readme
Dan Brown [Sat, 14 Mar 2020 18:56:49 +0000 (18:56 +0000)]
Updated readme

- Updated dev details to be current.
- Added warning for auto-fixing via phpcbf.
- Added warning that existing issue does not mean accepted pull request.

5 years agoAdded a "Start Database" step to github action flow
Dan Brown [Sat, 14 Mar 2020 18:44:02 +0000 (18:44 +0000)]
Added a "Start Database" step to github action flow

https://github.blog/changelog/2020-02-21-github-actions-breaking-change-ubuntu-virtual-environments-will-no-longer-start-the-mysql-service-automatically/

5 years agoPerformed review of "public intended" functionality provided in #1817
Dan Brown [Sat, 14 Mar 2020 18:29:31 +0000 (18:29 +0000)]
Performed review of "public intended" functionality provided in #1817

- Updated logic to take url from referrer rather than pass as a query parameter.
- Added tests to cover functionality.
- Updated 404 page with login action button if not signed in.
- Updated 404 page with text to indicate permissions may be affecting visibility.

Related to #1817 and #1706

5 years agoMerge branch 'feature/public-login-redirect' of git://github.com/Xiphoseer/BookStack...
Dan Brown [Sat, 14 Mar 2020 17:46:30 +0000 (17:46 +0000)]
Merge branch 'feature/public-login-redirect' of git://github.com/Xiphoseer/BookStack into Xiphoseer-feature/public-login-redirect

5 years agoUpdated npm dependancies
Dan Brown [Sat, 14 Mar 2020 17:38:39 +0000 (17:38 +0000)]
Updated npm dependancies

5 years agoUpdated default mail options
Dan Brown [Sat, 14 Mar 2020 17:32:11 +0000 (17:32 +0000)]
Updated default mail options

5 years agoMerge branch 'TBK-validation_fixes'
Dan Brown [Sat, 14 Mar 2020 12:46:01 +0000 (12:46 +0000)]
Merge branch 'TBK-validation_fixes'

5 years agoMerge branch 'validation_fixes' of git://github.com/TBK/BookStack into TBK-validation...
Dan Brown [Sat, 14 Mar 2020 12:42:59 +0000 (12:42 +0000)]
Merge branch 'validation_fixes' of git://github.com/TBK/BookStack into TBK-validation_fixes

5 years agoBump acorn from 6.4.0 to 6.4.1
dependabot[bot] [Fri, 13 Mar 2020 21:11:58 +0000 (21:11 +0000)]
Bump acorn from 6.4.0 to 6.4.1

Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <redacted>
5 years agoUpdated primary color action text to be consistent
Dan Brown [Wed, 11 Mar 2020 21:51:43 +0000 (21:51 +0000)]
Updated primary color action text to be consistent

- With other similar picker components on the page.

As reported in #1930

5 years agoMerge branch 'Statium-master'
Dan Brown [Wed, 11 Mar 2020 21:43:16 +0000 (21:43 +0000)]
Merge branch 'Statium-master'

5 years agoUpdate entities.php
Statium [Sun, 12 Jan 2020 13:51:13 +0000 (18:51 +0500)]
Update entities.php

More accurate translation, error correction.

5 years agoUpdate common.php
Statium [Sun, 12 Jan 2020 13:48:40 +0000 (18:48 +0500)]
Update common.php

More accurate translation, error correction.

5 years agoUpdate auth.php
Statium [Sun, 12 Jan 2020 13:47:56 +0000 (18:47 +0500)]
Update auth.php

More accurate translation, error correction.

5 years agoUpdate activities.php
Statium [Sun, 12 Jan 2020 13:44:26 +0000 (18:44 +0500)]
Update activities.php

More accurate translation, error correction.

5 years agoMerge branch 'Statium-patch-1'
Dan Brown [Wed, 11 Mar 2020 21:28:09 +0000 (21:28 +0000)]
Merge branch 'Statium-patch-1'

5 years agoCode refactoring
Statium [Sat, 7 Mar 2020 09:43:42 +0000 (14:43 +0500)]
Code refactoring

Removed extra spaces displayed in the header of the login and registration link.

5 years agoUpdate setting-entity-color-picker.blade.php
Statium [Sat, 7 Mar 2020 10:08:08 +0000 (15:08 +0500)]
Update setting-entity-color-picker.blade.php

Reducing indentation to one look in the application settings.

5 years agoUpdated social auth to take name from email if empty
Dan Brown [Tue, 10 Mar 2020 19:09:22 +0000 (19:09 +0000)]
Updated social auth to take name from email if empty

- Added tests to cover.

Fixes #1853

5 years agoUpdated readme with extra discord and issue list links
Dan Brown [Fri, 6 Mar 2020 20:26:11 +0000 (20:26 +0000)]
Updated readme with extra discord and issue list links

5 years agoMerge branch 'master' of git://github.com/ch0wm3in/BookStack into ch0wm3in-master
Dan Brown [Fri, 6 Mar 2020 20:10:57 +0000 (20:10 +0000)]
Merge branch 'master' of git://github.com/ch0wm3in/BookStack into ch0wm3in-master

5 years agoMerge branch 'perl_syntax_highlight' of git://github.com/Iyeyasu/BookStack into Iyeya...
Dan Brown [Fri, 6 Mar 2020 19:54:15 +0000 (19:54 +0000)]
Merge branch 'perl_syntax_highlight' of git://github.com/Iyeyasu/BookStack into Iyeyasu-perl_syntax_highlight

5 years agoMerge branch 'master' of git://github.com/JHenneberg/BookStack into JHenneberg-master
Dan Brown [Fri, 6 Mar 2020 19:49:16 +0000 (19:49 +0000)]
Merge branch 'master' of git://github.com/JHenneberg/BookStack into JHenneberg-master

5 years agoLang setting list changes via Crowdin
Dan Brown [Wed, 4 Mar 2020 22:43:30 +0000 (22:43 +0000)]
Lang setting list changes via Crowdin

* New translations settings.php (Italian)

* New translations settings.php (Vietnamese)

* New translations settings.php (Ukrainian)

* New translations settings.php (Turkish)

* New translations settings.php (Swedish)

* New translations settings.php (Spanish, Argentina)

* New translations settings.php (Spanish)

* New translations settings.php (Slovak)

* New translations settings.php (Portuguese)

* New translations settings.php (Polish)

* New translations settings.php (Persian)

* New translations settings.php (Korean)

* New translations settings.php (Japanese)

* New translations settings.php (German)

* New translations settings.php (Russian)

* New translations settings.php (French)

* New translations settings.php (Dutch)

* New translations settings.php (Czech)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Arabic)

* New translations settings.php (Danish)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Hungarian)

* New translations settings.php (German Informal)

5 years agoMerge branch 'master' of git://github.com/Binternet/BookStack into Binternet-master
Dan Brown [Wed, 4 Mar 2020 22:22:08 +0000 (22:22 +0000)]
Merge branch 'master' of git://github.com/Binternet/BookStack into Binternet-master

5 years agoUpdated lanauge lists to match latest translations
Dan Brown [Wed, 4 Mar 2020 22:14:25 +0000 (22:14 +0000)]
Updated lanauge lists to match latest translations

5 years agoNew Crowdin translations (#1868)
Dan Brown [Wed, 4 Mar 2020 21:58:04 +0000 (21:58 +0000)]
New Crowdin translations (#1868)

* New translations settings.php (Spanish)

* New translations errors.php (Japanese)

* New translations errors.php (Japanese)

* New translations components.php (Japanese)

* New translations settings.php (German)

* New translations settings.php (German)

* New translations auth.php (German Informal)

* New translations errors.php (German Informal)

* New translations settings.php (German Informal)

* New translations entities.php (German Informal)

* New translations activities.php (Persian)

* New translations auth.php (Persian)

* New translations common.php (Persian)

* New translations components.php (Persian)

* New translations entities.php (Persian)

* New translations errors.php (Persian)

* New translations pagination.php (Persian)

* New translations passwords.php (Persian)

* New translations settings.php (Persian)

* New translations validation.php (Persian)

* New translations settings.php (German Informal)

* New translations validation.php (German Informal)

* New translations settings.php (French)

* New translations errors.php (French)

* New translations settings.php (French)

* New translations settings.php (Hungarian)

* New translations activities.php (Portuguese)

* New translations auth.php (Vietnamese)

* New translations settings.php (Vietnamese)

* New translations passwords.php (Vietnamese)

* New translations pagination.php (Vietnamese)

* New translations errors.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations components.php (Vietnamese)

* New translations common.php (Vietnamese)

* New translations activities.php (Vietnamese)

* New translations auth.php (Portuguese)

* New translations validation.php (Portuguese)

* New translations settings.php (Portuguese)

* New translations passwords.php (Portuguese)

* New translations pagination.php (Portuguese)

* New translations errors.php (Portuguese)

* New translations entities.php (Portuguese)

* New translations components.php (Portuguese)

* New translations common.php (Portuguese)

* New translations validation.php (Vietnamese)

* New translations components.php (Vietnamese)

* New translations auth.php (Vietnamese)

* New translations components.php (Vietnamese)

* New translations auth.php (Vietnamese)

* New translations activities.php (Vietnamese)

* New translations auth.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations pagination.php (Vietnamese)

* New translations passwords.php (Vietnamese)

* New translations common.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations common.php (Vietnamese)

* New translations settings.php (Vietnamese)

* New translations validation.php (Vietnamese)

* New translations validation.php (Vietnamese)

* New translations validation.php (Vietnamese)

* New translations errors.php (Vietnamese)

* New translations errors.php (Vietnamese)

* New translations errors.php (Vietnamese)

* New translations errors.php (Vietnamese)

* New translations errors.php (Vietnamese)

* New translations settings.php (Vietnamese)

* New translations settings.php (Vietnamese)

* New translations settings.php (Vietnamese)

* New translations settings.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations settings.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations settings.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations errors.php (Chinese Simplified)

* New translations errors.php (French)

* New translations errors.php (German)

* New translations errors.php (Arabic)

* New translations errors.php (Czech)

* New translations errors.php (Danish)

* New translations errors.php (Dutch)

* New translations errors.php (Hungarian)

* New translations errors.php (Italian)

* New translations errors.php (Chinese Traditional)

* New translations errors.php (Swedish)

* New translations errors.php (Portuguese)

* New translations errors.php (Persian)

* New translations errors.php (German Informal)

* New translations errors.php (Ukrainian)

* New translations errors.php (Turkish)

* New translations errors.php (Korean)

* New translations errors.php (Spanish, Argentina)

* New translations errors.php (Spanish)

* New translations errors.php (Slovak)

* New translations errors.php (Russian)

* New translations errors.php (Polish)

* New translations errors.php (Japanese)

* New translations errors.php (Portuguese, Brazilian)

* New translations errors.php (Vietnamese)

* New translations errors.php (Spanish)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations entities.php (Vietnamese)

* New translations errors.php (Vietnamese)

* New translations auth.php (Swedish)

* New translations common.php (Swedish)

* New translations entities.php (Swedish)

* New translations settings.php (Swedish)

* New translations errors.php (Chinese Simplified)

* New translations errors.php (Russian)

* New translations errors.php (Russian)

* New translations common.php (Russian)

* New translations settings.php (Russian)

* New translations settings.php (Russian)

* New translations errors.php (Hungarian)

* New translations settings.php (Hungarian)

* New translations settings.php (Russian)

* New translations errors.php (Russian)

* New translations settings.php (Russian)

* New translations activities.php (Russian)

* New translations auth.php (Russian)

* New translations components.php (Russian)

* New translations entities.php (Russian)

* New translations validation.php (Russian)

* New translations errors.php (Russian)

* New translations common.php (Russian)

* New translations entities.php (Russian)

* New translations errors.php (Russian)

* New translations settings.php (Russian)

* New translations settings.php (Portuguese, Brazilian)

* New translations auth.php (Russian)

* New translations components.php (Russian)

* New translations entities.php (Russian)

* New translations errors.php (Russian)

* New translations errors.php (Russian)

* New translations settings.php (Russian)

* New translations passwords.php (Russian)

* New translations auth.php (Danish)

* New translations auth.php (Danish)

* New translations common.php (Danish)

* New translations components.php (Danish)

* New translations entities.php (Danish)

* New translations entities.php (Danish)

* New translations entities.php (Danish)

* New translations errors.php (Danish)

* New translations errors.php (Russian)

* New translations settings.php (Russian)

* New translations settings.php (Russian)

* New translations validation.php (Russian)

* New translations errors.php (Danish)

* New translations errors.php (Danish)

* New translations settings.php (Danish)

* New translations settings.php (Danish)

* New translations settings.php (Danish)

* New translations validation.php (Danish)

* New translations validation.php (Danish)

* New translations settings.php (Danish)

* New translations settings.php (Danish)

* New translations auth.php (Russian)

* New translations settings.php (Russian)

* New translations errors.php (Russian)

* New translations settings.php (Russian)

* New translations validation.php (Russian)

* New translations settings.php (Russian)

5 years agoAllow book, shelf, settings & profile form input validation to skip image 1900/head
TBK [Tue, 3 Mar 2020 23:05:47 +0000 (00:05 +0100)]
Allow book, shelf, settings & profile form input validation to skip image

5 years agoRemove redundant getImageValidationRules method
TBK [Tue, 3 Mar 2020 23:06:30 +0000 (00:06 +0100)]
Remove redundant getImageValidationRules method

5 years agoChange check to verify that request is present and contains a file
TBK [Tue, 3 Mar 2020 23:08:01 +0000 (00:08 +0100)]
Change check to verify that request is present and contains a file

5 years agoResolve issue #1911 (Additional margin/padding present in nested lists) 1913/head
Mikey O'Toole [Thu, 20 Feb 2020 14:25:23 +0000 (14:25 +0000)]
Resolve issue #1911 (Additional margin/padding present in nested lists)

Optionally we could consider removing the rule at line 274. This doesn't handle multiple layers of nested lists and would be better covered by the generic rule which checks for an `ol` or `ul` nested inside a `li` which is how MarkDown renders nested lists as HTML.

5 years agoFixed side-effect in binary LDAP handling
Dan Brown [Sat, 15 Feb 2020 22:35:15 +0000 (22:35 +0000)]
Fixed side-effect in binary LDAP handling

- Was not stripping prefix when sending value to LDAP server in search.
- Updated test to cover.

5 years agoFixed code-block drag+drop handling
Dan Brown [Sat, 15 Feb 2020 21:37:41 +0000 (21:37 +0000)]
Fixed code-block drag+drop handling

- Added custom handling, Tracks if contenteditable blocks are being dragged. On drop the selection location will be roughly checked to put the block above or below the cursor block root element.

5 years agoAdded dump_user_details option to LDAP and added binary attribute decode option
Dan Brown [Sat, 15 Feb 2020 20:31:23 +0000 (20:31 +0000)]
Added dump_user_details option to LDAP and added binary attribute decode option

Related to #1872

5 years agoFixed issues preventing breadcrumb navigation menus from opening
Dan Brown [Sat, 15 Feb 2020 19:09:33 +0000 (19:09 +0000)]
Fixed issues preventing breadcrumb navigation menus from opening

- Added tests to cover endpoint

Fixes #1884

5 years agoUpdated cover image methods so image parameter is not optional but still nullable
Dan Brown [Sat, 15 Feb 2020 18:38:36 +0000 (18:38 +0000)]
Updated cover image methods so image parameter is not optional but still nullable

5 years agoMerge branch 'new_bookshelf_cover_fix' of git://github.com/TBK/BookStack into TBK...
Dan Brown [Sat, 15 Feb 2020 18:34:45 +0000 (18:34 +0000)]
Merge branch 'new_bookshelf_cover_fix' of git://github.com/TBK/BookStack into TBK-new_bookshelf_cover_fix

5 years agoAdded test to ensure shelf cover image gets set on create
Dan Brown [Sat, 15 Feb 2020 18:34:02 +0000 (18:34 +0000)]
Added test to ensure shelf cover image gets set on create

Related to #1897

5 years agoMade some updates to project readme and license
Dan Brown [Sat, 15 Feb 2020 15:47:17 +0000 (15:47 +0000)]
Made some updates to project readme and license

5 years agoAligned export styles a little better and fixed potential DOMPDF css error
Dan Brown [Sat, 15 Feb 2020 15:34:06 +0000 (15:34 +0000)]
Aligned export styles a little better and fixed potential DOMPDF css error

- Removed different PDF template used on pages.
- Updated export view files to have the intended format passed.
- Shared the export CSS amoung the export templates.

Should hopefully address #1886

5 years agoFixed LDAP error thrown by not found user details
Dan Brown [Sat, 15 Feb 2020 14:44:36 +0000 (14:44 +0000)]
Fixed LDAP error thrown by not found user details

- Added testing to cover.

Related to #1876

5 years agoRemoved unintended extra lines in code blocks
Dan Brown [Sat, 15 Feb 2020 14:24:55 +0000 (14:24 +0000)]
Removed unintended extra lines in code blocks

Fixes #1877

5 years agoUpdated email test send to show error on failure
Dan Brown [Sat, 15 Feb 2020 14:13:15 +0000 (14:13 +0000)]
Updated email test send to show error on failure

- Added test to cover
- Closes #1874

5 years agoFix for missing cover on create new shelf 1899/head
TBK [Fri, 14 Feb 2020 19:33:07 +0000 (20:33 +0100)]
Fix for missing cover on create new shelf

5 years agoFixed 'interaction_required' response for azure 1889/head
ch0wm3in [Wed, 12 Feb 2020 14:03:55 +0000 (15:03 +0100)]
Fixed 'interaction_required' response for azure

Azure Conditional Access policy 2FA returns 'interaction_required' 400 response https://github.com/SocialiteProviders/Providers/issues/208

5 years agoAdded support for Fortran language 1878/head
JHenneberg [Fri, 7 Feb 2020 12:45:19 +0000 (13:45 +0100)]
Added support for Fortran language
sorted import alphabetically

5 years agoUpdated translators file
Dan Brown [Mon, 3 Feb 2020 22:25:17 +0000 (22:25 +0000)]
Updated translators file

5 years agoNew Crowdin translations (#1850)
Dan Brown [Mon, 3 Feb 2020 21:00:17 +0000 (21:00 +0000)]
New Crowdin translations (#1850)

* New translations settings.php (Korean)

* New translations settings.php (Polish)

* New translations settings.php (Ukrainian)

* New translations settings.php (Turkish)

* New translations settings.php (Swedish)

* New translations settings.php (Spanish, Argentina)

* New translations settings.php (Spanish)

* New translations errors.php (Spanish)

* New translations settings.php (Slovak)

* New translations settings.php (Russian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Japanese)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Italian)

* New translations settings.php (Hungarian)

* New translations settings.php (German)

* New translations settings.php (French)

* New translations settings.php (Dutch)

* New translations settings.php (Danish)

* New translations settings.php (Czech)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Arabic)

* New translations settings.php (German Informal)

* New translations common.php (Dutch)

* New translations settings.php (Spanish)

* New translations errors.php (Hungarian)

* New translations settings.php (Hungarian)

* New translations common.php (Hungarian)

* New translations errors.php (Hungarian)

* New translations settings.php (Hungarian)

* New translations validation.php (Hungarian)

* New translations errors.php (Portuguese, Brazilian)

* New translations errors.php (Chinese Simplified)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Chinese Simplified)

* New translations auth.php (Chinese Traditional)

* New translations common.php (Chinese Traditional)

* New translations entities.php (Chinese Traditional)

* New translations errors.php (Chinese Traditional)

* New translations entities.php (Chinese Traditional)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Chinese Traditional)

* New translations validation.php (Chinese Traditional)

* New translations validation.php (Chinese Traditional)

* New translations errors.php (German)

* New translations errors.php (German)

* New translations settings.php (German)

* New translations settings.php (German Informal)

* New translations errors.php (French)

* New translations settings.php (French)

* New translations errors.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Hungarian)

* New translations settings.php (Hungarian)

* New translations validation.php (Hungarian)

* New translations errors.php (Chinese Simplified)

* New translations errors.php (Spanish)

* New translations errors.php (Korean)

* New translations settings.php (Korean)

* New translations errors.php (Polish)

* New translations settings.php (Polish)

* New translations errors.php (Russian)

* New translations settings.php (Russian)

* New translations errors.php (Slovak)

* New translations settings.php (Slovak)

* New translations settings.php (Spanish)

* New translations errors.php (Japanese)

* New translations errors.php (Spanish, Argentina)

* New translations settings.php (Spanish, Argentina)

* New translations errors.php (Swedish)

* New translations settings.php (Swedish)

* New translations errors.php (Turkish)

* New translations settings.php (Turkish)

* New translations errors.php (Ukrainian)

* New translations settings.php (Ukrainian)

* New translations settings.php (Japanese)

* New translations settings.php (Italian)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Portuguese, Brazilian)

* New translations errors.php (Chinese Traditional)

* New translations settings.php (Chinese Traditional)

* New translations errors.php (French)

* New translations settings.php (French)

* New translations errors.php (German)

* New translations settings.php (German)

* New translations settings.php (Hungarian)

* New translations errors.php (Portuguese, Brazilian)

* New translations settings.php (German Informal)

* New translations errors.php (Italian)

* New translations errors.php (Arabic)

* New translations settings.php (Arabic)

* New translations errors.php (Czech)

* New translations settings.php (Czech)

* New translations errors.php (Danish)

* New translations settings.php (Danish)

* New translations errors.php (Dutch)

* New translations settings.php (Dutch)

* New translations errors.php (Hungarian)

* New translations errors.php (German Informal)

* New translations settings.php (Spanish)

* New translations settings.php (French)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Japanese)

* New translations settings.php (Turkish)

* New translations settings.php (Swedish)

* New translations settings.php (Spanish, Argentina)

* New translations settings.php (Spanish)

* New translations settings.php (Slovak)

* New translations settings.php (Russian)

* New translations settings.php (Polish)

* New translations settings.php (Korean)

* New translations settings.php (Italian)

* New translations settings.php (Chinese Traditional)

* New translations settings.php (Dutch)

* New translations settings.php (Danish)

* New translations settings.php (Czech)

* New translations settings.php (Arabic)

* New translations settings.php (German Informal)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Hungarian)

* New translations settings.php (German)

* New translations settings.php (French)

* New translations settings.php (Ukrainian)

5 years agoAdded app theme setting to complete env and fixed text error
Dan Brown [Mon, 3 Feb 2020 20:33:10 +0000 (20:33 +0000)]
Added app theme setting to complete env and fixed text error

5 years agoMade docs sidebar sticky, changed theme to default
Dan Brown [Sun, 2 Feb 2020 21:59:51 +0000 (21:59 +0000)]
Made docs sidebar sticky, changed theme to default

- MDN theme appeared fairly bad for markdown use, and the geometric
background was a bit much. Swapped out to default theme.
- Rough-added stickiness to docs sidebar, will need more work once it
starts to expand possible screen height.

5 years agoImproved styling of the 500 error page
Dan Brown [Sun, 2 Feb 2020 21:04:43 +0000 (21:04 +0000)]
Improved styling of the 500 error page

5 years agoMerge pull request #1866 from BookStackApp/auth_alignment
Dan Brown [Sun, 2 Feb 2020 18:06:15 +0000 (18:06 +0000)]
Merge pull request #1866 from BookStackApp/auth_alignment

Auth service alignment

5 years agoCleaned setting section redirect path 1866/head
Dan Brown [Sun, 2 Feb 2020 17:57:21 +0000 (17:57 +0000)]
Cleaned setting section redirect path

5 years agoUpdated settings-save action to return to the same section
Dan Brown [Sun, 2 Feb 2020 17:35:16 +0000 (17:35 +0000)]
Updated settings-save action to return to the same section

5 years agoChecked over and aligned registration option behavior across all auth options
Dan Brown [Sun, 2 Feb 2020 17:31:00 +0000 (17:31 +0000)]
Checked over and aligned registration option behavior across all auth options

- Added tests to cover

5 years agoSimplified guard names and rolled out guard route checks
Dan Brown [Sun, 2 Feb 2020 13:10:21 +0000 (13:10 +0000)]
Simplified guard names and rolled out guard route checks

- Included tests to cover for LDAP and SAML
- Updated wording for external auth id option.
- Updated 'assertPermissionError' test case to be usable in BrowserKitTests

5 years agoFixed failing tests caused by auth changes
Dan Brown [Sun, 2 Feb 2020 12:00:41 +0000 (12:00 +0000)]
Fixed failing tests caused by auth changes

5 years agoAdded files missed in previous commit
Dan Brown [Sun, 2 Feb 2020 10:59:03 +0000 (10:59 +0000)]
Added files missed in previous commit

5 years agoAligned SAML2 system with LDAP implementation in terms of guards and UI
Dan Brown [Sat, 1 Feb 2020 16:11:56 +0000 (16:11 +0000)]
Aligned SAML2 system with LDAP implementation in terms of guards and UI

5 years agoSet more appropriate login validation and broken up LDAP guide a bit
Dan Brown [Sat, 1 Feb 2020 14:30:23 +0000 (14:30 +0000)]
Set more appropriate login validation and broken up LDAP guide a bit

5 years agoStarted alignment of auth services
Dan Brown [Sat, 1 Feb 2020 11:42:22 +0000 (11:42 +0000)]
Started alignment of auth services

- Removed LDAP specific logic from login controller, placed in Guard.
- Created safer base user provider for ldap login, to be used for SAML
soon.
- Moved LDAP auth work from user provider to guard.

5 years agoMoved socal auth routes to their own controller
Dan Brown [Sun, 26 Jan 2020 14:42:50 +0000 (14:42 +0000)]
Moved socal auth routes to their own controller

Also cleaned some phpdocs and extracted register actions to their own
service.

5 years agoUpdated laravel version and moved flare to non-dev
Dan Brown [Sun, 26 Jan 2020 13:26:37 +0000 (13:26 +0000)]
Updated laravel version and moved flare to non-dev

5 years agoMerge pull request #1845 from SoarinFerret/add-close-icon-to-notifications
Dan Brown [Sun, 19 Jan 2020 16:07:08 +0000 (16:07 +0000)]
Merge pull request #1845 from SoarinFerret/add-close-icon-to-notifications

Add close icon to notifications

5 years agoAdd Perl syntax higlighting to code editor 1851/head
D4rt [Sun, 19 Jan 2020 05:41:18 +0000 (07:41 +0200)]
Add Perl syntax higlighting to code editor

5 years agoAdded danish to language arrays
Dan Brown [Sat, 18 Jan 2020 16:07:36 +0000 (16:07 +0000)]
Added danish to language arrays

5 years agoNew Crowdin translations (#1825)
Dan Brown [Sat, 18 Jan 2020 16:03:27 +0000 (16:03 +0000)]
New Crowdin translations (#1825)

* New translations common.php (Turkish)

* New translations errors.php (Turkish)

* New translations settings.php (Turkish)

* New translations common.php (Italian)

* New translations settings.php (Italian)

* New translations auth.php (Portuguese, Brazilian)

* New translations auth.php (Portuguese, Brazilian)

* New translations auth.php (Portuguese, Brazilian)

* New translations common.php (Portuguese, Brazilian)

* New translations validation.php (Portuguese, Brazilian)

* New translations activities.php (Portuguese, Brazilian)

* New translations auth.php (Portuguese, Brazilian)

* New translations common.php (Portuguese, Brazilian)

* New translations activities.php (Portuguese, Brazilian)

* New translations components.php (Portuguese, Brazilian)

* New translations entities.php (Portuguese, Brazilian)

* New translations entities.php (Portuguese, Brazilian)

* New translations activities.php (Portuguese, Brazilian)

* New translations activities.php (Portuguese, Brazilian)

* New translations activities.php (Portuguese, Brazilian)

* New translations common.php (Portuguese, Brazilian)

* New translations components.php (Portuguese, Brazilian)

* New translations passwords.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations auth.php (Dutch)

* New translations auth.php (Dutch)

* New translations common.php (Dutch)

* New translations settings.php (Dutch)

* New translations common.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations validation.php (Dutch)

* New translations settings.php (Portuguese, Brazilian)

* New translations components.php (Dutch)

* New translations errors.php (Dutch)

* New translations settings.php (Dutch)

* New translations validation.php (Dutch)

* New translations settings.php (Dutch)

* New translations validation.php (Dutch)

* New translations entities.php (Portuguese, Brazilian)

* New translations entities.php (Portuguese, Brazilian)

* New translations errors.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations auth.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations auth.php (Portuguese, Brazilian)

* New translations auth.php (Portuguese, Brazilian)

* New translations components.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations errors.php (Portuguese, Brazilian)

* New translations entities.php (Portuguese, Brazilian)

* New translations errors.php (Portuguese, Brazilian)

* New translations entities.php (Portuguese, Brazilian)

* New translations entities.php (Portuguese, Brazilian)

* New translations validation.php (Portuguese, Brazilian)

* New translations validation.php (Portuguese, Brazilian)

* New translations validation.php (Portuguese, Brazilian)

* New translations errors.php (Danish)

* New translations errors.php (Danish)

* New translations activities.php (Danish)

* New translations common.php (Danish)

* New translations auth.php (Danish)

* New translations auth.php (Danish)

* New translations passwords.php (Danish)

* New translations common.php (Korean)

* New translations settings.php (Korean)

* New translations settings.php (Korean)

* New translations errors.php (Korean)

* New translations common.php (Chinese Simplified)

* New translations entities.php (Chinese Simplified)

* New translations errors.php (Chinese Simplified)

* New translations errors.php (Chinese Simplified)

* New translations settings.php (Chinese Simplified)

* New translations settings.php (Korean)

* New translations settings.php (Spanish)

* New translations settings.php (Polish)

* New translations errors.php (Portuguese, Brazilian)

* New translations settings.php (Portuguese, Brazilian)

* New translations errors.php (Russian)

* New translations settings.php (Russian)

* New translations errors.php (Slovak)

* New translations settings.php (Slovak)

* New translations errors.php (Spanish)

* New translations errors.php (Spanish, Argentina)

* New translations settings.php (Japanese)

* New translations settings.php (Spanish, Argentina)

* New translations errors.php (Swedish)

* New translations settings.php (Swedish)

* New translations errors.php (Turkish)

* New translations settings.php (Turkish)

* New translations errors.php (Ukrainian)

* New translations settings.php (Ukrainian)

* New translations errors.php (German Informal)

* New translations errors.php (Polish)

* New translations errors.php (Japanese)

* New translations errors.php (Korean)

* New translations errors.php (Danish)

* New translations errors.php (Chinese Simplified)

* New translations settings.php (Chinese Simplified)

* New translations errors.php (Arabic)

* New translations settings.php (Arabic)

* New translations errors.php (Chinese Traditional)

* New translations settings.php (Chinese Traditional)

* New translations errors.php (Czech)

* New translations settings.php (Czech)

* New translations settings.php (Danish)

* New translations settings.php (Italian)

* New translations errors.php (Dutch)

* New translations settings.php (Dutch)

* New translations errors.php (French)

* New translations settings.php (French)

* New translations errors.php (German)

* New translations settings.php (German)

* New translations errors.php (Hungarian)

* New translations settings.php (Hungarian)

* New translations errors.php (Italian)

* New translations settings.php (German Informal)

5 years agoFixed github action workflow
Dan Brown [Sat, 18 Jan 2020 15:30:54 +0000 (15:30 +0000)]
Fixed github action workflow

5 years agoFurther updated github actions config
Dan Brown [Sat, 18 Jan 2020 15:27:57 +0000 (15:27 +0000)]
Further updated github actions config

- Added composer caching based off github docs.
- Focused when actions run so they're not running unneccessarily.

5 years agoAdded caching to github action workflow
Dan Brown [Sat, 18 Jan 2020 15:17:21 +0000 (15:17 +0000)]
Added caching to github action workflow

5 years agoMerge pull request #1826 from BookStackApp/api_origins
Dan Brown [Sat, 18 Jan 2020 15:10:35 +0000 (15:10 +0000)]
Merge pull request #1826 from BookStackApp/api_origins

Baseline API Implementation

5 years agoAdded configurable API throttling, Handled API errors standardly 1826/head
Dan Brown [Sat, 18 Jan 2020 15:03:28 +0000 (15:03 +0000)]
Added configurable API throttling, Handled API errors standardly

5 years agoFixed bad test class name
Dan Brown [Sat, 18 Jan 2020 14:07:43 +0000 (14:07 +0000)]
Fixed bad test class name

5 years agoAdded "Getting Started" API docs
Dan Brown [Sat, 18 Jan 2020 14:03:11 +0000 (14:03 +0000)]
Added "Getting Started" API docs

5 years agoAdded a few test to cover api docs pages
Dan Brown [Sat, 18 Jan 2020 10:04:13 +0000 (10:04 +0000)]
Added a few test to cover api docs pages

5 years agoUpdated default codemirror theme
Dan Brown [Sat, 18 Jan 2020 09:55:02 +0000 (09:55 +0000)]
Updated default codemirror theme

- To mdn-like theme, to have better default legibility and contrast

5 years agoRefined docs view, Added example requests
Dan Brown [Sat, 18 Jan 2020 09:48:30 +0000 (09:48 +0000)]
Refined docs view, Added example requests

5 years agoAdded a view for the API docs
Dan Brown [Wed, 15 Jan 2020 20:18:02 +0000 (20:18 +0000)]
Added a view for the API docs

5 years agoAdd close icon to notifications 1845/head
SoarinFerret [Tue, 14 Jan 2020 19:50:29 +0000 (13:50 -0600)]
Add close icon to notifications

5 years agoStarted work on generating API docs
Dan Brown [Sun, 12 Jan 2020 16:25:14 +0000 (16:25 +0000)]
Started work on generating API docs

5 years agoFilled out base Book API endpoints, added example responses
Dan Brown [Sun, 12 Jan 2020 14:45:54 +0000 (14:45 +0000)]
Filled out base Book API endpoints, added example responses

5 years agoFixed test class names + add perm. check to api session auth
Dan Brown [Wed, 1 Jan 2020 17:01:36 +0000 (17:01 +0000)]
Fixed test class names + add perm. check to api session auth

5 years agoAdded API listing filtering & cleaned ApiAuthenticate returns
Dan Brown [Wed, 1 Jan 2020 16:33:47 +0000 (16:33 +0000)]
Added API listing filtering & cleaned ApiAuthenticate returns

API listing endpoint filter can be found via &filter[name]=my+book query
parameters. There are a range of operators that can be used such as
&filter[id:gte]=4

5 years agoAdded tests to cover API config and listing code
Dan Brown [Mon, 30 Dec 2019 20:48:23 +0000 (20:48 +0000)]
Added tests to cover API config and listing code

5 years agoAdded expiry checking to API token auth
Dan Brown [Mon, 30 Dec 2019 19:51:41 +0000 (19:51 +0000)]
Added expiry checking to API token auth

- Added test to cover to ensure its checked going forward

5 years agoAdded testing coverage to API token auth
Dan Brown [Mon, 30 Dec 2019 19:42:46 +0000 (19:42 +0000)]
Added testing coverage to API token auth

5 years agoChange email confirmation from own middle to trait
Dan Brown [Mon, 30 Dec 2019 15:46:12 +0000 (15:46 +0000)]
Change email confirmation from own middle to trait

Email confirmation middleware caused more mess than good, As caused
priority issues and it depended on auth actions. Instead its now a trai
used on auth middlewares.

Also used 'EncryptCookies' middleware on API instead of custom
decryption in custom middleware since we'd need to do replicate all the
same actions anyway. Shouldn't have too much effect since it only
actions over cookies that exist, of which none should be there for most
API requests.

Also split out some large guard functions to be a little more readable
and appease codeclimate.

5 years agoExtracted API auth into guard
Dan Brown [Mon, 30 Dec 2019 14:51:28 +0000 (14:51 +0000)]
Extracted API auth into guard

Also implemented more elegant solution to allowing session auth for API
routes; A new 'StartSessionIfCookieExists' middleware, which wraps the
default 'StartSession' middleware will run for API routes which only
sets up the session if a session cookie is found on the request. Also
decrypts only the session cookie.

Also cleaned some TokenController codeclimate warnings.

5 years agoLinked new API token system into middleware
Dan Brown [Mon, 30 Dec 2019 02:16:07 +0000 (02:16 +0000)]
Linked new API token system into middleware

Base logic in place but needs review and refactor to see if can better
fit into Laravel using 'Guard' system. Currently has issues due to
cookies in use from active session on API.

5 years agoadded rtl support for hebrew + added to localMap 1827/head
Lior Broshi [Sun, 29 Dec 2019 21:06:54 +0000 (23:06 +0200)]
added rtl support for hebrew + added to localMap

Morty Proxy This is a proxified and sanitized view of the page, visit original site.