]> BookStack Code Mirror - bookstack/log
bookstack
6 years agoswitch spaces to tabs 1096/head
Christopher Tran [Sat, 27 Oct 2018 21:05:46 +0000 (17:05 -0400)]
switch spaces to tabs

6 years agofix how the option is set, change handle to NULL
Christopher Tran [Sat, 27 Oct 2018 20:58:10 +0000 (16:58 -0400)]
fix how the option is set, change handle to NULL

6 years agoAdd ability to disable LDAP certificate validation
Christopher Tran [Sat, 27 Oct 2018 20:14:19 +0000 (16:14 -0400)]
Add ability to disable LDAP certificate validation

6 years agoUpdate zh_TW translation 1088/head
Kej [Thu, 25 Oct 2018 03:38:49 +0000 (11:38 +0800)]
Update zh_TW translation

6 years agoUpdate german translation 1072/head
CliffyPrime [Wed, 17 Oct 2018 21:44:13 +0000 (23:44 +0200)]
Update german translation

Started working on updating / completing the german translation files, as some recent changes (shelves etc.) are not yet translated. Also changed some wordings to better fit into the flow and word order of the german language. Started with two small files, will do more soon...

6 years agochange config/app.php to add korean 1066/head
codev-kuk-mac [Mon, 15 Oct 2018 07:39:16 +0000 (16:39 +0900)]
change config/app.php to add korean

6 years agotranslate complate
codev-kuk-mac [Mon, 15 Oct 2018 07:36:11 +0000 (16:36 +0900)]
translate complate

6 years agoAdded Google select account functionality to login
Justin Stein [Sat, 13 Oct 2018 22:14:06 +0000 (15:14 -0700)]
Added Google select account functionality to login

6 years agoAdded environment variable for google select account option.
Justin Stein [Sat, 13 Oct 2018 21:50:58 +0000 (14:50 -0700)]
Added environment variable for google select account option.

6 years agoRevert "Added else clause"
Justin Stein [Sat, 13 Oct 2018 21:31:29 +0000 (14:31 -0700)]
Revert "Added else clause"

This reverts commit 77d7f764f1321fda7a2731c8c7ef50cecdea1af8.

6 years agoWrap images inserted with markdown editor with anchor tag to original file ref #1062 1064/head
Thomas Jensen [Sat, 13 Oct 2018 19:43:35 +0000 (21:43 +0200)]
Wrap images inserted with markdown editor with anchor tag to original file ref #1062

6 years agoExtracted many page-specific repo methods into page-specific repo
Dan Brown [Sat, 13 Oct 2018 10:27:55 +0000 (11:27 +0100)]
Extracted many page-specific repo methods into page-specific repo

6 years agoAdded else clause
justein230 [Sat, 13 Oct 2018 05:50:02 +0000 (22:50 -0700)]
Added else clause

6 years agoAdd select account parameter for google authorization
Justin Stein [Fri, 12 Oct 2018 18:52:13 +0000 (11:52 -0700)]
Add select account parameter for google authorization

Useful for choosing an account if a default account is outside the scope of a G Suite organization.

6 years agosettings - completed
codev-kuk-mac [Fri, 12 Oct 2018 08:22:29 +0000 (17:22 +0900)]
settings - completed
entities - Some edits done

6 years agotranslate entities, setting
codev-kuk-mac [Fri, 12 Oct 2018 07:06:08 +0000 (16:06 +0900)]
translate entities, setting

6 years agoInclude Korean in settings
codev-kuk-mac [Fri, 12 Oct 2018 07:05:28 +0000 (16:05 +0900)]
Include Korean in settings

6 years agodone validation
codev-kuk-mac [Fri, 12 Oct 2018 07:04:57 +0000 (16:04 +0900)]
done validation

6 years ago3개 번역
codev-kuk-mac [Fri, 12 Oct 2018 06:13:27 +0000 (15:13 +0900)]
3개 번역

6 years agotranslate kr 50/100
codev-kuk-mac [Fri, 5 Oct 2018 02:24:24 +0000 (11:24 +0900)]
translate kr 50/100

6 years agotranslate to kr 20/100
codev-kuk-mac [Fri, 5 Oct 2018 01:24:37 +0000 (10:24 +0900)]
translate to kr 20/100

6 years agoFixes "bookshelf" pt_BR translation in "activities" 1034/head
André Luiz da Silva [Fri, 28 Sep 2018 19:27:26 +0000 (16:27 -0300)]
Fixes "bookshelf" pt_BR translation in "activities"

6 years agoAdds missing "settings" pt_BR translations
André Luiz da Silva [Fri, 28 Sep 2018 19:26:01 +0000 (16:26 -0300)]
Adds missing "settings" pt_BR translations

6 years agoAdds missing "errors" pt_BR translations
André Luiz da Silva [Fri, 28 Sep 2018 19:19:06 +0000 (16:19 -0300)]
Adds missing "errors" pt_BR translations

6 years agoAdds missing "entities" pt_BR translations
André Luiz da Silva [Fri, 28 Sep 2018 19:18:14 +0000 (16:18 -0300)]
Adds missing "entities" pt_BR translations

6 years agoAdds missing "common" pt_BR translations
André Luiz da Silva [Thu, 27 Sep 2018 00:54:16 +0000 (21:54 -0300)]
Adds missing "common" pt_BR translations

6 years agoAdds missing "activities" pt_BR translations
André Luiz da Silva [Thu, 27 Sep 2018 00:51:34 +0000 (21:51 -0300)]
Adds missing "activities" pt_BR translations

6 years agoUpdated various classes to take EntityProvider instead of separate entities
Dan Brown [Tue, 25 Sep 2018 17:00:40 +0000 (18:00 +0100)]
Updated various classes to take EntityProvider instead of separate entities

6 years agoFleshed out entity provided and optimized imports
Dan Brown [Tue, 25 Sep 2018 15:58:03 +0000 (16:58 +0100)]
Fleshed out entity provided and optimized imports

6 years agoRe-structured the app code to be feature based rather than code type based
Dan Brown [Tue, 25 Sep 2018 11:30:50 +0000 (12:30 +0100)]
Re-structured the app code to be feature based rather than code type based

6 years agoIncremented dev version
Dan Brown [Tue, 25 Sep 2018 09:00:09 +0000 (10:00 +0100)]
Incremented dev version

6 years agoAdded null role check to migrate path
Dan Brown [Mon, 24 Sep 2018 15:30:08 +0000 (16:30 +0100)]
Added null role check to migrate path

Also added check for existing bookshelf role_permissions
in the event the user got that for.
Also related to #1027

6 years agoUpdated migration to convert MyISAM tables to InnoDB
Dan Brown [Mon, 24 Sep 2018 14:58:40 +0000 (15:58 +0100)]
Updated migration to convert MyISAM tables to InnoDB

New bookshelves_books tables requires foreign constraints which error on MyISAM.
For #1027

6 years agoMerge pull request #1026 from vriic/master
Dan Brown [Mon, 24 Sep 2018 09:35:22 +0000 (10:35 +0100)]
Merge pull request #1026 from vriic/master

Update german translation

6 years agoUpdate german translation 1026/head
Nikolai Nikolajevic [Mon, 24 Sep 2018 07:55:37 +0000 (09:55 +0200)]
Update german translation

6 years agoMerge pull request #1025 from moucho/master
Dan Brown [Sun, 23 Sep 2018 16:18:41 +0000 (17:18 +0100)]
Merge pull request #1025 from moucho/master

Spanish translation

6 years agoSpanish translation 1025/head
Marcos [Sun, 23 Sep 2018 15:31:41 +0000 (17:31 +0200)]
Spanish translation

6 years agoMade search test a little more consistent
Dan Brown [Sun, 23 Sep 2018 14:15:44 +0000 (15:15 +0100)]
Made search test a little more consistent

6 years agoUpdated TinyMCE config to end containers on empty blocks
Dan Brown [Sun, 23 Sep 2018 13:07:50 +0000 (14:07 +0100)]
Updated TinyMCE config to end containers on empty blocks

Makes it easier to escape out of blockquote sections.
Fixes #961

6 years agoRemoved search indexing from migration path to prevent Bookshelf issue
Dan Brown [Sun, 23 Sep 2018 12:24:58 +0000 (13:24 +0100)]
Removed search indexing from migration path to prevent Bookshelf issue

6 years agoAdded Bookshelves to search system.
Dan Brown [Sun, 23 Sep 2018 11:34:30 +0000 (12:34 +0100)]
Added Bookshelves to search system.

Also cleaned up and made search indexing system a little more efficient.
Closes #1023

6 years agoRemoved old fulltext indexes from migrations
Dan Brown [Sat, 22 Sep 2018 23:30:48 +0000 (00:30 +0100)]
Removed old fulltext indexes from migrations

Prevents forcing of MyISAM for some databases
Removed old code to add indexes and added checks for existing indexes before removal.
Should still allow upgrades, rollbacks to old bookstack versions may be funky but
should not be high use-case.

6 years agoExtracted search sidebar text to translation file
Dan Brown [Sat, 22 Sep 2018 22:40:04 +0000 (23:40 +0100)]
Extracted search sidebar text to translation file

Closes #864

6 years agoMade it possible to scroll past the end of the markdown editor
Dan Brown [Sat, 22 Sep 2018 22:24:51 +0000 (23:24 +0100)]
Made it possible to scroll past the end of the markdown editor

Closes #1020

6 years agoPrevented TinyMCE clear-color option having scrollbar
Dan Brown [Sat, 22 Sep 2018 22:12:39 +0000 (23:12 +0100)]
Prevented TinyMCE clear-color option having scrollbar

Was covering the option if showing and prevented the option being pressed.
Fixes #999

6 years agoUpdated tinymce to v4.8.3
Dan Brown [Sat, 22 Sep 2018 21:58:06 +0000 (22:58 +0100)]
Updated tinymce to v4.8.3

6 years agoMerge branch 'fix/ru-locale' of git://github.com/mullinsmikey/BookStack into mullinsm...
Dan Brown [Sat, 22 Sep 2018 21:29:03 +0000 (22:29 +0100)]
Merge branch 'fix/ru-locale' of git://github.com/mullinsmikey/BookStack into mullinsmikey-fix/ru-locale

6 years agoPrevented attachDefaultRole from trying to re-attach if already existing
Dan Brown [Sat, 22 Sep 2018 21:09:34 +0000 (22:09 +0100)]
Prevented attachDefaultRole from trying to re-attach if already existing

Fixes #1003
Added test to cover

6 years agoMerge pull request #1021 from moucho/master
Dan Brown [Sat, 22 Sep 2018 20:43:19 +0000 (21:43 +0100)]
Merge pull request #1021 from moucho/master

Spanish translation

6 years agoSpanish translation 1021/head
Marcos [Sat, 22 Sep 2018 16:36:52 +0000 (18:36 +0200)]
Spanish translation

6 years agoAdded ability to configure revision limit
Dan Brown [Sat, 22 Sep 2018 16:30:42 +0000 (17:30 +0100)]
Added ability to configure revision limit

6 years agoTried to make chapter toggles a little smoother in FF 1009/head
Dan Brown [Sat, 22 Sep 2018 15:36:35 +0000 (16:36 +0100)]
Tried to make chapter toggles a little smoother in FF

6 years agoMerge branch 'master' into fix/#960
Dan Brown [Sat, 22 Sep 2018 14:57:53 +0000 (15:57 +0100)]
Merge branch 'master' into fix/#960

6 years agoFixed sidebar rubber-banding when content is expanded
Dan Brown [Sat, 22 Sep 2018 14:52:09 +0000 (15:52 +0100)]
Fixed sidebar rubber-banding when content is expanded

Hopefully for #905
Ideally layout needs to be re-thought

6 years agoOnly show codeblock copy icon on hover
Dan Brown [Sat, 22 Sep 2018 13:55:33 +0000 (14:55 +0100)]
Only show codeblock copy icon on hover

Fixes #980

6 years agoMerge pull request #986 from DeehSlash/fix/pt_br_locale
Dan Brown [Sat, 22 Sep 2018 13:40:23 +0000 (14:40 +0100)]
Merge pull request #986 from DeehSlash/fix/pt_br_locale

Adds and fixes pt_BR strings

6 years agoAdded base RTL support
Dan Brown [Sat, 22 Sep 2018 12:18:26 +0000 (13:18 +0100)]
Added base RTL support

For #939

- Adds way to check if current language is RTL via config system.
- Made TinyMCE default direction be based on current language text
direction.
- Fixed bullet points to be RTL compatible.
- Set page content body to have direction based on content.

6 years agoMerge branch 'master' of git://github.com/kmoj86/BookStack into kmoj86-master
Dan Brown [Sat, 22 Sep 2018 11:23:17 +0000 (12:23 +0100)]
Merge branch 'master' of git://github.com/kmoj86/BookStack into kmoj86-master

6 years agoAdded custom head content to exports
Dan Brown [Sat, 22 Sep 2018 10:53:40 +0000 (11:53 +0100)]
Added custom head content to exports

Closes #981

Also fixed incorrect download tests.

6 years agoMade bookstack cookie name configurable
Dan Brown [Sat, 22 Sep 2018 10:41:46 +0000 (11:41 +0100)]
Made bookstack cookie name configurable

Closes #1018

6 years agoExtracted download response logic into controller method
Dan Brown [Sat, 22 Sep 2018 10:34:09 +0000 (11:34 +0100)]
Extracted download response logic into controller method

Fixes incorrect 'Content-Disposition' header value.
Fixes #581

6 years agoFixed formatting via phpcbf
Dan Brown [Fri, 21 Sep 2018 17:48:47 +0000 (18:48 +0100)]
Fixed formatting via phpcbf

6 years agoAltered social auto-reg to be configurable per service
Dan Brown [Fri, 21 Sep 2018 17:05:06 +0000 (18:05 +0100)]
Altered social auto-reg to be configurable per service

- Added {$service}_AUTO_REGISTER and {$service}_AUTO_CONFIRM_EMAIL env
options for each social auth system.
- Auto-register will allow registration from login, even if registration
is disabled.
- Auto-confirm-email indicates trust and will mark new registrants as
'email_confirmed' and skip 'confirmation email' flow.
- Also added covering tests.

6 years agoMerge branch 'feature/autoregistration_social_login' of git://github.com/ibrahimennaf...
Dan Brown [Fri, 21 Sep 2018 15:14:52 +0000 (16:14 +0100)]
Merge branch 'feature/autoregistration_social_login' of git://github.com/ibrahimennafaa/BookStack into ibrahimennafaa-feature/autoregistration_social_login

6 years agoMerge pull request #947 from BookStackApp/bookshelves
Dan Brown [Fri, 21 Sep 2018 14:29:52 +0000 (15:29 +0100)]
Merge pull request #947 from BookStackApp/bookshelves

Bookshelves

6 years agoUpdated 404 test to not fail based on random long name 947/head
Dan Brown [Fri, 21 Sep 2018 14:24:29 +0000 (15:24 +0100)]
Updated 404 test to not fail based on random long name

6 years agoAdded testing coverage for Bookshelves
Dan Brown [Fri, 21 Sep 2018 14:15:16 +0000 (15:15 +0100)]
Added testing coverage for Bookshelves

Created modified TestResponse so we can use DOM operations in new
Testcases as we move away from the BrowserKit tests.

6 years agoUpdated so permission effect admins more
Dan Brown [Thu, 20 Sep 2018 18:48:08 +0000 (19:48 +0100)]
Updated so permission effect admins more

Asset permissions can now be configured for admins.
joint_permissions will now effect admins more often.
Made so shelves header link will hide if you have no bookshelves view
permission.

6 years agoAdded bookshelf permission control UI and copy-down ability
Dan Brown [Thu, 20 Sep 2018 18:16:11 +0000 (19:16 +0100)]
Added bookshelf permission control UI and copy-down ability

6 years agoRemoved joint_permission generation in older migration
Dan Brown [Thu, 20 Sep 2018 15:03:01 +0000 (16:03 +0100)]
Removed joint_permission generation in older migration

6 years agoAdded bookshelves homepage options
Dan Brown [Thu, 20 Sep 2018 14:27:30 +0000 (15:27 +0100)]
Added bookshelves homepage options

- Updated homepage selection UI to be more scalable
- Cleaned homepage selection logic in code
- Added seed test data for bookshelves
- Added bookshelves to permission system

6 years agoAdded bookshelf view, update, delete
Dan Brown [Sun, 16 Sep 2018 18:34:09 +0000 (19:34 +0100)]
Added bookshelf view, update, delete

- Enabled proper ordering of Books in a shelf.
- Improved related item destroy for all entities.

6 years agoMerge pull request #1008 from BookStackApp/revision-deletion
Abijeet Patro [Sun, 16 Sep 2018 16:00:04 +0000 (21:30 +0530)]
Merge pull request #1008 from BookStackApp/revision-deletion

#784 - Adds ability to remove particular revision.

6 years agoAdded ability to click books in shelf-sort
Dan Brown [Sun, 16 Sep 2018 15:59:01 +0000 (16:59 +0100)]
Added ability to click books in shelf-sort

6 years agoChanges as per code review, and fixes failing test cases. 1008/head
Abijeet [Sun, 16 Sep 2018 15:14:09 +0000 (20:44 +0530)]
Changes as per code review, and fixes failing test cases.

Signed-off-by: Abijeet <redacted>
6 years agoFixes issue wth the dropdown list upon double clicking.
Abijeet [Sun, 16 Sep 2018 07:39:21 +0000 (13:09 +0530)]
Fixes issue wth the dropdown list upon double clicking.

Closes #960

Signed-off-by: Abijeet <redacted>
6 years agoFinal tweaks after code review and fixing failing test cases.
Abijeet [Sat, 15 Sep 2018 19:42:36 +0000 (01:12 +0530)]
Final tweaks after code review and fixing failing test cases.

6 years agoRemoves the BadRequestException class added earlier.
Abijeet [Sat, 15 Sep 2018 15:38:00 +0000 (21:08 +0530)]
Removes the BadRequestException class added earlier.

Signed-off-by: Abijeet <redacted>
6 years agoAdds tests and few fixes.
Abijeet [Sat, 15 Sep 2018 15:35:51 +0000 (21:05 +0530)]
Adds tests and few fixes.

Signed-off-by: Abijeet <redacted>
6 years agoAdded a success message on deletion of revision.
Abijeet [Sat, 15 Sep 2018 10:38:20 +0000 (16:08 +0530)]
Added a success message on deletion of revision.

Signed-off-by: Abijeet <redacted>
6 years agoAdding languages for the revision deletion.
Abijeet [Sat, 15 Sep 2018 09:46:04 +0000 (15:16 +0530)]
Adding languages for the revision deletion.

6 years agoAdds code to delete the revision.
Abijeet [Sat, 15 Sep 2018 09:45:42 +0000 (15:15 +0530)]
Adds code to delete the revision.

Signed-off-by: Abijeet <redacted>
6 years agoUTF-8 slugs & UI fixes 1002/head
Michael Mullins [Tue, 11 Sep 2018 18:42:25 +0000 (22:42 +0400)]
UTF-8 slugs & UI fixes

6 years agoRu locale fix
Michael Mullins [Mon, 10 Sep 2018 18:28:47 +0000 (22:28 +0400)]
Ru locale fix

Fixed russian translations, added several missing strings

6 years agoCopied book content, Added create routes
Dan Brown [Mon, 27 Aug 2018 13:18:09 +0000 (14:18 +0100)]
Copied book content, Added create routes

Added view control
Added pivot table for books relation
Added control to assign books

6 years agoAdds and fixes pt_BR strings 986/head
André Luiz da Silva [Fri, 24 Aug 2018 19:03:04 +0000 (16:03 -0300)]
Adds and fixes pt_BR strings

6 years agoadd missing @param in method comment 966/head
Ibrahim Ennafaa [Tue, 21 Aug 2018 16:44:42 +0000 (12:44 -0400)]
add missing @param in method comment

6 years agoUpdate UserRepo.php
Ibrahim Ennafaa [Tue, 21 Aug 2018 01:19:25 +0000 (21:19 -0400)]
Update UserRepo.php

6 years agoFixed LDAP group sync using wrong user filter
Dan Brown [Sun, 19 Aug 2018 14:24:42 +0000 (15:24 +0100)]
Fixed LDAP group sync using wrong user filter

LDAP group sync was trying to find users based on the external_auth_id
which is not garunteed to match the username entered so somtimes
the search for a user would fail.

This passes the username to the group sync.
Picked up by @yoyokko in #959.

6 years agoattempt to fix unit test error for admin creation
Ibrahim Ennafaa [Thu, 16 Aug 2018 21:52:16 +0000 (21:52 +0000)]
attempt to fix unit test error for admin creation

6 years agoimplement social auto registration feature
Dan Brown [Sun, 29 Jul 2018 19:28:49 +0000 (20:28 +0100)]
implement social auto registration feature

6 years agoMerge pull request #957 from moucho/master
Dan Brown [Sun, 12 Aug 2018 13:20:53 +0000 (14:20 +0100)]
Merge pull request #957 from moucho/master

Updated Spanish translation

6 years agoUpdated composer dependancies
Dan Brown [Sun, 12 Aug 2018 12:42:17 +0000 (13:42 +0100)]
Updated composer dependancies

6 years agoAdded test to cover new language autodetect config option
Dan Brown [Sun, 12 Aug 2018 12:34:14 +0000 (13:34 +0100)]
Added test to cover new language autodetect config option

6 years agoFixed incorrect type error in LDAP group sync
Dan Brown [Sun, 12 Aug 2018 12:28:40 +0000 (13:28 +0100)]
Fixed incorrect type error in LDAP group sync

Should fix #951

6 years agoUpdated Spanish translation 957/head
Marcos [Sun, 12 Aug 2018 12:14:56 +0000 (14:14 +0200)]
Updated Spanish translation

6 years agoTweaked bug report template to request hosting method
Dan Brown [Sun, 12 Aug 2018 12:12:47 +0000 (13:12 +0100)]
Tweaked bug report template to request hosting method

6 years agoAdded option to disable public lang autodetect
Dan Brown [Sun, 12 Aug 2018 12:10:55 +0000 (13:10 +0100)]
Added option to disable public lang autodetect

Also cleaned up localization middleware a little.
Closes #944

6 years agoMerge pull request #942 from marcusforsberg/master
Dan Brown [Sun, 12 Aug 2018 11:51:00 +0000 (12:51 +0100)]
Merge pull request #942 from marcusforsberg/master

Updated Swedish translation

6 years agoMerge pull request #948 from houbaron/fix/Chinese_translation
Dan Brown [Sun, 12 Aug 2018 11:37:35 +0000 (12:37 +0100)]
Merge pull request #948 from houbaron/fix/Chinese_translation

Fix/Chinese translation