d41452f39c
Finished breakdown of attachment vue into components
2020-07-04 16:53:02 +01:00
14b6cd1091
Started migration of attachment manager from vue
...
- Created new dropzone component.
- Added standard component event system using custom DOM events.
- Added tabs component.
- Added ajax-delete-row component.
2020-06-30 22:12:45 +01:00
181ae6d055
Fixed tag-manager loading on entity-creation
2020-06-29 23:40:34 +01:00
573c4e26d5
Finished moving tag-manager from a vue to a component
...
Now tags load with the page, not via AJAX.
2020-06-29 22:11:03 +01:00
4e107b9160
Started migrating tag manager JS to HTML-first component
2020-06-28 23:15:05 +01:00
10305a4446
Converted entity-dash from vue to a component
2020-06-28 21:15:00 +01:00
a5fa745749
Moved overlay component, migrated code-editor & added features
...
- Moved Code-editor from vue to component.
- Updated popup code so it background click only hides if the click
originated on the same background. Clicks within the popup will no
longer cause it to hide.
- Added session-level history tracking to code editor.
2020-06-28 00:06:47 +01:00
afed379c5c
Merge pull request #2157 from Honvid/fix/lang_error
...
fix the translate error
2020-06-27 17:06:38 +01:00
d5de28c444
Merge branch 'use-dart-sass' of git://github.com/timoschwarzer/BookStack into timoschwarzer-use-dart-sass
2020-06-27 15:59:38 +01:00
715dee2d0e
Converted search filters to not be vue based
2020-06-27 13:29:00 +01:00
0f55d776a6
Replace node-sass with dart-sass
2020-06-26 12:44:41 +02:00
76d02cd472
Started attempt at formalising component system used in BookStack
...
Added a document to try to define things.
Updated the loading so components are registed dynamically.
Added some standardised ways to reference other elems & define options
2020-06-24 20:38:08 +01:00
118e31608a
fix the bug for lang's extra letter.
2020-06-16 11:44:08 +08:00
bf4a3b73f8
Updated listing endpoints to be clickable in api docs
2020-05-23 00:53:13 +01:00
9666c8c0f7
Updated shelf-list view to enforce view permissions for child books
...
- Aligned shelf-homepage behaviour to match
- Updated testing to cover.
For #2111
2020-05-12 22:21:45 +01:00
3c26e7b727
Updated comment md rendering to be server-side
2020-05-01 23:24:11 +01:00
2a2d0aa15b
Fixed incorrect color code causing yellow/orange code blocks
2020-04-29 18:28:26 +01:00
ce8cea6a9f
New Crowdin translations ( #2071 )
...
* New translations common.php (Korean)
* New translations settings.php (Korean)
2020-04-28 12:25:15 +01:00
6f2a2c05bf
New Crowdin translations ( #2028 )
...
* New translations settings.php (Chinese Simplified)
* New translations common.php (Spanish)
* New translations common.php (Spanish, Argentina)
* New translations common.php (Turkish)
* New translations common.php (French)
* New translations auth.php (Dutch)
* New translations common.php (Dutch)
* New translations entities.php (Dutch)
* New translations activities.php (Thai)
* New translations auth.php (Thai)
* New translations common.php (Thai)
* New translations components.php (Thai)
* New translations entities.php (Thai)
* New translations errors.php (Thai)
* New translations pagination.php (Thai)
* New translations passwords.php (Thai)
* New translations settings.php (Thai)
* New translations validation.php (Thai)
2020-04-28 10:19:42 +01:00
898d0b5817
Added multi-select to book-sort interface
...
As discussed in #2064
Closes #2067
2020-04-27 16:53:27 +01:00
4ef362143b
Added auto-focus behaviour to page editor
...
- Will focus on title if the value of the field matches the default text
for the current user's language.
- Otherwise will focus on the editor body.
- Added and tested on both editors.
For #2036
2020-04-27 15:54:39 +01:00
468fec80de
Updated WYSIWYG callout shortcut to handle child elems
...
- Will now search for a callout on/above the selected node rather than
only using the selected node.
- Issues previously where callout shortcut would not cycle if called
when child formatting was currently selected inside the callout.
For #2061
2020-04-26 09:26:41 +01:00
8fb1f7c361
Fixed floated content extending past page body
...
As shown in #2055
2020-04-25 19:59:23 +01:00
c20110b6ae
Fixed issue where callout and quotes overlap floated images
...
For #2055
2020-04-25 19:55:16 +01:00
a880b1d5c5
Fixed selection not visible - dark theme codemirror
...
Fixes #2060
2020-04-25 19:19:41 +01:00
687c4247ae
New Crowdin translations ( #2005 )
...
* New translations settings.php (Portuguese)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Russian)
* New translations settings.php (Korean)
* New translations settings.php (Persian)
* New translations settings.php (Polish)
* New translations settings.php (Swedish)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Turkish)
* New translations settings.php (Slovak)
* New translations settings.php (Slovenian)
* New translations settings.php (Spanish)
* New translations settings.php (Czech)
* New translations settings.php (Danish)
* New translations settings.php (Dutch)
* New translations settings.php (Arabic)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Italian)
* New translations settings.php (Hungarian)
* New translations settings.php (Japanese)
* New translations settings.php (French)
* New translations settings.php (German)
* New translations settings.php (Hebrew)
* New translations settings.php (German Informal)
* New translations settings.php (Vietnamese)
* New translations settings.php (Ukrainian)
* New translations activities.php (Turkish)
* New translations activities.php (Turkish)
* New translations auth.php (Turkish)
* New translations common.php (Turkish)
* New translations auth.php (Turkish)
* New translations components.php (Turkish)
* New translations common.php (Turkish)
* New translations components.php (Turkish)
* New translations entities.php (Turkish)
* New translations entities.php (Turkish)
* New translations errors.php (Turkish)
* New translations entities.php (Turkish)
* New translations passwords.php (Turkish)
* New translations settings.php (Turkish)
* New translations errors.php (Turkish)
* New translations settings.php (Turkish)
* New translations settings.php (Turkish)
* New translations validation.php (Turkish)
* New translations settings.php (Turkish)
* New translations validation.php (Turkish)
* New translations common.php (Turkish)
* New translations components.php (Turkish)
* New translations validation.php (Turkish)
* New translations components.php (Turkish)
* New translations entities.php (Turkish)
* New translations errors.php (Turkish)
* New translations settings.php (Turkish)
* New translations validation.php (Turkish)
* New translations passwords.php (Arabic)
* New translations auth.php (Arabic)
* New translations auth.php (Slovak)
* New translations passwords.php (Russian)
* New translations passwords.php (Slovak)
* New translations auth.php (Slovenian)
* New translations passwords.php (Slovenian)
* New translations auth.php (Spanish)
* New translations passwords.php (Portuguese, Brazilian)
* New translations passwords.php (Polish)
* New translations auth.php (Portuguese)
* New translations auth.php (Russian)
* New translations passwords.php (Portuguese)
* New translations auth.php (Portuguese, Brazilian)
* New translations auth.php (Ukrainian)
* New translations passwords.php (Ukrainian)
* New translations auth.php (Vietnamese)
* New translations passwords.php (Vietnamese)
* New translations auth.php (German Informal)
* New translations passwords.php (German Informal)
* New translations passwords.php (Turkish)
* New translations passwords.php (Spanish)
* New translations auth.php (Spanish, Argentina)
* New translations passwords.php (Spanish, Argentina)
* New translations auth.php (Swedish)
* New translations passwords.php (Swedish)
* New translations auth.php (Turkish)
* New translations components.php (Turkish)
* New translations entities.php (Turkish)
* New translations auth.php (Polish)
* New translations passwords.php (Danish)
* New translations auth.php (Dutch)
* New translations passwords.php (Dutch)
* New translations auth.php (Danish)
* New translations auth.php (French)
* New translations passwords.php (French)
* New translations auth.php (Chinese Simplified)
* New translations passwords.php (Chinese Simplified)
* New translations auth.php (Chinese Traditional)
* New translations passwords.php (Chinese Traditional)
* New translations auth.php (Czech)
* New translations passwords.php (Czech)
* New translations auth.php (German)
* New translations auth.php (Korean)
* New translations auth.php (Japanese)
* New translations passwords.php (Japanese)
* New translations passwords.php (Korean)
* New translations auth.php (Persian)
* New translations passwords.php (Persian)
* New translations passwords.php (Italian)
* New translations passwords.php (German)
* New translations auth.php (Hebrew)
* New translations passwords.php (Hebrew)
* New translations auth.php (Hungarian)
* New translations passwords.php (Hungarian)
* New translations auth.php (Italian)
* New translations entities.php (Turkish)
* New translations settings.php (Turkish)
* New translations validation.php (Turkish)
* New translations passwords.php (Turkish)
* New translations entities.php (Turkish)
* New translations errors.php (Turkish)
* New translations validation.php (Turkish)
* New translations auth.php (Turkish)
* New translations auth.php (Spanish)
* New translations passwords.php (Spanish)
* New translations settings.php (Spanish)
* New translations auth.php (Spanish, Argentina)
* New translations passwords.php (Spanish, Argentina)
* New translations entities.php (Turkish)
* New translations auth.php (French)
* New translations passwords.php (French)
* New translations settings.php (French)
* New translations common.php (Russian)
* New translations common.php (Slovak)
* New translations common.php (Slovenian)
* New translations common.php (Spanish)
* New translations common.php (Portuguese)
* New translations common.php (Polish)
* New translations common.php (Portuguese, Brazilian)
* New translations common.php (Ukrainian)
* New translations common.php (Vietnamese)
* New translations common.php (German Informal)
* New translations common.php (Spanish, Argentina)
* New translations common.php (Swedish)
* New translations common.php (Turkish)
* New translations common.php (Danish)
* New translations common.php (Dutch)
* New translations common.php (French)
* New translations common.php (Arabic)
* New translations common.php (Chinese Simplified)
* New translations common.php (Czech)
* New translations common.php (Chinese Traditional)
* New translations common.php (Japanese)
* New translations common.php (Italian)
* New translations common.php (Korean)
* New translations common.php (Persian)
* New translations common.php (German)
* New translations common.php (Hebrew)
* New translations common.php (Hungarian)
* New translations auth.php (Russian)
* New translations common.php (Russian)
* New translations passwords.php (Russian)
* New translations passwords.php (German)
* New translations settings.php (German)
* New translations auth.php (German)
* New translations common.php (German)
* New translations settings.php (German Informal)
* New translations passwords.php (German Informal)
* New translations common.php (German Informal)
* New translations auth.php (German Informal)
2020-04-13 15:31:35 +01:00
3a70e9d49c
Merge pull request #2023 from jzoy/master
...
fix Chinese translation error
2020-04-12 19:15:00 +01:00
88dfb40c63
Some further dark-mode fixes, added toggle to homepage
...
- Homepage toggle especially useful for not-logged-in users since they
do not have a dropdown.
2020-04-12 19:06:34 +01:00
50669e3f4a
Added tests and translations for dark-mode components
2020-04-11 20:44:23 +01:00
573c848d51
Added dark/light mode toggle to profile dropdown menu
...
- Also fixed some remaining areas which needed dark mode support.
2020-04-11 20:37:51 +01:00
d4b0e4acad
Removed throttling from web-end requests
...
Generally seems to cause issues when secure images are in use.
Was added during laravel upgrade but laravel does not use this directly
for its web middleware anyway.
2020-04-11 20:02:07 +01:00
b0b28e7b5e
Rolled dark mode out to the editors
...
- Updated editor, and other area, styles to look okay in dark mode.
- Used tinyMCE theme generator to create dark mode theme.
- Updated tinymce to latest 4x version.
2020-04-11 15:48:08 +01:00
eb94500dca
Update settings.php
2020-04-11 21:29:09 +08:00
df8ea0b81d
fix Chinese translation error
2020-04-11 21:26:13 +08:00
1ba5a1274c
Started work on supporting a dark-mode
...
- Most elements done, but still need to do editors, tables and final
pass.
- Toggled only by quick js check at the moment, checking via css media
query. Need to make into user-preference toggle.
For #1234
2020-04-10 22:38:29 +01:00
7b8fe5fbc6
Added book-export endpoints to the API
2020-04-10 16:05:17 +01:00
ba1be9d710
Updated password reset process not to indicate if email exists
...
- Intended to prevent enumeration to check if a user exists.
- Updated messages on both the reqest-reset and set-password elements.
- Also updated notification auto-hide to be dynamic based upon the
amount of words within the notification.
- Added tests to cover.
For #2016
2020-04-10 13:38:08 +01:00
053cbbd5b6
Updated view-change endpoints to be clearer, separated books and shelf
...
- Separated books-list and shelf-show view types to be saved separately.
During review of #1755
2020-04-10 12:49:16 +01:00
b8c16b15a9
Merge branch 'feature_change_view_in_shelves_show' of git://github.com/philjak/BookStack into philjak-feature_change_view_in_shelves_show
2020-04-10 12:21:56 +01:00
47e645909e
Reviewed #1688 , Show parent shelves on books page
...
- Moved list to the left of the page to align with other navigational
items.
- Hid list of no shelves, to help hide shelf references if not in use.
- Tweaked test to ensure it wasn't finding shelf name in breadcrumb
rather than list being tested.
2020-04-09 17:29:22 +01:00
898cedf536
Merge branch 'feature/#1598' of git://github.com/cw1998/BookStack into cw1998-feature/#1598
2020-04-09 17:18:37 +01:00
1962c81742
Updated WYSIWYG entity link selector to set link display text
...
- Sets as entity name if the input is currently empty.
For #2014
2020-04-09 15:28:44 +01:00
642db1387e
Updated wysiwyg code-block insert flow to be mouseless
...
- Can now save a code block with Ctrl+Enter.
- Codemirror will be in focus on popup show.
- TinyMCE will get back focus on code save.
For #1972
2020-04-05 21:55:31 +01:00
02f7ffe53c
Removed overflow hidden from all lists
...
- Was causing ol list numbers to be cut off.
Fixes #1978
2020-04-05 18:05:51 +01:00
5f61620cc2
Added support for changing the draw.io instance URL
...
- Allowed DRAWIO env option to be passed as URL to point to instance.
- Updated tests to check URL gets passed to pages correctly.
- Update default URL to be the default theme.
For #826
2020-04-05 17:27:16 +01:00
feab756b9f
Merge pull request #2003 from BookStackApp/rtl_styles_update
...
Updated styles to use logical properties/values, for improved RTL support
2020-04-05 14:15:23 +01:00
fb08194af1
New Crowdin translations ( #2004 )
...
* New translations errors.php (Russian)
* New translations settings.php (Portuguese, Brazilian)
* New translations auth.php (Russian)
* New translations entities.php (Russian)
* New translations settings.php (Russian)
* New translations settings.php (Slovak)
* New translations settings.php (Persian)
* New translations settings.php (Portuguese)
* New translations settings.php (Polish)
* New translations settings.php (Korean)
* New translations settings.php (Swedish)
* New translations validation.php (Swedish)
* New translations errors.php (Turkish)
* New translations settings.php (Turkish)
* New translations entities.php (Swedish)
* New translations settings.php (Ukrainian)
* New translations errors.php (Swedish)
* New translations entities.php (Slovenian)
* New translations errors.php (Slovenian)
* New translations pagination.php (Slovenian)
* New translations passwords.php (Slovenian)
* New translations settings.php (Slovenian)
* New translations validation.php (Slovenian)
* New translations settings.php (Spanish)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Czech)
* New translations pagination.php (Danish)
* New translations settings.php (Danish)
* New translations settings.php (Dutch)
* New translations settings.php (Arabic)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Hungarian)
* New translations errors.php (French)
* New translations errors.php (Italian)
* New translations settings.php (Italian)
* New translations settings.php (Japanese)
* New translations settings.php (French)
* New translations errors.php (German)
* New translations settings.php (German)
* New translations settings.php (Hebrew)
* New translations auth.php (Hebrew)
* New translations validation.php (Hebrew)
* New translations errors.php (Hebrew)
* New translations entities.php (Hebrew)
* New translations common.php (Hebrew)
* New translations settings.php (German Informal)
* New translations errors.php (German Informal)
* New translations settings.php (Vietnamese)
2020-04-05 14:12:23 +01:00
f94fd44ff6
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
2020-04-05 13:07:19 +01:00
ef416d3e86
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.
2020-04-04 00:09:58 +01:00
64942268b8
Added Slovenian to available language options
...
Related to #1946
2020-03-14 22:24:27 +00:00