Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Updating 04a364dc..934512d0
- Fast-forward
- .env.example | 89 +-
- .env.example.complete | 222 +++
- app/{ => Actions}/Activity.php | 5 +-
- app/{Services => Actions}/ActivityService.php | 8 +-
- app/{ => Actions}/Comment.php | 4 +-
- app/{Repos => Actions}/CommentRepo.php | 21 +-
- app/{ => Actions}/Tag.php | 4 +-
- app/{Repos => Actions}/TagRepo.php | 17 +-
- app/{ => Actions}/View.php | 4 +-
- app/{Services => Actions}/ViewService.php | 17 +-
- app/{Services => Auth/Access}/EmailConfirmationService.php | 16 +-
- app/{Services => Auth/Access}/Ldap.php | 25 +-
- app/{Services => Auth/Access}/LdapService.php | 74 +-
- app/{Services => Auth/Access}/SocialAuthService.php | 32 +-
- app/{ => Auth/Permissions}/EntityPermission.php | 4 +-
- app/{ => Auth/Permissions}/JointPermission.php | 6 +-
- app/{Services => Auth/Permissions}/PermissionService.php | 161 +-
- app/{Repos => Auth/Permissions}/PermissionsRepo.php | 12 +-
- app/{ => Auth/Permissions}/RolePermission.php | 5 +-
- app/{ => Auth}/Role.php | 15 +-
- app/{ => Auth}/SocialAccount.php | 4 +-
- app/{ => Auth}/User.php | 4 +-
- app/{Repos => Auth}/UserRepo.php | 82 +-
- app/Console/Commands/CleanupImages.php | 4 +-
- app/Console/Commands/ClearActivity.php | 2 +-
- app/Console/Commands/ClearRevisions.php | 2 +-
- app/Console/Commands/CreateAdmin.php | 4 +-
- app/Console/Commands/DeleteUsers.php | 4 +-
- app/Console/Commands/RegeneratePermissions.php | 4 +-
- app/Console/Commands/RegenerateSearch.php | 4 +-
- app/{ => Entities}/Book.php | 13 +-
- app/{ => Entities}/Bookshelf.php | 13 +-
- app/{ => Entities}/Chapter.php | 11 +-
- app/{ => Entities}/Entity.php | 41 +-
- app/Entities/EntityProvider.php | 87 +
- app/{Services => Entities}/ExportService.php | 21 +-
- app/{ => Entities}/Page.php | 15 +-
- app/{ => Entities}/PageRevision.php | 5 +-
- app/{ => Entities}/Repos/EntityRepo.php | 722 ++-----
- app/Entities/Repos/PageRepo.php | 508 +++++
- app/{Services => Entities}/SearchService.php | 112 +-
- app/{ => Entities}/SearchTerm.php | 4 +-
- app/Exceptions/Handler.php | 6 +-
- app/Exceptions/HttpFetchException.php | 7 +
- app/Exceptions/NotifyException.php | 2 +-
- app/Exceptions/UserUpdateException.php | 5 +
- app/{Services => }/Facades/Activity.php | 2 +-
- app/{Services => }/Facades/Images.php | 2 +-
- app/{Services => }/Facades/Setting.php | 2 +-
- app/{Services => }/Facades/Views.php | 2 +-
- app/Http/Controllers/AttachmentController.php | 8 +-
- app/Http/Controllers/Auth/LoginController.php | 10 +-
- app/Http/Controllers/Auth/RegisterController.php | 24 +-
- app/Http/Controllers/BookController.php | 14 +-
- app/Http/Controllers/BookshelfController.php | 13 +-
- app/Http/Controllers/ChapterController.php | 10 +-
- app/Http/Controllers/CommentController.php | 8 +-
- app/Http/Controllers/Controller.php | 4 +-
- app/Http/Controllers/HomeController.php | 13 +-
- app/Http/Controllers/ImageController.php | 14 +-
- app/Http/Controllers/PageController.php | 150 +-
- app/Http/Controllers/PermissionController.php | 4 +-
- app/Http/Controllers/SearchController.php | 10 +-
- app/Http/Controllers/SettingController.php | 2 +-
- app/Http/Controllers/TagController.php | 2 +-
- app/Http/Controllers/UserController.php | 27 +-
- app/Http/Middleware/Localization.php | 48 +
- app/Http/Middleware/TrustProxies.php | 2 +-
- app/Notifications/ConfirmEmail.php | 35 +-
- app/Notifications/MailNotification.php | 34 +
- app/Notifications/ResetPassword.php | 22 +-
- app/Ownable.php | 2 +
- app/Providers/AppServiceProvider.php | 37 +-
- app/Providers/AuthServiceProvider.php | 2 +-
- app/Providers/BroadcastServiceProvider.php | 1 -
- app/Providers/CustomFacadeProvider.php | 22 +-
- app/Providers/EventServiceProvider.php | 1 -
- app/Providers/LdapUserProvider.php | 8 +-
- app/Providers/RouteServiceProvider.php | 1 -
- app/Providers/TranslationServiceProvider.php | 31 +
- app/{ => Settings}/Setting.php | 4 +-
- app/{Services => Settings}/SettingService.php | 9 +-
- app/Translation/Translator.php | 72 +
- app/{ => Uploads}/Attachment.php | 7 +-
- app/{Services => Uploads}/AttachmentService.php | 12 +-
- app/Uploads/HttpFetcher.php | 33 +
- app/{ => Uploads}/Image.php | 3 +-
- app/{Repos => Uploads}/ImageRepo.php | 12 +-
- app/{Services => Uploads}/ImageService.php | 78 +-
- app/{Services => Uploads}/UploadService.php | 4 +-
- app/helpers.php | 36 +-
- composer.json | 13 +-
- composer.lock | 929 +++++++--
- config/app.php | 218 +--
- config/auth.php | 94 +-
- config/broadcasting.php | 38 +-
- config/cache.php | 46 +-
- config/compile.php | 35 -
- config/database.php | 116 +-
- config/dompdf.php | 18 +-
- config/filesystems.php | 69 +-
- config/mail.php | 131 +-
- config/queue.php | 48 +-
- config/services.php | 35 +-
- config/session.php | 195 +-
- config/setting-defaults.php | 21 +-
- config/snappy.php | 8 +
- config/view.php | 54 +-
- database/factories/ModelFactory.php | 18 +-
- database/migrations/2015_12_07_195238_add_image_upload_types.php | 2 +-
- database/migrations/2018_08_04_115700_create_bookshelves_table.php | 12 +-
- database/seeds/DummyContentSeeder.php | 28 +-
- database/seeds/LargeContentSeeder.php | 14 +-
- package-lock.json | 13978 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------
- package.json | 40 +-
- phpunit.xml | 3 +
- public/dist/app.js | 68 +-
- public/dist/export-styles.css | 9 +-
- public/dist/print-styles.css | 9 +
- public/dist/styles.css | 19 +-
- public/libs/tinymce/plugins/autosave/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/help/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/image/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/imagetools/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/lists/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/paste/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/searchreplace/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/spellchecker/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/table/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/template/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/textpattern/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/visualchars/plugin.min.js | 2 +-
- public/libs/tinymce/plugins/wordcount/plugin.min.js | 2 +-
- public/libs/tinymce/skins/lightgray/fonts/tinymce.eot | Bin 18808 -> 18912 bytes
- public/libs/tinymce/skins/lightgray/fonts/tinymce.svg | 1 +
- public/libs/tinymce/skins/lightgray/fonts/tinymce.ttf | Bin 18644 -> 18748 bytes
- public/libs/tinymce/skins/lightgray/fonts/tinymce.woff | Bin 18720 -> 18824 bytes
- public/libs/tinymce/skins/lightgray/skin.min.css | 2 +-
- public/libs/tinymce/themes/inlite/theme.min.js | 2 +-
- public/libs/tinymce/themes/mobile/theme.min.js | 2 +-
- public/libs/tinymce/themes/modern/theme.min.js | 2 +-
- public/libs/tinymce/tinymce.min.js | 4 +-
- readme.md | 46 +-
- resources/assets/js/components/{back-top-top.js => back-to-top.js} | 2 +-
- resources/assets/js/components/chapter-toggle.js | 2 +-
- resources/assets/js/components/collapsible.js | 2 +-
- resources/assets/js/components/dropdown.js | 2 +-
- resources/assets/js/components/editor-toolbox.js | 2 +-
- resources/assets/js/components/entity-selector-popup.js | 2 +-
- resources/assets/js/components/entity-selector.js | 2 +-
- resources/assets/js/components/expand-toggle.js | 2 +-
- resources/assets/js/components/homepage-control.js | 2 +-
- resources/assets/js/components/image-picker.js | 2 +-
- resources/assets/js/components/index.js | 65 +-
- resources/assets/js/components/markdown-editor.js | 60 +-
- resources/assets/js/components/notification.js | 2 +-
- resources/assets/js/components/overlay.js | 2 +-
- resources/assets/js/components/page-comments.js | 4 +-
- resources/assets/js/components/page-display.js | 17 +-
- resources/assets/js/components/page-picker.js | 2 +-
- resources/assets/js/components/shelf-sort.js | 6 +-
- resources/assets/js/components/sidebar.js | 2 +-
- resources/assets/js/components/toggle-switch.js | 2 +-
- resources/assets/js/components/wysiwyg-editor.js | 49 +-
- resources/assets/js/services/code.js | 48 +-
- resources/assets/js/services/drawio.js | 2 +-
- resources/assets/js/services/events.js | 2 +-
- resources/assets/js/services/translations.js | 2 +-
- resources/assets/js/vues/attachment-manager.js | 6 +-
- resources/assets/js/vues/code-editor.js | 4 +-
- resources/assets/js/vues/components/autosuggest.js | 2 +-
- resources/assets/js/vues/components/dropzone.js | 32 +-
- resources/assets/js/vues/entity-dashboard.js | 2 +-
- resources/assets/js/vues/image-manager.js | 10 +-
- resources/assets/js/vues/page-editor.js | 2 +-
- resources/assets/js/vues/search.js | 2 +-
- resources/assets/js/vues/tag-manager.js | 6 +-
- resources/assets/js/vues/vues.js | 24 +-
- resources/assets/sass/_components.scss | 7 +-
- resources/assets/sass/_pages.scss | 11 +-
- resources/assets/sass/_tinymce.scss | 5 +
- resources/assets/sass/print-styles.scss | 12 +
- resources/lang/ar/errors.php | 1 +
- resources/lang/cs/activities.php | 48 +
- resources/lang/cs/auth.php | 65 +
- resources/lang/cs/common.php | 59 +
- resources/lang/cs/components.php | 33 +
- resources/lang/cs/entities.php | 294 +++
- resources/lang/cs/errors.php | 84 +
- resources/lang/cs/pagination.php | 12 +
- resources/lang/cs/passwords.php | 15 +
- resources/lang/cs/settings.php | 117 ++
- resources/lang/cs/validation.php | 152 ++
- resources/lang/de/activities.php | 44 +-
- resources/lang/de/entities.php | 33 +
- resources/lang/de/errors.php | 2 +
- resources/lang/de/passwords.php | 8 +-
- resources/lang/de_informal/activities.php | 6 +
- resources/lang/de_informal/auth.php | 47 +
- resources/lang/de_informal/common.php | 9 +
- resources/lang/de_informal/components.php | 10 +
- resources/lang/de_informal/entities.php | 64 +
- resources/lang/de_informal/errors.php | 32 +
- resources/lang/de_informal/pagination.php | 6 +
- resources/lang/de_informal/passwords.php | 6 +
- resources/lang/de_informal/settings.php | 38 +
- resources/lang/de_informal/validation.php | 6 +
- resources/lang/en/activities.php | 10 +-
- resources/lang/en/auth.php | 29 +-
- resources/lang/en/common.php | 27 +-
- resources/lang/en/components.php | 11 +-
- resources/lang/en/entities.php | 48 +-
- resources/lang/en/errors.php | 11 +-
- resources/lang/en/pagination.php | 17 +-
- resources/lang/en/passwords.php | 17 +-
- resources/lang/en/settings.php | 54 +-
- resources/lang/en/validation.php | 46 +-
- resources/lang/es/activities.php | 10 +-
- resources/lang/es/auth.php | 31 +-
- resources/lang/es/common.php | 29 +-
- resources/lang/es/components.php | 11 +-
- resources/lang/es/entities.php | 50 +-
- resources/lang/es/errors.php | 10 +-
- resources/lang/es/pagination.php | 17 +-
- resources/lang/es/passwords.php | 17 +-
- resources/lang/es/settings.php | 38 +-
- resources/lang/es/validation.php | 44 +-
- resources/lang/es_AR/activities.php | 8 +
- resources/lang/es_AR/common.php | 1 +
- resources/lang/es_AR/entities.php | 37 +
- resources/lang/es_AR/errors.php | 3 +
- resources/lang/es_AR/settings.php | 4 +-
- resources/lang/es_AR/validation.php | 1 +
- resources/lang/format.php | 330 ++++
- resources/lang/fr/activities.php | 8 +
- resources/lang/fr/common.php | 1 +
- resources/lang/fr/entities.php | 36 +
- resources/lang/fr/errors.php | 2 +
- resources/lang/fr/settings.php | 5 +-
- resources/lang/it/errors.php | 1 +
- resources/lang/ja/errors.php | 1 +
- resources/lang/kr/activities.php | 40 +
- resources/lang/kr/auth.php | 76 +
- resources/lang/kr/common.php | 68 +
- resources/lang/kr/components.php | 34 +
- resources/lang/kr/entities.php | 311 +++
- resources/lang/kr/errors.php | 84 +
- resources/lang/kr/pagination.php | 19 +
- resources/lang/kr/passwords.php | 22 +
- resources/lang/kr/settings.php | 124 ++
- resources/lang/kr/validation.php | 108 +
- resources/lang/nl/auth.php | 4 +-
- resources/lang/nl/errors.php | 1 +
- resources/lang/pl/activities.php | 28 +-
- resources/lang/pl/auth.php | 26 +-
- resources/lang/pl/common.php | 10 +-
- resources/lang/pl/components.php | 13 +-
- resources/lang/pl/entities.php | 193 +-
- resources/lang/pl/errors.php | 58 +-
- resources/lang/pl/passwords.php | 2 +-
- resources/lang/pl/settings.php | 54 +-
- resources/lang/pt_BR/activities.php | 8 +
- resources/lang/pt_BR/common.php | 1 +
- resources/lang/pt_BR/entities.php | 36 +
- resources/lang/pt_BR/errors.php | 2 +
- resources/lang/pt_BR/settings.php | 5 +-
- resources/lang/ru/entities.php | 33 +
- resources/lang/ru/errors.php | 1 +
- resources/lang/sk/errors.php | 1 +
- resources/lang/sv/errors.php | 1 +
- resources/lang/uk/activities.php | 50 +
- resources/lang/uk/auth.php | 67 +
- resources/lang/uk/common.php | 60 +
- resources/lang/uk/components.php | 34 +
- resources/lang/uk/entities.php | 295 +++
- resources/lang/uk/errors.php | 83 +
- resources/lang/uk/pagination.php | 15 +
- resources/lang/uk/passwords.php | 16 +
- resources/lang/uk/settings.php | 119 ++
- resources/lang/uk/validation.php | 86 +
- resources/lang/zh_CN/activities.php | 8 +
- resources/lang/zh_CN/common.php | 10 +-
- resources/lang/zh_CN/components.php | 3 +-
- resources/lang/zh_CN/entities.php | 45 +-
- resources/lang/zh_CN/errors.php | 9 +-
- resources/lang/zh_CN/settings.php | 3 +-
- resources/lang/zh_TW/activities.php | 8 +
- resources/lang/zh_TW/common.php | 6 +-
- resources/lang/zh_TW/components.php | 3 +-
- resources/lang/zh_TW/entities.php | 48 +-
- resources/lang/zh_TW/errors.php | 7 +-
- resources/lang/zh_TW/settings.php | 5 +-
- resources/views/base.blade.php | 8 +-
- resources/views/chapters/show.blade.php | 4 +-
- resources/views/components/code-editor.blade.php | 4 +-
- resources/views/components/page-picker.blade.php | 2 +-
- resources/views/errors/404.blade.php | 6 +-
- resources/views/pages/export.blade.php | 2 +-
- resources/views/pages/revisions.blade.php | 2 +-
- resources/views/pages/show.blade.php | 8 +-
- resources/views/partials/entity-export-meta.blade.php | 33 +
- resources/views/settings/index.blade.php | 4 +-
- resources/views/users/edit.blade.php | 3 +-
- resources/views/users/profile.blade.php | 33 +-
- resources/views/vendor/notifications/email-plain.blade.php | 2 -
- tests/ActivityTrackingTest.php | 6 +-
- tests/Auth/AuthTest.php | 7 +-
- tests/Auth/LdapTest.php | 148 +-
- tests/Auth/SocialAuthTest.php | 14 +-
- tests/BrowserKitTest.php | 19 +-
- tests/CommandsTest.php | 15 +-
- tests/Entity/BookShelfTest.php | 22 +-
- tests/Entity/CommentSettingTest.php | 2 +-
- tests/Entity/CommentTest.php | 6 +-
- tests/Entity/EntitySearchTest.php | 16 +-
- tests/Entity/EntityTest.php | 15 +-
- tests/Entity/ExportTest.php | 15 +-
- tests/Entity/MarkdownTest.php | 2 +-
- tests/Entity/PageContentTest.php | 22 +-
- tests/Entity/PageDraftTest.php | 22 +-
- tests/Entity/PageRevisionTest.php | 2 +-
- tests/Entity/SortTest.php | 102 +-
- tests/Entity/TagTest.php | 12 +-
- tests/HelpersTest.php | 19 +
- tests/LanguageTest.php | 28 +-
- tests/Permissions/RestrictionsTest.php | 46 +-
- tests/Permissions/RolesTest.php | 112 +-
- tests/PublicActionTest.php | 38 +-
- tests/SharedTestHelpers.php | 45 +-
- tests/{ => Uploads}/AttachmentTest.php | 49 +-
- tests/Uploads/AvatarTest.php | 84 +
- tests/{ => Uploads}/ImageTest.php | 139 +-
- tests/Uploads/UsesImages.php | 73 +
- tests/UserProfileTest.php | 4 +-
- tests/test-data/bad.php | Bin 0 -> 560 bytes
- tests/test-data/bad.phtml | Bin 0 -> 560 bytes
- tests/test-data/bad.phtml.png | Bin 0 -> 158 bytes
- version | 2 +-
- 338 files changed, 14650 insertions(+), 11073 deletions(-)
- create mode 100644 .env.example.complete
- rename app/{ => Actions}/Activity.php (93%)
- rename app/{Services => Actions}/ActivityService.php (96%)
- rename app/{ => Actions}/Comment.php (94%)
- rename app/{Repos => Actions}/CommentRepo.php (77%)
- rename app/{ => Actions}/Tag.php (85%)
- rename app/{Repos => Actions}/TagRepo.php (91%)
- rename app/{ => Actions}/View.php (82%)
- rename app/{Services => Actions}/ViewService.php (85%)
- rename app/{Services => Auth/Access}/EmailConfirmationService.php (93%)
- rename app/{Services => Auth/Access}/Ldap.php (80%)
- rename app/{Services => Auth/Access}/LdapService.php (82%)
- rename app/{Services => Auth/Access}/SocialAuthService.php (92%)
- rename app/{ => Auth/Permissions}/EntityPermission.php (84%)
- rename app/{ => Auth/Permissions}/JointPermission.php (80%)
- rename app/{Services => Auth/Permissions}/PermissionService.php (85%)
- rename app/{Repos => Auth/Permissions}/PermissionsRepo.php (95%)
- rename app/{ => Auth/Permissions}/RolePermission.php (83%)
- rename app/{ => Auth}/Role.php (79%)
- rename app/{ => Auth}/SocialAccount.php (78%)
- rename app/{ => Auth}/User.php (98%)
- rename app/{Repos => Auth}/UserRepo.php (75%)
- rename app/{ => Entities}/Book.php (92%)
- rename app/{ => Entities}/Bookshelf.php (91%)
- rename app/{ => Entities}/Chapter.php (90%)
- rename app/{ => Entities}/Entity.php (82%)
- create mode 100644 app/Entities/EntityProvider.php
- rename app/{Services => Entities}/ExportService.php (94%)
- rename app/{ => Entities}/Page.php (92%)
- rename app/{ => Entities}/PageRevision.php (94%)
- rename app/{ => Entities}/Repos/EntityRepo.php (52%)
- create mode 100644 app/Entities/Repos/PageRepo.php
- rename app/{Services => Entities}/SearchService.php (81%)
- rename app/{ => Entities}/SearchTerm.php (85%)
- create mode 100644 app/Exceptions/HttpFetchException.php
- create mode 100644 app/Exceptions/UserUpdateException.php
- rename app/{Services => }/Facades/Activity.php (85%)
- rename app/{Services => }/Facades/Images.php (85%)
- rename app/{Services => }/Facades/Setting.php (85%)
- rename app/{Services => }/Facades/Views.php (85%)
- create mode 100644 app/Notifications/MailNotification.php
- create mode 100644 app/Providers/TranslationServiceProvider.php
- rename app/{ => Settings}/Setting.php (68%)
- rename app/{Services => Settings}/SettingService.php (97%)
- create mode 100644 app/Translation/Translator.php
- rename app/{ => Uploads}/Attachment.php (84%)
- rename app/{Services => Uploads}/AttachmentService.php (93%)
- create mode 100644 app/Uploads/HttpFetcher.php
- rename app/{ => Uploads}/Image.php (88%)
- rename app/{Repos => Uploads}/ImageRepo.php (96%)
- rename app/{Services =>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement