1f202f6dbc
Updated locale lists for Bulgarian
2020-09-19 15:36:17 +01:00
bccf4653cb
New Crowdin translations ( #2077 )
...
* New translations entities.php (Portuguese, Brazilian)
* New translations entities.php (Persian)
* New translations entities.php (Spanish, Argentina)
* New translations entities.php (Thai)
* New translations errors.php (German Informal)
* New translations entities.php (Spanish)
* New translations entities.php (French)
* New translations entities.php (Arabic)
* New translations entities.php (Arabic)
* New translations components.php (Portuguese, Brazilian)
* New translations entities.php (Portuguese, Brazilian)
* New translations auth.php (Italian)
* New translations common.php (Italian)
* New translations components.php (Italian)
* New translations entities.php (Italian)
* New translations settings.php (Italian)
* New translations components.php (Chinese Simplified)
* New translations entities.php (Chinese Simplified)
* New translations settings.php (Spanish)
* New translations components.php (German)
* New translations components.php (Japanese)
* New translations components.php (Dutch)
* New translations components.php (German Informal)
* New translations components.php (Portuguese, Brazilian)
* New translations common.php (Ukrainian)
* New translations components.php (Portuguese)
* New translations common.php (Russian)
* New translations components.php (Russian)
* New translations common.php (Slovak)
* New translations components.php (Slovak)
* New translations common.php (Slovenian)
* New translations components.php (Slovenian)
* New translations common.php (Swedish)
* New translations components.php (Swedish)
* New translations common.php (Turkish)
* New translations components.php (Turkish)
* New translations components.php (Ukrainian)
* New translations components.php (Polish)
* New translations common.php (Chinese Simplified)
* New translations common.php (Chinese Traditional)
* New translations components.php (Chinese Traditional)
* New translations common.php (Vietnamese)
* New translations components.php (Vietnamese)
* New translations common.php (Portuguese, Brazilian)
* New translations common.php (Persian)
* New translations components.php (Persian)
* New translations common.php (Spanish, Argentina)
* New translations components.php (Spanish, Argentina)
* New translations common.php (Thai)
* New translations components.php (Thai)
* New translations common.php (Portuguese)
* New translations common.php (Polish)
* New translations common.php (Italian)
* New translations common.php (Bulgarian)
* New translations components.php (Italian)
* New translations components.php (Chinese Simplified)
* New translations components.php (German)
* New translations components.php (Japanese)
* New translations components.php (Dutch)
* New translations components.php (German Informal)
* New translations common.php (French)
* New translations components.php (French)
* New translations common.php (Spanish)
* New translations components.php (Spanish)
* New translations common.php (Arabic)
* New translations components.php (Arabic)
* New translations components.php (Bulgarian)
* New translations common.php (Dutch)
* New translations common.php (Czech)
* New translations components.php (Czech)
* New translations common.php (Danish)
* New translations components.php (Danish)
* New translations common.php (German)
* New translations common.php (Hebrew)
* New translations components.php (Hebrew)
* New translations common.php (Hungarian)
* New translations components.php (Hungarian)
* New translations common.php (Japanese)
* New translations common.php (Korean)
* New translations components.php (Korean)
* New translations common.php (German Informal)
* New translations components.php (German)
* New translations common.php (German)
* New translations entities.php (German)
* New translations common.php (French)
* New translations components.php (French)
* New translations common.php (Spanish)
* New translations components.php (Spanish)
* New translations components.php (Chinese Simplified)
* New translations common.php (Chinese Simplified)
* New translations common.php (Polish)
* New translations components.php (Polish)
* New translations auth.php (Polish)
* New translations entities.php (Polish)
* New translations errors.php (Polish)
* New translations passwords.php (Polish)
* New translations settings.php (Polish)
* New translations settings.php (Polish)
* New translations common.php (Spanish, Argentina)
* New translations components.php (Spanish, Argentina)
* New translations auth.php (Spanish, Argentina)
* New translations entities.php (Spanish, Argentina)
* New translations passwords.php (Spanish, Argentina)
* New translations settings.php (Spanish, Argentina)
* New translations entities.php (German)
* New translations components.php (German Informal)
* New translations common.php (German Informal)
* New translations entities.php (German Informal)
* New translations settings.php (Italian)
* New translations settings.php (Dutch)
* New translations settings.php (Thai)
* New translations settings.php (Persian)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Vietnamese)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Ukrainian)
* New translations settings.php (Turkish)
* New translations settings.php (Swedish)
* New translations settings.php (Slovenian)
* New translations settings.php (Slovak)
* New translations settings.php (Russian)
* New translations settings.php (Portuguese)
* New translations settings.php (Korean)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Japanese)
* New translations settings.php (Hungarian)
* New translations settings.php (Hebrew)
* New translations settings.php (German)
* New translations settings.php (Danish)
* New translations settings.php (Czech)
* New translations settings.php (Bulgarian)
* New translations settings.php (Arabic)
* New translations settings.php (French)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Polish)
* New translations settings.php (Spanish)
* New translations settings.php (German Informal)
* New translations settings.php (Spanish)
* New translations settings.php (French)
* New translations components.php (Turkish)
* New translations settings.php (Turkish)
* New translations entities.php (Turkish)
* New translations common.php (Turkish)
* New translations components.php (Portuguese, Brazilian)
* New translations common.php (Portuguese, Brazilian)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Chinese Simplified)
* New translations activities.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations activities.php (Chinese Traditional)
* New translations auth.php (Chinese Traditional)
* New translations common.php (Chinese Traditional)
* New translations components.php (Chinese Traditional)
* New translations errors.php (Chinese Traditional)
* New translations passwords.php (Chinese Traditional)
* New translations settings.php (German)
* New translations settings.php (German Informal)
* New translations activities.php (Slovak)
* New translations auth.php (Slovak)
* New translations auth.php (Slovak)
* New translations common.php (Slovak)
* New translations components.php (Slovak)
* New translations components.php (Slovak)
* New translations entities.php (Slovak)
* New translations common.php (Slovak)
* New translations entities.php (Slovak)
* New translations passwords.php (Slovak)
* New translations settings.php (Dutch)
* New translations components.php (Dutch)
* New translations entities.php (Dutch)
* New translations passwords.php (Dutch)
* New translations activities.php (Arabic)
* New translations entities.php (French)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Traditional)
* New translations auth.php (Chinese Traditional)
* New translations errors.php (Chinese Traditional)
* New translations activities.php (Japanese)
* New translations auth.php (Japanese)
* New translations entities.php (Chinese Traditional)
* New translations validation.php (Chinese Traditional)
* New translations common.php (Russian)
* New translations components.php (Russian)
* New translations entities.php (Russian)
* New translations settings.php (Russian)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Polish)
* New translations settings.php (Polish)
* New translations settings.php (Polish)
* New translations entities.php (Russian)
* New translations entities.php (Portuguese)
* New translations entities.php (Thai)
* New translations entities.php (Spanish, Argentina)
* New translations entities.php (Persian)
* New translations entities.php (Portuguese, Brazilian)
* New translations entities.php (Vietnamese)
* New translations entities.php (Chinese Traditional)
* New translations entities.php (Chinese Simplified)
* New translations entities.php (Ukrainian)
* New translations entities.php (Turkish)
* New translations entities.php (Swedish)
* New translations entities.php (Slovenian)
* New translations entities.php (Slovak)
* New translations entities.php (Polish)
* New translations entities.php (French)
* New translations entities.php (Dutch)
* New translations entities.php (Korean)
* New translations entities.php (Japanese)
* New translations entities.php (Italian)
* New translations entities.php (Hungarian)
* New translations entities.php (Hebrew)
* New translations entities.php (German)
* New translations entities.php (Danish)
* New translations entities.php (Czech)
* New translations entities.php (Bulgarian)
* New translations entities.php (Arabic)
* New translations entities.php (Spanish)
* New translations entities.php (German Informal)
* New translations entities.php (French)
* New translations settings.php (Russian)
* New translations settings.php (Portuguese)
* New translations settings.php (Thai)
* New translations settings.php (Spanish, Argentina)
* New translations settings.php (Persian)
* New translations settings.php (Portuguese, Brazilian)
* New translations settings.php (Vietnamese)
* New translations settings.php (Chinese Traditional)
* New translations settings.php (Chinese Simplified)
* New translations settings.php (Ukrainian)
* New translations settings.php (Turkish)
* New translations settings.php (Swedish)
* New translations settings.php (Slovenian)
* New translations settings.php (Slovak)
* New translations settings.php (Polish)
* New translations settings.php (French)
* New translations settings.php (Dutch)
* New translations settings.php (Korean)
* New translations settings.php (Japanese)
* New translations settings.php (Italian)
* New translations settings.php (Hungarian)
* New translations settings.php (Hebrew)
* New translations settings.php (German)
* New translations settings.php (Danish)
* New translations settings.php (Czech)
* New translations settings.php (Bulgarian)
* New translations settings.php (Arabic)
* New translations settings.php (Spanish)
* New translations settings.php (German Informal)
* New translations entities.php (Spanish)
* New translations settings.php (Spanish)
2020-09-19 15:22:32 +01:00
78bf044a7a
Added audit log interface
...
- Displays the currently tracked activities in the system.
Related to #2173 and #1167
2020-09-19 12:06:45 +01:00
d9e2bddee4
Added some robustness to page draft saving
...
- Updated so that a warning is always shown on error, Not just on first
in chain.
- Added last-resort localStorage content saving.
2020-09-13 19:32:45 +01:00
6578ac0b4a
Fixed visible revision delete menu
2020-09-13 19:12:15 +01:00
09c6d6c722
Added button for inserting attachment link to a page
...
For #1460
2020-09-13 18:58:05 +01:00
ad48cd3e48
Continued implementation of attachment drag+drop
...
Cannot get working in chrome reliably due to conflicting handling of
events and drag+drop API. Getting attachment drop working breaks other
parts of TinyMCE.
Implementing current work as should still work for MD editor and within
FireFox.
Related to #1460
2020-09-13 18:31:14 +01:00
e305ba14d9
Merge branch 'master' into attachment_drag_drop
2020-09-13 16:33:31 +01:00
ac83c349da
Migrated from webpack to esbuild
2020-09-05 16:50:20 +01:00
c076ca408c
Fixed non-visible horizontal rules in dark mode
...
Fixes #2209
2020-08-04 15:39:07 +01:00
1ac11c1852
Added warning to role screen for important permissions
...
Warning related to permissions that could allow a person to promote
their own permissions to gain more privileges than expected.
For #2105 .
2020-08-04 15:26:13 +01:00
5f1ee5fb0e
Removed role 'name' field from database
...
The 'name' field was really redundant and caused confusion in the
codebase, since the 'Display' name is often used and we have a
'system_name' for the admin and public role.
This fixes #2032 , Where external auth group matching has confusing
behaviour as matching was done against the display_name, if no
external_auth field is set, but only roles with a match 'name' field
would be considered.
This also fixes and error where the role users migration, on role
delete, would not actually fire due to mis-matching http body keys.
Looks like this has been an issue from the start. Added some testing to
cover. Fixes #2211 .
Also converted phpdoc to typehints in many areas of the reviewed code
during the above.
2020-08-04 14:55:01 +01:00
7590ecd37c
Updated some comment elements and standardised more JS
...
- Updated comment routes to be simpler.
- Updated comments JS to align better with updated component system.
- Documented available global JS functions/services.
- Removed redundant controller method.
- Added window.$events helpers for validation messages and
success/error.
- Updated JS events system to not be class based for simplicity.
- Added window.trans_plural method to handle pluralisation/replacements
where you already have the translation string itself.
Fixes #1836
2020-07-28 18:19:18 +01:00
18f406d97b
Started attachment drag/drop
...
Currently fighting between sortable and tinymce mechanisms which prevent
this working due to the different events stopping the drop event while
needing the dragover for cursor placement.
2020-07-28 10:45:28 +01:00
76fcbd3752
Removed default anchor CSS filtering in dark mode
...
Due to causing content images to be rendered in unexpected ways.
- Also removed CSS filters from other image usage.
- Tweaked header CSS filtering to not be so aggressive.
- Forced WYSIWYG editor to be on its own layer since that would allow
massive larger performance increases in Safari, especially when using
dark mode.
Closes #2045 .
Closes #2154 .
2020-07-26 16:36:15 +01:00
6e4132121c
Updated pagination colors for visibility
...
Fixes #1839
2020-07-26 15:07:47 +01:00
f5fefbdb06
Removed a few remaining vue references
2020-07-26 14:49:05 +01:00
a46b248cf4
Fixed some image manager behaviour
...
fixed:
- Double click not working after tab usage.
- Synced edit form with select button.
2020-07-25 11:47:12 +01:00
03211ebea6
Removed unused tinymce imagetools plugin
2020-07-25 01:09:35 +01:00
2bacc3c967
Removed vuejs from the project
2020-07-25 00:25:30 +01:00
02dc3154e3
Converted image-manager to be component/HTML based
...
Instead of vue based.
2020-07-25 00:20:58 +01:00
b383f5776d
Tweaked dropdown shadows a tad
2020-07-05 21:23:57 +01:00
3bfd26bf86
Converted the page editor from vue to component
2020-07-05 21:18:17 +01:00
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