Dan Brown
e8cfb4f2be
Removed unintended extra lines in code blocks
...
Fixes #1877
2020-02-15 14:24:55 +00:00
Dan Brown
49386b42da
Updated email test send to show error on failure
...
- Added test to cover
- Closes #1874
2020-02-15 14:13:15 +00:00
TBK
9533e0646e
Fix for missing cover on create new shelf
2020-02-14 20:33:07 +01:00
ch0wm3in
c1fe81466f
Fixed 'interaction_required' response for azure
...
Azure Conditional Access policy 2FA returns 'interaction_required' 400 response https://github.com/SocialiteProviders/Providers/issues/208
2020-02-12 15:03:55 +01:00
benrubson
12a9a45747
Log failed accesses
2020-02-09 10:01:33 +01:00
JHenneberg
0df0227ad4
Added support for Fortran language
...
sorted import alphabetically
2020-02-07 13:45:19 +01:00
Dan Brown
4b79d5e4e8
Updated version and assets for release v0.28.0
2020-02-03 22:44:45 +00:00
Dan Brown
34854915b3
Merge branch 'master' into release
2020-02-03 22:43:58 +00:00
Dan Brown
33ef1cd4fa
Updated translators file
2020-02-03 22:25:17 +00:00
Dan Brown
d8072cbef2
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)
2020-02-03 21:00:17 +00:00
Dan Brown
718a97537e
Added app theme setting to complete env and fixed text error
2020-02-03 20:33:10 +00:00
Dan Brown
dea8343bc8
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.
2020-02-02 21:59:51 +00:00
Dan Brown
5ce3b861a9
Improved styling of the 500 error page
2020-02-02 21:04:43 +00:00
Dan Brown
e15fcf5b50
Merge pull request #1866 from BookStackApp/auth_alignment
...
Auth service alignment
2020-02-02 18:06:15 +00:00
Dan Brown
9d77cca734
Cleaned setting section redirect path
2020-02-02 17:57:21 +00:00
Dan Brown
b4f2b73590
Updated settings-save action to return to the same section
2020-02-02 17:35:16 +00:00
Dan Brown
3991fbe726
Checked over and aligned registration option behavior across all auth options
...
- Added tests to cover
2020-02-02 17:31:00 +00:00
Dan Brown
e6c6de0848
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
2020-02-02 13:10:21 +00:00
Dan Brown
5d08ec3cef
Fixed failing tests caused by auth changes
2020-02-02 12:00:41 +00:00
Dan Brown
e743cd3f60
Added files missed in previous commit
2020-02-02 10:59:03 +00:00
Dan Brown
3470a6a140
Aligned SAML2 system with LDAP implementation in terms of guards and UI
2020-02-01 16:11:56 +00:00
Dan Brown
7728931f15
Set more appropriate login validation and broken up LDAP guide a bit
2020-02-01 14:30:23 +00:00
Dan Brown
575b85021d
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.
2020-02-01 11:42:22 +00:00
Dan Brown
92690d1ae9
Moved socal auth routes to their own controller
...
Also cleaned some phpdocs and extracted register actions to their own
service.
2020-01-26 14:42:50 +00:00
Dan Brown
fb5df49fd4
Updated laravel version and moved flare to non-dev
2020-01-26 13:27:28 +00:00
Dan Brown
82a8db3739
Merge pull request #1845 from SoarinFerret/add-close-icon-to-notifications
...
Add close icon to notifications
2020-01-19 16:07:08 +00:00
D4rt
b059744fb5
Add Perl syntax higlighting to code editor
2020-01-19 07:41:18 +02:00
Dan Brown
5ff89a1abb
Added danish to language arrays
2020-01-18 16:10:16 +00:00
Dan Brown
7a2404d5e0
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)
2020-01-18 16:03:27 +00:00
Dan Brown
0ba75713e1
Fixed github action workflow
2020-01-18 15:30:54 +00:00
Dan Brown
281200e212
Further updated github actions config
...
- Added composer caching based off github docs.
- Focused when actions run so they're not running unneccessarily.
2020-01-18 15:27:57 +00:00
Dan Brown
4ed23b0187
Added caching to github action workflow
2020-01-18 15:17:21 +00:00
Dan Brown
517687669c
Merge pull request #1826 from BookStackApp/api_origins
...
Baseline API Implementation
2020-01-18 15:10:35 +00:00
Dan Brown
be554b9c79
Added configurable API throttling, Handled API errors standardly
2020-01-18 15:03:28 +00:00
Dan Brown
1350136ca3
Fixed bad test class name
2020-01-18 14:07:43 +00:00
Dan Brown
b9fb655b60
Added "Getting Started" API docs
2020-01-18 14:03:11 +00:00
Dan Brown
64455307b1
Added a few test to cover api docs pages
2020-01-18 10:04:13 +00:00
Dan Brown
8ead596067
Updated default codemirror theme
...
- To mdn-like theme, to have better default legibility and contrast
2020-01-18 09:55:02 +00:00
Dan Brown
8016f1121e
Refined docs view, Added example requests
2020-01-18 09:48:30 +00:00
Dan Brown
45b5e631e2
Added a view for the API docs
2020-01-15 20:18:02 +00:00
SoarinFerret
4297d64e29
Add close icon to notifications
2020-01-14 13:50:29 -06:00
Dan Brown
bed2498667
Started work on generating API docs
2020-01-12 16:25:14 +00:00
Dan Brown
04a8614136
Filled out base Book API endpoints, added example responses
2020-01-12 14:45:54 +00:00
Dan Brown
a8595d8aaf
Fixed test class names + add perm. check to api session auth
2020-01-01 17:01:36 +00:00
Dan Brown
a7a97a53f1
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
2020-01-01 16:33:47 +00:00
Dan Brown
55abf7be24
Added tests to cover API config and listing code
2019-12-30 20:48:23 +00:00
Dan Brown
3cacda6762
Added expiry checking to API token auth
...
- Added test to cover to ensure its checked going forward
2019-12-30 19:51:41 +00:00
Dan Brown
3d11cba223
Added testing coverage to API token auth
2019-12-30 19:42:46 +00:00
Dan Brown
6f1b88a6a6
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.
2019-12-30 15:49:20 +00:00
Dan Brown
349b4629be
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.
2019-12-30 14:51:28 +00:00