Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

update #3

Merged
merged 218 commits into from
Aug 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
218 commits
Select commit Hold shift + click to select a range
d4f2fcd
Started codemirror update, In broken state
ssddanbrown Aug 2, 2022
97146a6
Added handling of codemirror 6 code languages
ssddanbrown Aug 3, 2022
4757ed9
Converted codemirror languges to new packages where available
ssddanbrown Aug 4, 2022
9fd7a6a
Added dark theme handling
ssddanbrown Aug 4, 2022
9135a85
Merge branch 'codemirror6' into codemirror6_take2
ssddanbrown Feb 17, 2023
f51036b
Added newer languages where possible
ssddanbrown Feb 17, 2023
c148e2f
Added esbuild bundle inspection metafile
ssddanbrown Feb 17, 2023
c42956b
Started build of content-permissions API endpoints
ssddanbrown Mar 13, 2023
0de7530
Tweaked content permission endpoints, covered with tests
ssddanbrown Mar 13, 2023
1903924
Added content-perms API examples and docs tweaks
ssddanbrown Mar 13, 2023
a369971
Merge pull request #4099 from BookStackApp/permissions_api
ssddanbrown Mar 13, 2023
6357056
Updated php deps
ssddanbrown Mar 13, 2023
d9eec6d
Started Image API build
ssddanbrown Mar 14, 2023
3a808fd
Added phpunit tests to cover image API endpoints
ssddanbrown Mar 14, 2023
402eb84
Added examples, updated docs for image gallery api endpoints
ssddanbrown Mar 15, 2023
9b66e93
Merge pull request #4103 from BookStackApp/image_api
ssddanbrown Mar 15, 2023
c81cb6f
Merge branch 'development' into codemirror6
ssddanbrown Mar 19, 2023
dce5123
Added own twig/smarty packages for cm6 lang support
ssddanbrown Mar 21, 2023
f2293a7
Allow a user to disable peer check when using TLS/STARTTLS
vincentbernat Mar 24, 2023
0e43618
Fixed issue with user delete ownership not migrating
ssddanbrown Mar 24, 2023
970088a
Updated php deps
ssddanbrown Mar 24, 2023
dde38e9
Fixed delete role failing with no migrate role provided
ssddanbrown Mar 25, 2023
8e64324
Merge branch 'v23.02-branch' into development
ssddanbrown Mar 25, 2023
d353e87
Add WKHTMLTOPDF to .env.example.complete
7nohe Mar 30, 2023
4835a0d
Cleaned up old token services
ssddanbrown Apr 4, 2023
95b75c0
Updated translations with latest Crowdin changes (#4131)
ssddanbrown Apr 7, 2023
50f3c10
Merge branch 'v23.02-branch' into development
ssddanbrown Apr 7, 2023
572037e
Got markdown editor barely functional
ssddanbrown Apr 10, 2023
da3e4f5
Got md shortcuts working, marked actions for update
ssddanbrown Apr 11, 2023
9813c94
Made a start on updating editor actions
ssddanbrown Apr 11, 2023
32c765d
Updated another range of actions for cm6
ssddanbrown Apr 13, 2023
6f45d34
Finished update pass of all md editor actions to cm6
ssddanbrown Apr 13, 2023
fdda813
Cleaned up change handling in cm6 editor action handling
ssddanbrown Apr 13, 2023
257a703
Addressed existing cm6 todos
ssddanbrown Apr 14, 2023
9874a53
Added cm6 strategy for splitting and dyn. loading langs
ssddanbrown Apr 14, 2023
74b76ec
Updated cm6 theme handling to allow extension via API
ssddanbrown Apr 15, 2023
74b4751
CM6: Aligned styling with existing, improved theme handling
ssddanbrown Apr 16, 2023
09fd0bc
CM6: Got WYSIWYG code blocks working
ssddanbrown Apr 16, 2023
900571a
CM6: Updated for popup editor, added new interface
ssddanbrown Apr 17, 2023
94f464c
CM6: Added tabbing, fixed dark mode border in WYSIWYG
ssddanbrown Apr 18, 2023
3e738b1
CM6: Fixed a range of issues during browser testing
ssddanbrown Apr 18, 2023
baf5edd
CM6: Further fixes/improvements after testing
ssddanbrown Apr 18, 2023
69d0304
Merge pull request #3617 from BookStackApp/codemirror6
ssddanbrown Apr 18, 2023
752ee66
Added code formatting standard via eslint
ssddanbrown Apr 18, 2023
e711290
Ran eslint fix on existing codebase
ssddanbrown Apr 18, 2023
0519e58
ESLINT: Started inital pass at addressing issues
ssddanbrown Apr 19, 2023
da3ae3b
ESLINT: Addressed remaining detected issues
ssddanbrown Apr 19, 2023
9743906
ESLINT: Added GH action and details to dev docs
ssddanbrown Apr 19, 2023
9f467f4
Merge pull request #4181 from BookStackApp/js_formatting
ssddanbrown Apr 19, 2023
c74f7cc
Documented public JS events used
ssddanbrown Apr 20, 2023
e1bd13f
Edits from reviewing public events page
ssddanbrown Apr 20, 2023
f837083
Updated php deps
ssddanbrown Apr 21, 2023
7505443
Updated complete env wkhtml text and added advisory
ssddanbrown Apr 21, 2023
a46b438
Merge branch 'wkhtmltopdf-env-example' into development
ssddanbrown Apr 21, 2023
fa6fcc1
Added clojure code language option
ssddanbrown Apr 23, 2023
1de72d0
Mail: updated peer verify option name and added test
ssddanbrown Apr 23, 2023
58cadce
Merge branch 'feature/mail-verify-peer' into development
ssddanbrown Apr 23, 2023
01f3f4d
Fix timestamp in API docs example response
tigsikram Apr 24, 2023
55af22b
Merge pull request #4191 from tigsikram/fix-api-docs-timestamp
ssddanbrown Apr 24, 2023
23915c3
Started custom dropzone implementation
ssddanbrown Apr 24, 2023
36116a4
Dropzone: Swapped fetch for XHR for progress tracking
ssddanbrown Apr 24, 2023
a8fc29a
Dropzone: started on design/ui of uploading
ssddanbrown Apr 24, 2023
b21a900
Dropzone: Developed ux further
ssddanbrown Apr 25, 2023
752562d
.vscode folder is added in .gitignore file (#4197)
esakkiraja100116 Apr 25, 2023
61d2ea6
Dropzone: Polished image manager elements
ssddanbrown Apr 25, 2023
dff45e2
Fixed broken shortcut hint overlay
ssddanbrown Apr 26, 2023
8cd6c79
Merge branch 'development' of github.com:BookStackApp/BookStack into …
ssddanbrown Apr 26, 2023
722c38d
Image manager: fix upload control for drawing, updated styles
ssddanbrown Apr 26, 2023
e36cdaa
Updated attachments to work with new dropzone
ssddanbrown Apr 26, 2023
9a17656
dropzone: Addressed existing todos, cleaned attachment ux
ssddanbrown Apr 26, 2023
38e8a96
Removed dropzone from package and attribution list
ssddanbrown Apr 26, 2023
a4a96a3
Dropzone: Adjusted styles for dark mode
ssddanbrown Apr 27, 2023
1135d47
Fixed linting and failing test issues from dropzone work
ssddanbrown Apr 27, 2023
607da73
Merge pull request #4193 from BookStackApp/custom_dropzone
ssddanbrown Apr 27, 2023
647ce6c
Fixed sort urls with no params not building full path
ssddanbrown Apr 27, 2023
011800d
changed PageContent.php to accept nested includes (#4192)
jasonF1000 Apr 27, 2023
56f234d
Review of #4192, Fixed formatting and added test
ssddanbrown Apr 27, 2023
a9d9525
Adding a video { width: 100%; } (#4204)
snowc0de Apr 27, 2023
78fecdf
suggesstion issue fix (#4175)
Apr 26, 2023
23c35af
Review of #4202, Rolled out to other searches, added testing
ssddanbrown Apr 27, 2023
277d539
Merge branch 'esakkiraja100116/development' into development
ssddanbrown Apr 27, 2023
f64ce71
Added oidc_id_token_pre_validate logical theme event
ssddanbrown Apr 27, 2023
8c738ae
Added sessionindex to SAML2 single logout request to idp
ssddanbrown Apr 28, 2023
0aca1c2
Added system cli, and created backups directory
ssddanbrown Apr 28, 2023
8594656
Merge pull request #4206 from BookStackApp/system_cli
ssddanbrown Apr 28, 2023
cd32597
Fixed broken favourites in code editor
ssddanbrown May 1, 2023
c41baa1
Updated CLI & PHP deps, added gitignore for local composer
ssddanbrown May 1, 2023
9d74508
Updated translations with latest Crowdin changes (#4163)
ssddanbrown May 1, 2023
4bb2b31
Updated translator attribution pre v23.05 release
ssddanbrown May 1, 2023
ce0b752
Set page include limit to be 3 as expected instead of 4
ssddanbrown May 2, 2023
57bdd83
Added mostodon badge in readme, updated CLI
ssddanbrown May 3, 2023
0f89566
Merge branch 'development' into release
ssddanbrown May 3, 2023
d485fcb
Updated version and assets for release v23.05
ssddanbrown May 3, 2023
573bc3e
Added force option for update-url command
ssddanbrown May 6, 2023
3bcbf6b
Added WYSWIYG editor code editor cancel focus return
ssddanbrown May 7, 2023
b5cc0a8
Fixed added padding around hr tags in details blocks
ssddanbrown May 8, 2023
2523cee
WYSWIYG code blocks: copied head styles into shadow root
ssddanbrown May 8, 2023
8846f7d
Prevented shorcuts activating when in codemirror areas
ssddanbrown May 8, 2023
ee1e047
Updated php deps, formatted command changes
ssddanbrown May 8, 2023
4489f65
Fixed code block line-number bar showing in exports
ssddanbrown May 8, 2023
ae90776
Updated translations with latest Crowdin changes (#4211)
ssddanbrown May 8, 2023
9f1a694
Updated system CLI
ssddanbrown May 8, 2023
62d5701
Merge pull request #4229 from BookStackApp/cli-update
ssddanbrown May 8, 2023
c17906c
Updated translator attribution before release v23.05.1
ssddanbrown May 8, 2023
63ec079
Merge branch 'development' into release
ssddanbrown May 8, 2023
ed96aa8
Updated version and assets for release v23.05.1
ssddanbrown May 8, 2023
295cd01
Played around with a new app structure
ssddanbrown May 17, 2023
141eecb
Cleaned up namespacing in routes
ssddanbrown May 18, 2023
150b40e
Updated System CLI
ssddanbrown May 22, 2023
924f517
Updated code view block line highlighting to only show on focus
ssddanbrown May 22, 2023
6a7bc68
Allowed button-based multi-file uploads
ssddanbrown May 22, 2023
e591f48
Allowed attachment drag via main text link
ssddanbrown May 22, 2023
8a03442
Merge pull request #4254 from BookStackApp/code_active_line
ssddanbrown May 22, 2023
152f7f3
Merge pull request #4252 from BookStackApp/cli_update_2
ssddanbrown May 22, 2023
ebb1942
Updated translations with latest Crowdin changes (#4239)
ssddanbrown May 22, 2023
99377d4
Updated php deps
ssddanbrown May 22, 2023
c0d5e15
Updated translation attribution before v23.05.2
ssddanbrown May 23, 2023
903e88c
Merge branch 'development' into release
ssddanbrown May 23, 2023
4ac8eca
Updated version and assets for release v23.05.2
ssddanbrown May 23, 2023
df6326e
Fixed failing references after controller/file reshuffle
ssddanbrown May 24, 2023
3b31ac7
Merge pull request #4247 from BookStackApp/controller_cleanup
ssddanbrown May 24, 2023
0704f1b
Covered untested commands with testing
ssddanbrown May 24, 2023
c0620da
Aligned command class code
ssddanbrown May 24, 2023
431aeef
Updated command classes to include "Command" in name
ssddanbrown May 24, 2023
4c72620
Merge pull request #4262 from BookStackApp/command_cleanup
ssddanbrown May 24, 2023
e467324
Updated image manager to use grid-based css
ssddanbrown May 24, 2023
6c91e09
Image manager: Redesigned header bar(s)
ssddanbrown May 26, 2023
dc6133c
Image manager: added ability to trigger load more via scroll
ssddanbrown May 26, 2023
946c9ae
Image manager: supported a tabbed interface on mobile
ssddanbrown May 27, 2023
89d6d86
Image manager: extracted lang text, updated anims and search cancel
ssddanbrown May 28, 2023
9ff7c97
Image manager: Added extra detail below image edit form
ssddanbrown May 28, 2023
e3c4a9d
Added the ability to replace existing image files
ssddanbrown May 28, 2023
f78c063
Fixed bad /api docs redirection on sub path
ssddanbrown May 29, 2023
cd4b612
Image update API: added update image file ability
ssddanbrown May 29, 2023
948e95e
Updated test to align with image manager HTML changes
ssddanbrown May 29, 2023
f5ef52c
Image manager: cleaned up style changes, dark mode support
ssddanbrown May 29, 2023
a139c2a
Image manager: Improved screen reader usage
ssddanbrown May 29, 2023
08c73f0
Removed forced initial image manager display
ssddanbrown May 29, 2023
242d237
Merge pull request #4265 from BookStackApp/image_manager_responsive
ssddanbrown May 29, 2023
3f5dc10
Altered ldap_connect usage, cleaned up LDAP classes
ssddanbrown May 30, 2023
0323ebc
Chapters API: Allowed move via book_id property
ssddanbrown May 30, 2023
88785aa
Page display pointer: Considerably improved accessibility
ssddanbrown May 31, 2023
4b9f6be
Comments: Updated to show as nested threads
ssddanbrown Jun 7, 2023
154924c
Comments: updated component and split out code
ssddanbrown Jun 7, 2023
ecf99fa
Add test showing the "HTTP 500 on not found" bug
devdot Jun 8, 2023
9ba7d1e
Fix "HTTP 500 on not found" bug #4290
devdot Jun 8, 2023
3b46b92
Comments: Updated to show form in expected location
ssddanbrown Jun 8, 2023
3bede42
Comments: Added visual nesting limit, added nesting test
ssddanbrown Jun 9, 2023
19e39dd
Comments: Updated reply-to and general styling
ssddanbrown Jun 9, 2023
07de6ec
Merge pull request #4286 from BookStackApp/comment_threads
ssddanbrown Jun 9, 2023
59c7077
Fixed error on pages without comments
ssddanbrown Jun 9, 2023
1e220c4
API: Fixed misaligned image datetime format
ssddanbrown Jun 10, 2023
777027b
Permissions: Updated guest user handling so additional roles apply
ssddanbrown Jun 10, 2023
af0b4fa
Search: Updated popular items query, load parent book for chapters/pages
ssddanbrown Jun 10, 2023
f39938c
Added activity text for each activity type
ssddanbrown Jun 12, 2023
b01bbf9
Page Drafts: Added new "Delete Draft" action to draft menu
ssddanbrown Jun 13, 2023
f7ad387
CSS: Updated status colors to be CSS variables, Added dark variants
ssddanbrown Jun 13, 2023
56a40f1
Merge pull request #4301 from BookStackApp/css_color_variables
ssddanbrown Jun 13, 2023
321a459
Refactor exception handling by using interface
devdot Jun 13, 2023
34d8268
Refactor notify exception to clean up api exception handling
devdot Jun 14, 2023
610ad0d
Updated fonts to be defined via CSS variables
ssddanbrown Jun 14, 2023
70be2e8
CSS: Reduced styles used in export formats
ssddanbrown Jun 14, 2023
e72cf61
Exceptions: Added some types, simplified some classes
ssddanbrown Jun 15, 2023
ec775ae
Merge branch 'fix-api-404' into development
ssddanbrown Jun 15, 2023
c35080d
Modify HttpFetchException handle to log exception
devdot Jun 14, 2023
7249d94
Change JsonDebugException to Responsable interface
devdot Jun 14, 2023
74097bd
Simplify ApiAuthException control flow
devdot Jun 14, 2023
9a2ef7e
Comments: Added read-only listing into page editor
ssddanbrown Jun 16, 2023
88aae5b
Comments: Fixed failing tests due to unset template variable
ssddanbrown Jun 16, 2023
9f4450f
Merge pull request #4322 from BookStackApp/comments_in_editor
ssddanbrown Jun 16, 2023
00b5dd7
Users API: Fixed incorrect created_at date on index endpoint
ssddanbrown Jun 17, 2023
eb44748
Merge branch 'development' of github.com:BookStackApp/BookStack into …
ssddanbrown Jun 17, 2023
22fc720
Merge pull request #4318 from devdot/improve-json-debug-exception
ssddanbrown Jun 18, 2023
97d46f4
Revert some changes to HttpFetchException
devdot Jun 19, 2023
f5396ec
Merge pull request #4317 from devdot/http-fetch-improve-exception-log…
ssddanbrown Jun 20, 2023
41c3ed1
Content Permissions API: Fixed param combination bug
ssddanbrown Jun 20, 2023
8b935e7
Pages API: Made raw_html available on page responses
ssddanbrown Jun 20, 2023
4bb2cf5
Pages API: Added extra helper text to read endpoint
ssddanbrown Jun 20, 2023
38883e8
API Docs: Allowed multi-paragraph descriptions
ssddanbrown Jun 20, 2023
0a485ba
Merge pull request #4332 from BookStackApp/api_docs_tweaks
ssddanbrown Jun 20, 2023
9ae17ef
Shelf view: Updated books to be database sorted
ssddanbrown Jun 23, 2023
dbb6c87
Mail Config: Updated how TLS is configured
ssddanbrown Jun 24, 2023
c74a260
Updated php dependencies
ssddanbrown Jun 24, 2023
847a57a
Shelf permissions: Removed unused 'create' permission from view
ssddanbrown Jun 25, 2023
bae0e80
Merge pull request #4320 from devdot/improve-api-auth-exception
ssddanbrown Jun 25, 2023
e43d85b
API Docs: Remove id from Tag in Response
devdot Jun 26, 2023
e478707
API Docs: Add Missing Type in Response
devdot Jun 26, 2023
b242460
CSS: Tweaked css heading font to fall back to body font
ssddanbrown Jun 28, 2023
7f98906
Comments: Tweaked design to be more consistent and compact
ssddanbrown Jun 28, 2023
63f0304
Updated translations with latest Crowdin changes (#4256)
ssddanbrown Jun 28, 2023
b425d0f
Updated tinymce to v6.5.1
ssddanbrown Jun 28, 2023
5ea2d0c
WYSIWYG: Fixed growing rows on Firefox
ssddanbrown Jun 28, 2023
d23cfc3
Updated test to match German translation
ssddanbrown Jun 28, 2023
ca2d2c9
API Docs: Add User Slugs to Example Responses
devdot Jun 30, 2023
3a39f13
API Docs: Remove Dates from Tags in Example Responses
devdot Jun 30, 2023
23ae332
API Docs: Sort a few example responses
devdot Jun 30, 2023
ccfe38e
API Docs: Add book_slug to Example Responses
devdot Jun 30, 2023
174cd5a
API Docs: Add Missing editor fields in Example Responses
devdot Jun 30, 2023
d293171
API Docs: Add Missing Fields in Example Responses
devdot Jun 30, 2023
8063514
Meta: Updated dev version and translation attribution
ssddanbrown Jun 30, 2023
becc630
Merge branch 'development' into release
ssddanbrown Jun 30, 2023
bbea766
Updated version and assets for release v23.06
ssddanbrown Jun 30, 2023
465989e
Mail: Updated to forked symfony/mailer to allow assurance of tls
ssddanbrown Jul 4, 2023
1a56de6
Testing: Split out role tests to management and permissions
ssddanbrown Jul 4, 2023
18ee80a
Roles: fixed error upon created_at sorting
ssddanbrown Jul 4, 2023
96819b7
Images: Updated image timestamp upon file change
ssddanbrown Jul 5, 2023
eb2c5d0
Audit log: Added IP address wrapping
ssddanbrown Jul 5, 2023
e04a1af
Merge pull request #4344 from devdot/update-api-docs
ssddanbrown Jul 5, 2023
bf5e886
Updated translations with latest Crowdin changes (#4352)
ssddanbrown Jul 5, 2023
18979e8
Updated tranlsator attribution and sponsors
ssddanbrown Jul 5, 2023
2f9c1b7
Merge branch 'development' into release
ssddanbrown Jul 5, 2023
a9194ff
Updated version and assets for release v23.06.1
ssddanbrown Jul 5, 2023
a831501
Webhooks: Fixed failing delete-based events
ssddanbrown Jul 12, 2023
ae83405
Shelf permissions: reverted create removal
ssddanbrown Jul 12, 2023
fca1886
Updated translations with latest Crowdin changes (#4367)
ssddanbrown Jul 12, 2023
7504ad3
Updated translator attribution before release v23.06.2
ssddanbrown Jul 12, 2023
a14d8e3
Merge branch 'development' into release
ssddanbrown Jul 12, 2023
f563a00
Updated version and assets for release v23.06.2
ssddanbrown Jul 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ [email protected]
# SMTP mail options
# These settings can be checked using the "Send a Test Email"
# feature found in the "Settings > Maintenance" area of the system.
# For more detailed documentation on mail options, refer to:
# https://www.bookstackapp.com/docs/admin/email-webhooks/#email-configuration
MAIL_HOST=localhost
MAIL_PORT=1025
MAIL_PORT=587
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
24 changes: 16 additions & 8 deletions .env.example.complete
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# Each option is shown with it's default value.
# Do not copy this whole file to use as your '.env' file.

# The details here only serve as a quick reference.
# Please refer to the BookStack documentation for full details:
# https://www.bookstackapp.com/docs/

# Application environment
# Can be 'production', 'development', 'testing' or 'demo'
APP_ENV=production
Expand Down Expand Up @@ -65,22 +69,19 @@ DB_PASSWORD=database_user_password
# certificate itself (Common Name or Subject Alternative Name).
MYSQL_ATTR_SSL_CA="/path/to/ca.pem"

# Mail system to use
# Can be 'smtp' or 'sendmail'
# Mail configuration
# Refer to https://www.bookstackapp.com/docs/admin/email-webhooks/#email-configuration
MAIL_DRIVER=smtp

# Mail sending options
[email protected]
MAIL_FROM_NAME=BookStack

# SMTP mail options
MAIL_HOST=localhost
MAIL_PORT=1025
MAIL_PORT=587
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_VERIFY_SSL=true

# Command to use when email is sent via sendmail
MAIL_SENDMAIL_COMMAND="/usr/sbin/sendmail -bs"

# Cache & Session driver to use
Expand Down Expand Up @@ -322,6 +323,13 @@ FILE_UPLOAD_SIZE_LIMIT=50
# Can be 'a4' or 'letter'.
EXPORT_PAGE_SIZE=a4

# Set path to wkhtmltopdf binary for PDF generation.
# Can be 'false' or a path path like: '/home/bins/wkhtmltopdf'
# When false, BookStack will attempt to find a wkhtmltopdf in the application
# root folder then fall back to the default dompdf renderer if no binary exists.
# Only used if 'ALLOW_UNTRUSTED_SERVER_FETCHING=true' which disables security protections.
WKHTMLTOPDF=false

# Allow <script> tags in page content
# Note, if set to 'true' the page editor may still escape scripts.
ALLOW_CONTENT_SCRIPTS=false
Expand Down Expand Up @@ -372,4 +380,4 @@ LOG_FAILED_LOGIN_CHANNEL=errorlog_plain_webserver
# IP address '146.191.42.4' would result in '146.191.x.x' being logged.
# For the IPv6 address '2001:db8:85a3:8d3:1319:8a2e:370:7348' this would result as:
# '2001:db8:85a3:8d3:x:x:x:x'
IP_ADDRESS_PRECISION=4
IP_ADDRESS_PRECISION=4
24 changes: 24 additions & 0 deletions .github/translators.txt
Original file line number Diff line number Diff line change
Expand Up @@ -320,3 +320,27 @@ kostasdizas :: Greek
Ricardo Schroeder (brownstone666) :: Portuguese, Brazilian
Eitan MG (EitanMG) :: Hebrew
Robin Flikkema (RobinFlikkema) :: Dutch
Michal Gurcik (mgurcik) :: Slovak
Pooyan Arab (pooyanarab) :: Persian
Ochi Darma Putra (troke12) :: Indonesian
H.-H. Peng (Hsins) :: Chinese Traditional
Mosi Wang (mosiwang) :: Chinese Traditional
骆言 (LawssssCat) :: Chinese Simplified
Stickers Gaming Shøw (StickerSGSHOW) :: French
Le Van Chinh (Chino) (lvanchinh86) :: Vietnamese
Rubens nagios (rubenix) :: Catalan
Patrick Dantas (pa-tiq) :: Portuguese, Brazilian
Michal (michalgurcik) :: Slovak
Nepomacs :: German
Rubens (rubenix) :: Catalan
m4z :: German; German Informal
TheRazvy :: Romanian
Yossi Zilber (lortens) :: Hebrew; Uzbek
desdinova :: French
Ingus Rūķis (ingus.rukis) :: Latvian
Eugene Pershin (SilentEugene) :: Russian
周盛道 (zhoushengdao) :: Chinese Simplified
hamidreza amini (hamidrezaamini2022) :: Persian
Tomislav Kraljević (tomislav.kraljevic) :: Croatian
Taygun Yıldırım (yildirimtaygun) :: Turkish
robing29 :: German
16 changes: 16 additions & 0 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: lint-js

on: [push, pull_request]

jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1

- name: Install NPM deps
run: npm ci

- name: Run formatting check
run: npm run lint
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/vendor
/node_modules
/.vscode
/composer
Homestead.yaml
.env
.idea
Expand All @@ -21,8 +23,10 @@ yarn.lock
nbproject
.buildpath
.project
.nvmrc
.settings/
webpack-stats.json
.phpunit.result.cache
.DS_Store
phpstan.neon
phpstan.neon
esbuild-meta.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Auth\Access\EmailConfirmationService;
use BookStack\Auth\Access\LoginService;
use BookStack\Auth\UserRepo;
use BookStack\Access\EmailConfirmationService;
use BookStack\Access\LoginService;
use BookStack\Exceptions\ConfirmationEmailException;
use BookStack\Exceptions\UserTokenExpiredException;
use BookStack\Exceptions\UserTokenNotFoundException;
use BookStack\Http\Controllers\Controller;
use BookStack\Http\Controller;
use BookStack\Users\UserRepo;
use Exception;
use Illuminate\Http\Request;

class ConfirmEmailController extends Controller
{
protected EmailConfirmationService $emailConfirmationService;
protected LoginService $loginService;
protected UserRepo $userRepo;

/**
* Create a new controller instance.
*/
public function __construct(
EmailConfirmationService $emailConfirmationService,
LoginService $loginService,
UserRepo $userRepo
protected EmailConfirmationService $emailConfirmationService,
protected LoginService $loginService,
protected UserRepo $userRepo
) {
$this->emailConfirmationService = $emailConfirmationService;
$this->loginService = $loginService;
$this->userRepo = $userRepo;
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Actions\ActivityType;
use BookStack\Http\Controllers\Controller;
use BookStack\Activity\ActivityType;
use BookStack\Http\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Password;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Auth\Access\LoginService;
use BookStack\Auth\User;
use BookStack\Access\LoginService;
use BookStack\Exceptions\NotFoundException;
use BookStack\Users\Models\User;

trait HandlesPartialLogins
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Auth\Access\LoginService;
use BookStack\Auth\Access\SocialAuthService;
use BookStack\Access\LoginService;
use BookStack\Access\SocialAuthService;
use BookStack\Exceptions\LoginAttemptEmailNeededException;
use BookStack\Exceptions\LoginAttemptException;
use BookStack\Facades\Activity;
use BookStack\Http\Controllers\Controller;
use BookStack\Http\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Actions\ActivityType;
use BookStack\Auth\Access\LoginService;
use BookStack\Auth\Access\Mfa\BackupCodeService;
use BookStack\Auth\Access\Mfa\MfaSession;
use BookStack\Auth\Access\Mfa\MfaValue;
use BookStack\Access\LoginService;
use BookStack\Access\Mfa\BackupCodeService;
use BookStack\Access\Mfa\MfaSession;
use BookStack\Access\Mfa\MfaValue;
use BookStack\Activity\ActivityType;
use BookStack\Exceptions\NotFoundException;
use BookStack\Http\Controllers\Controller;
use BookStack\Http\Controller;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Validation\ValidationException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Actions\ActivityType;
use BookStack\Auth\Access\Mfa\MfaValue;
use BookStack\Http\Controllers\Controller;
use BookStack\Access\Mfa\MfaValue;
use BookStack\Activity\ActivityType;
use BookStack\Http\Controller;
use Illuminate\Http\Request;

class MfaController extends Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace BookStack\Http\Controllers\Auth;

use BookStack\Actions\ActivityType;
use BookStack\Auth\Access\LoginService;
use BookStack\Auth\Access\Mfa\MfaSession;
use BookStack\Auth\Access\Mfa\MfaValue;
use BookStack\Auth\Access\Mfa\TotpService;
use BookStack\Auth\Access\Mfa\TotpValidationRule;
namespace BookStack\Access\Controllers;

use BookStack\Access\LoginService;
use BookStack\Access\Mfa\MfaSession;
use BookStack\Access\Mfa\MfaValue;
use BookStack\Access\Mfa\TotpService;
use BookStack\Access\Mfa\TotpValidationRule;
use BookStack\Activity\ActivityType;
use BookStack\Exceptions\NotFoundException;
use BookStack\Http\Controllers\Controller;
use BookStack\Http\Controller;
use Illuminate\Http\Request;
use Illuminate\Validation\ValidationException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Auth\Access\Oidc\OidcException;
use BookStack\Auth\Access\Oidc\OidcService;
use BookStack\Http\Controllers\Controller;
use BookStack\Access\Oidc\OidcException;
use BookStack\Access\Oidc\OidcService;
use BookStack\Http\Controller;
use Illuminate\Http\Request;

class OidcController extends Controller
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Auth\Access\LoginService;
use BookStack\Auth\Access\RegistrationService;
use BookStack\Auth\Access\SocialAuthService;
use BookStack\Access\LoginService;
use BookStack\Access\RegistrationService;
use BookStack\Access\SocialAuthService;
use BookStack\Exceptions\StoppedAuthenticationException;
use BookStack\Exceptions\UserRegistrationException;
use BookStack\Http\Controllers\Controller;
use BookStack\Http\Controller;
use Illuminate\Contracts\Validation\Validator as ValidatorContract;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Actions\ActivityType;
use BookStack\Auth\Access\LoginService;
use BookStack\Auth\User;
use BookStack\Http\Controllers\Controller;
use BookStack\Access\LoginService;
use BookStack\Activity\ActivityType;
use BookStack\Http\Controller;
use BookStack\Users\Models\User;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Auth\Access\Saml2Service;
use BookStack\Http\Controllers\Controller;
use BookStack\Access\Saml2Service;
use BookStack\Http\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Str;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Auth\Access\LoginService;
use BookStack\Auth\Access\RegistrationService;
use BookStack\Auth\Access\SocialAuthService;
use BookStack\Access\LoginService;
use BookStack\Access\RegistrationService;
use BookStack\Access\SocialAuthService;
use BookStack\Exceptions\SocialDriverNotConfigured;
use BookStack\Exceptions\SocialSignInAccountNotUsed;
use BookStack\Exceptions\SocialSignInException;
use BookStack\Exceptions\UserRegistrationException;
use BookStack\Http\Controllers\Controller;
use BookStack\Http\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use Laravel\Socialite\Contracts\User as SocialUser;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use Illuminate\Cache\RateLimiter;
use Illuminate\Http\Request;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace BookStack\Http\Controllers\Auth;
namespace BookStack\Access\Controllers;

use BookStack\Auth\Access\UserInviteService;
use BookStack\Auth\UserRepo;
use BookStack\Access\UserInviteService;
use BookStack\Exceptions\UserTokenExpiredException;
use BookStack\Exceptions\UserTokenNotFoundException;
use BookStack\Http\Controllers\Controller;
use BookStack\Http\Controller;
use BookStack\Users\UserRepo;
use Exception;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
Expand Down
Loading