Dan Brown
f5fe524e6c
Added extension whitelist for image uploads
...
- A continuation of the security issues addressed in v0.25.3
2019-03-21 19:43:15 +00:00
Dan Brown
37b91b6b0e
Hardened image file validation by removing custom validation
...
- Added test to check PHP files cannot be uploaded as an image.
2019-03-20 23:59:55 +00:00
Martin Šimek
b3a4d8af2a
Czech translation
...
+ Czech language (cs)
+ settings.php in english populated by new option
Note: validation php taken from lavarel official translation (https://github.com/caouecs/Laravel-lang/blob/master/src/cs/validation.php )
2019-03-19 22:45:14 +01:00
Dan Brown
8b7bee7c67
Updated standard entity lists
2019-03-17 15:07:03 +00:00
Dan Brown
837d2bc582
Improved login, Fixed breadcrumbs & improved grid thumbnails
2019-03-16 16:00:41 +00:00
Leonardo Martinez
64cd499542
Updated 'Spanish Argentina' translation.
2019-03-12 11:46:02 -03:00
Dan Brown
5f2d226f09
Merge branch 'master' into 2019-design
2019-03-10 21:40:02 +00:00
Dan Brown
042a6f9760
Updated shelf menu item to show on custom permission
...
- Extended new 'userCanOnAny' helper to take a entity class for
filtering.
Closes #1201
2019-03-09 21:15:45 +00:00
Dan Brown
5c9b528517
Abstracted userCanCreatePage helper to work for any permisison
...
- Added test to cover scenario where someone with create-own permission
would want to copy a viewable item into a container entity that they
own.
2019-03-09 16:50:22 +00:00
Dan Brown
6be2d3f28c
Merge branch 'Copy-For-View-Only' of git://github.com/mark-james/BookStack into mark-james-Copy-For-View-Only
2019-03-09 16:12:12 +00:00
Dan Brown
6be95cd2ac
Re-centered dropzone error arrow
2019-03-08 22:57:24 +00:00
Dan Brown
f467185e86
Merge branch 'master' into fix-1186
2019-03-08 22:47:31 +00:00
Dan Brown
d96baf2d4a
Set 'uploaded_to' parameters for editor-pasted/dragged images
...
Allows image-listing permission system to work as intended.
Fixes #1287
2019-03-08 21:32:31 +00:00
Dan Brown
1c312906bc
Added a configurable upload size limit
...
Closes #1293
2019-03-08 21:06:37 +00:00
Dan Brown
9126c87f2b
Merge pull request #1272 from Xiphoseer/patch-1
...
Add german translations for shelves
2019-03-07 22:14:35 +00:00
Dan Brown
579d98a908
Merge pull request #1314 from maantje/patch-2
...
Update Dutch password_hint translation to correspond with validation
2019-03-07 21:53:08 +00:00
Dan Brown
98a4359198
Updated user language select to use correct default
...
- Updated localisation system to take note of system defaul locale
before replacing the current locale
Fixes #1316
2019-03-07 21:09:23 +00:00
Jamie Schouten
6f710225b5
Update Dutch password_hint translation to correspond with validation rule
...
At the moment the translation says ```Minimaal 5 tekens``` which means your password should be at least 5 characters long. But a 5 character long password is not allowed by the validator.
I think this was a translation error from the English one where it says ```Must be over 5 characters```. To make the Dutch translation correct the Dutch translation should be changed to ```Minimaal 6 tekens```.
```
/**
* Get a validator for an incoming registration request.
*
* @param array $data
* @return \Illuminate\Contracts\Validation\Validator
*/
protected function validator(array $data)
{
return Validator::make($data, [
'name' => 'required|max:255',
'email' => 'required|email|max:255|unique:users',
'password' => 'required|min:6',
]);
}
```
2019-03-06 17:10:15 +01:00
Dan Brown
b273b9d6d0
Improved alignment classes used by WYSIWYG editor
...
- Fixed table cells being floated, Fixes #1284 .
- Made it possible to easily center linked images.
2019-03-02 09:08:01 +00:00
Dan Brown
e471d0c52a
Added lua to code languages
...
Closes #1223
2019-03-02 08:52:14 +00:00
Dan Brown
035a0d8efb
Added experimental breadcrumb traversal
2019-02-24 15:57:35 +00:00
Dan Brown
e70423c73f
Standardized breadcrumbs a little further with icons
2019-02-17 17:52:42 +00:00
Dan Brown
8445304fe9
Added book sort helper buttons
2019-02-17 11:44:02 +00:00
Dan Brown
f1e571a57c
Made shelf listing more unique & efficient
...
- Now includes listing of all books within.
2019-02-16 17:13:01 +00:00
Dan Brown
e9be2b7174
Standardized setting casing
2019-02-16 15:39:23 +00:00
Dan Brown
352cbbd074
Updated design of page navigation box
2019-02-16 15:39:11 +00:00
Dan Brown
b00b319e83
Re-arranged some list items to flexbox instead of grid
...
Since flexbox is better supported on a wider range of elements
2019-02-16 15:05:18 +00:00
Dan Brown
a112c11df8
Re-ordered and updated main settings page
2019-02-16 14:17:35 +00:00
Xiphoseer
058cc2cbd6
Update entities.php
2019-02-12 12:30:43 +01:00
Xiphoseer
edd98c00e5
Update entities.php
2019-02-12 12:30:12 +01:00
Xiphoseer
19bb11a1c9
Update entities.php
...
Add informal german shelve localisations
2019-02-12 12:28:48 +01:00
Xiphoseer
9511d10ec8
Update entities.php
...
Add german shelve localizations
2019-02-12 12:24:01 +01:00
Dan Brown
3286f29a61
Merge branch 'master' into 2019-design
2019-02-09 14:58:38 +00:00
Christopher Tran
77d3bd31a6
add powershell code block link
2019-02-06 01:06:59 -05:00
Dan Brown
49deab3a02
Fixed page edit to have white background
2019-02-03 17:53:54 +00:00
Dan Brown
5325870271
Updated auth pages to new design, Removed public layout
2019-02-03 17:34:15 +00:00
Dan Brown
138f5d5c4f
Updated user and shelf views to new design
2019-02-03 13:45:45 +00:00
Dan Brown
880d4f35da
Started the migration of the setting views
2019-02-02 15:49:57 +00:00
Dan Brown
20988962fe
Migrated a whole load more page/chapter/shelf views
2019-02-02 11:41:41 +00:00
Dan Brown
32603362a6
Updated a bunch of book views
2019-01-31 20:37:12 +00:00
abijeet
9dba9ca178
Fixes tooltip on the image manager.
...
Fixes #1186
2019-01-27 19:43:31 +05:30
Dan Brown
36424a24b5
Added ability for date format strings to be localized by back-end
...
Requires the locale to be installed on the system-side.
Closes #1214
2019-01-19 12:11:18 +00:00
Dan Brown
a70ee9664a
Fixed firefox page print view and removed comments from prints
...
Closes #1211
2019-01-19 11:33:27 +00:00
Dan Brown
156c0a88e9
Updated sidebar to prevent rubber-banding with comments disabled
...
Fixes #1218
2019-01-19 11:10:46 +00:00
Dan Brown
0efed43389
Converted more views to new layout and made breadcrumbs more flexible
2019-01-13 15:54:55 +00:00
Dan Brown
163a57cf70
Merge branch 'master' into 2019-design
2019-01-13 14:10:27 +00:00
Dan Brown
a3ccde8698
Updated TinyMCE and fixed TinyMCE/Codemirror cursor jumping
...
For #1162
2019-01-12 19:23:18 +00:00
Dan Brown
e66ddbc17b
Merge pull request #1197 from moucho/master
...
Spanish update
2019-01-06 14:37:11 +00:00
Dan Brown
f63fd4beca
Merge branch 'fix/#1110' of git://github.com/cw1998/BookStack into cw1998-fix/#1110
2019-01-05 15:12:33 +00:00
Dan Brown
70ad707c3c
Tweaked profile page anchor links and swapped register/login links
...
Also added test for login/register links on non-auth app view
Relates to #1146
2019-01-05 15:01:16 +00:00
Dan Brown
3062bf1876
Merge branch 'master' of git://github.com/qianmengnet/BookStack into qianmengnet-master
2019-01-05 14:47:47 +00:00
Dan Brown
a2087fe3ff
Made delete permissions a requirement for move operations
...
Closes #1200
2019-01-05 14:39:40 +00:00
Mark James
19770d2792
Use joint_permissions to determine is a user has an available page or chapter to copy.
2019-01-02 16:55:28 +11:00
Mark James
99c6d70c51
Initial updates to allow for page copy when the user can read the page but can't update it.
2018-12-31 17:01:49 +11:00
Dan Brown
2317bf2350
Added check for last admin on role change
...
Will show error message if last admin and admin role is removed.
Closes #1124
Also cleaned up user controller a little.
2018-12-30 16:11:58 +00:00
moucho
2c48f4f7e8
Format update
2018-12-24 12:41:42 +01:00
Dan Brown
f4ea5f1f55
Updated page exports to use absolute time format
...
For #1065
2018-12-22 16:35:04 +00:00
Dan Brown
f62843c861
Updated DZ upload timeout var name and error handling
...
For #1133 & #876
Concerns BookStackApp/website#31
2018-12-22 15:45:13 +00:00
Dan Brown
5fe630b8d2
Merge branch 'master' into dropzone-timeout
2018-12-22 15:08:54 +00:00
Dan Brown
d910defbfd
Merge pull request #1183 from Mant1kor/master
...
Add Ukrainian translate
2018-12-22 15:00:56 +00:00
Dan Brown
153adb055c
Merge pull request #1180 from vasiliev123/update-pl-language
...
Updates for PL language
2018-12-22 14:58:30 +00:00
Mantikor
37ab97af8c
Add files via upload
2018-12-18 10:01:50 +02:00
Mantikor
7fcd7a5d91
Rename resources/lang/activities.php to resources/lang/uk/activities.php
2018-12-18 10:01:18 +02:00
Mantikor
c67f76f776
Add files via upload
2018-12-18 10:00:45 +02:00
Mantikor
9a444b4a04
Update settings.php
...
added 'uk' language
2018-12-17 18:16:43 +02:00
Dan Brown
7f6929d716
Re-enabled plaintext view for email notifications
...
Updated mail notifications to set the HTML and plaintext views since before
no plaintext version was being created.
Closes #1182
2018-12-16 20:44:57 +00:00
Dan Brown
101a7b40b9
Updated codemirror SQL mode name
...
Now will highlight a lot more SQL syntax.
Closes #1181 .
2018-12-16 15:38:49 +00:00
Dan Brown
1930ed4d6a
Made some further fixes to the formatting script
...
Takes into account single and double quotes.
Ignores //! comments and the 'language_select' array.
Language files may need some cleaning up and may encounter some other bugs when running.
2018-12-16 14:04:04 +00:00
Dan Brown
2753629dbe
Cleaned up script and formatted remaining EN files
2018-12-16 13:12:13 +00:00
Dan Brown
86a00a59d4
Created sketchy translation formatter script
...
Compares a translation file to a EN version to
place translations on matching line numbers and matches
up comments.
2018-12-14 21:23:05 +00:00
Jurij Vasiliev
d6dd96e7fc
1. Fixed translation for Copy and Reply
2018-12-13 13:58:08 +01:00
Jurij Vasiliev
1b1ddb6794
Major updates on polish language
...
1. Changed Book translation from księga => podręcznik (księga is very old word, and thus not fit to the app. Podręcznik is word for book used in school and fits much more to the documentation site)
2. Changed Entity transaltion from encja => obiekt (encja is word used in IT world, common people doesn't know what it is. Obiekt (object) fits better for no IT geeks and explains them more than word encja)
3. Added Shelf/Bookshelf transaltion. Now they are named Półka/Półki
4. Changed Draft translation from szkic => wersja robocza (in every system like wordpress/wiki etc. the word for draft is wersja robocza. Szkic is word for draft of an image)
5. Fixed typos
6. Fixed unfit plural words when they were not needed
2018-12-13 13:39:26 +01:00
Dan Brown
323bff7d6d
Extended translations system for arrays & extension
...
Extended the base Laravel translation system to
allow a locale to be based upon another.
Also adds functionality to take base & fallback locales into account when fetching
an array of translations.
Related to work done in #1159
2018-12-12 20:46:27 +00:00
ezzra
f943f0d401
de_informal - remove comments from unused lines
2018-12-12 10:37:24 +01:00
ezzra
a2acd063f3
add german informal language
2018-12-11 19:39:16 +01:00
Dan Brown
7f95b51b00
Rolled tri-layout to page edit and book-create
2018-12-09 16:51:31 +00:00
Dan Brown
ff0b9004bc
Cleaned existing grid view up a little
2018-12-09 14:04:28 +00:00
Dan Brown
8fd8652bbf
Added tri-layout desktop sticky-scroll
2018-12-09 13:42:35 +00:00
Dan Brown
e1474194db
Added responsive functionality to tri-layout view.
2018-12-08 23:34:06 +00:00
Dan Brown
4c574c22a8
Implemented functionality to make books sort function
...
Also changed public user settings to be stored in session rather than DB.
Cleaned existing list view type logic.
2018-12-07 18:33:53 +00:00
Dan Brown
0b976d9f91
Added list sorting styles, Yet to add functionality
2018-12-01 21:28:21 +00:00
Dan Brown
2a882a43ff
Updated books listing to three column layout design
2018-12-01 20:28:17 +00:00
Dan Brown
aabd4c0412
Started looking at the books listing design
2018-12-01 16:29:57 +00:00
Dan Brown
d39fc84301
Merge branch 'master' into 2019-design
2018-12-01 13:57:23 +00:00
Dan Brown
4cf43f67d6
Merge pull request #1072 from CliffyPrime/german_update
...
Update german translation
2018-11-27 21:26:18 +00:00
Dan Brown
86899864dd
Merge pull request #1117 from leomartinez/master
...
Updated 'Spanish Argentina' translation.
2018-11-27 21:24:01 +00:00
qianmengnet
3c796b1ae7
Add "register" to nav.
...
Add "register" to nav.You need to click "login" to find register, which is not convenient for people who are not familiar with the app.
2018-11-26 09:05:38 +08:00
qianmengnet
b7915cc7b0
Add anchor link to "Created Content" on the "View Profile"
...
Add 3 anchor link to "Created Content" on the "View Profile" page and click to jump to the page section
2018-11-26 08:47:49 +08:00
Abijeet
eac82c47a5
Fixes image deletion failing in subdirectory.
...
Fixes #1092
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-11-25 00:46:04 +05:30
Abijeet
d3d3e2ad3e
Added a default timeout of 60 seconds to dropzone.
...
Fixes #876
2018-11-18 00:22:08 +05:30
Christopher Wilkinson
54b36cd305
Show users link in top nav if user is signed in and only manages users
2018-11-13 13:43:20 +00:00
Leonardo Martinez
f8396d3632
Updated 'Spanish Argentina' translation.
2018-11-12 10:15:06 -03:00
Dan Brown
4df11701e7
Updated book-tree design and abstracted breadcrumb template
2018-11-11 13:11:36 +00:00
Dan Brown
4a872012c5
Merge branch 'master' into 2019-design
2018-11-11 11:44:35 +00:00
Dan Brown
302b53562d
Fixed clipboard imports
2018-11-10 16:08:33 +00:00
Dan Brown
d0c166c207
Added linked images to markdown paste insert
2018-11-10 15:35:13 +00:00
Dan Brown
321b53c827
Merge branch 'master' of git://github.com/thomasjsn/BookStack into thomasjsn-master
2018-11-10 15:23:29 +00:00
Dan Brown
0724ae3640
Merge pull request #1098 from TheLastOperator/master
...
Update french translations
2018-11-10 13:58:56 +00:00
Dan Brown
cfc1a2f045
Removed settings that had been copied from en
2018-11-10 13:55:13 +00:00
Dan Brown
b012f27ae3
Merge branch 'master' of git://github.com/qianmengnet/BookStack into qianmengnet-master
2018-11-10 13:54:35 +00:00
Dan Brown
58bec7287f
Merge pull request #1088 from kejjang/zh_TW_update
...
Update zh_TW translation
2018-11-10 13:52:23 +00:00
Dan Brown
9341ae4910
Merge pull request #1066 from limkukhyun/codev-kuk-master
...
completed the Korean translation. Please accept the pull request
2018-11-10 13:50:39 +00:00
Dan Brown
1328755f95
Merge pull request #1034 from DeehSlash/pt_br_translations
...
Adds missing pt_BR translation
2018-11-10 13:47:38 +00:00
Dan Brown
e3230f8f21
Standardised module loading system & fixed build system
...
Fixed broken build system in broken webpack version.
Also updates module system to standardise on ES6 import/exports,
Especially since babel has changed it's 'default' logic for the old
module system.
2018-11-09 21:17:35 +00:00
qianmengnet
fd37d95ffc
Chinese translation update for v0.24.1
...
0.24.1
2018-11-08 08:10:04 +08:00
Dan Brown
c356612612
Added sidebar layout size tweaks
2018-11-04 14:41:52 +00:00
Florian PREVOST
1c89fcd20a
Update french translasion
2018-10-30 15:13:17 +01:00
Kej
773ab9d7ff
Update zh_TW translation
2018-10-25 11:38:49 +08:00
Dan Brown
0e395b1e21
Started reworking of page-show design
...
- Updated core toolbar & breadcrumb design
2018-10-21 20:05:11 +01:00
CliffyPrime
6c7d87c836
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...
2018-10-17 23:44:13 +02:00
Dan Brown
89be30ff0e
Started on a design update
...
- Added base of new grid system.
- Added new margin/padding/visiblity helpers.
- Made header collapse to overflow menu on mobile.
2018-10-16 18:49:56 +01:00
codev-kuk-mac
5d1162fb64
translate complate
2018-10-15 16:36:11 +09:00
Thomas Jensen
90929baa52
Wrap images inserted with markdown editor with anchor tag to original file ref #1062
2018-10-13 21:43:35 +02:00
codev-kuk-mac
4afc67a962
settings - completed
...
entities - Some edits done
2018-10-12 17:22:29 +09:00
codev-kuk-mac
042d8b3274
translate entities, setting
2018-10-12 16:06:08 +09:00
codev-kuk-mac
1c0a196b9d
Include Korean in settings
2018-10-12 16:05:28 +09:00
codev-kuk-mac
a1fda37896
done validation
2018-10-12 16:04:57 +09:00
codev-kuk-mac
43758a7d60
3개 번역
2018-10-12 15:13:27 +09:00
codev-kuk-mac
c7d3db9751
translate kr 50/100
2018-10-05 11:24:24 +09:00
codev-kuk-mac
fca7689e1a
translate to kr 20/100
2018-10-05 10:24:37 +09:00
André Luiz da Silva
18bac4e673
Fixes "bookshelf" pt_BR translation in "activities"
2018-09-28 16:27:26 -03:00
André Luiz da Silva
ca2a9fbf1c
Adds missing "settings" pt_BR translations
2018-09-28 16:26:01 -03:00
André Luiz da Silva
cbebe7c8de
Adds missing "errors" pt_BR translations
2018-09-28 16:19:06 -03:00
André Luiz da Silva
0943221902
Adds missing "entities" pt_BR translations
2018-09-28 16:18:14 -03:00
André Luiz da Silva
17ed1b7faf
Adds missing "common" pt_BR translations
2018-09-26 21:54:16 -03:00
André Luiz da Silva
36d18f28ee
Adds missing "activities" pt_BR translations
2018-09-26 21:51:34 -03:00
Dan Brown
919660678b
Re-structured the app code to be feature based rather than code type based
2018-09-25 12:30:50 +01:00
Nikolai Nikolajevic
935337862c
Update german translation
2018-09-24 09:55:37 +02:00
Marcos
1cac3d43d3
Spanish translation
2018-09-23 17:31:41 +02:00
Dan Brown
93f820d9da
Updated TinyMCE config to end containers on empty blocks
...
Makes it easier to escape out of blockquote sections.
Fixes #961
2018-09-23 14:07:50 +01:00
Dan Brown
7b32aa163f
Added Bookshelves to search system.
...
Also cleaned up and made search indexing system a little more efficient.
Closes #1023
2018-09-23 12:34:30 +01:00
Dan Brown
0d84a0b976
Extracted search sidebar text to translation file
...
Closes #864
2018-09-22 23:40:04 +01:00
Dan Brown
88ac636c00
Made it possible to scroll past the end of the markdown editor
...
Closes #1020
2018-09-22 23:24:51 +01:00
Dan Brown
9dc26a8c52
Prevented TinyMCE clear-color option having scrollbar
...
Was covering the option if showing and prevented the option being pressed.
Fixes #999
2018-09-22 23:12:39 +01:00
Dan Brown
be4f3d62cd
Merge branch 'fix/ru-locale' of git://github.com/mullinsmikey/BookStack into mullinsmikey-fix/ru-locale
2018-09-22 22:29:03 +01:00
Dan Brown
10d08e641c
Merge pull request #1021 from moucho/master
...
Spanish translation
2018-09-22 21:43:19 +01:00
Marcos
c4e4cebf14
Spanish translation
2018-09-22 18:36:52 +02:00
Dan Brown
0931ff38e9
Tried to make chapter toggles a little smoother in FF
2018-09-22 16:36:35 +01:00
Dan Brown
07bc0612c0
Merge branch 'master' into fix/#960
2018-09-22 15:57:53 +01:00
Dan Brown
6dec485b45
Fixed sidebar rubber-banding when content is expanded
...
Hopefully for #905
Ideally layout needs to be re-thought
2018-09-22 15:52:09 +01:00
Dan Brown
a441faf65c
Only show codeblock copy icon on hover
...
Fixes #980
2018-09-22 14:55:33 +01:00
Dan Brown
50ee1462ad
Merge pull request #986 from DeehSlash/fix/pt_br_locale
...
Adds and fixes pt_BR strings
2018-09-22 14:40:23 +01:00
Dan Brown
1cb6ae39c8
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.
2018-09-22 13:18:26 +01:00
Dan Brown
c667c6e235
Merge branch 'master' of git://github.com/kmoj86/BookStack into kmoj86-master
2018-09-22 12:23:17 +01:00
Dan Brown
e3e484e561
Added custom head content to exports
...
Closes #981
Also fixed incorrect download tests.
2018-09-22 11:53:40 +01:00
Dan Brown
e60d11ee04
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.
2018-09-21 18:05:06 +01:00
Dan Brown
7ad8314bd7
Merge branch 'feature/autoregistration_social_login' of git://github.com/ibrahimennafaa/BookStack into ibrahimennafaa-feature/autoregistration_social_login
2018-09-21 16:14:52 +01:00
Dan Brown
131fcae4c7
Merge pull request #947 from BookStackApp/bookshelves
...
Bookshelves
2018-09-21 15:29:52 +01:00
Dan Brown
b59e5942c8
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.
2018-09-21 15:15:16 +01:00
Dan Brown
8ff969dd17
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.
2018-09-20 19:48:08 +01:00