]> BookStack Code Mirror - bookstack/commit
Made some changes to the comment system
authorDan Brown <redacted>
Sun, 3 Sep 2017 15:37:51 +0000 (16:37 +0100)
committerDan Brown <redacted>
Sun, 3 Sep 2017 15:37:51 +0000 (16:37 +0100)
commitfea5630ea4343b33c353afb41d502d535f674331
treec67cb6be51475d2fab8a473b3e734d5400a1ef17
parente3f2bde26d2daa929d170d7411610921de51da42
Made some changes to the comment system

Changed to be rendered server side along with page content.
Changed deletion to fully delete comments from the database.
Added 'local_id' to comments for referencing.
Updated reply system to be non-nested (Incomplete)
Made database comment format entity-agnostic to be more future proof.
Updated designs of comment sections.
24 files changed:
app/Comment.php
app/Entity.php
app/Http/Controllers/CommentController.php
app/Http/Controllers/PageController.php
app/Page.php
app/Repos/CommentRepo.php
app/Repos/TagRepo.php
database/migrations/2017_08_01_130541_create_comments_table.php
resources/assets/js/components/index.js
resources/assets/js/components/page-comments.js [new file with mode: 0644]
resources/assets/js/global.js
resources/assets/js/translations.js
resources/assets/js/vues/components/comments/comment-reply.js [deleted file]
resources/assets/js/vues/components/comments/comment.js [deleted file]
resources/assets/js/vues/page-comments.js [deleted file]
resources/assets/js/vues/vues.js
resources/assets/sass/_comments.scss
resources/assets/sass/_variables.scss
resources/lang/en/common.php
resources/lang/en/entities.php
resources/views/comments/comment.blade.php [new file with mode: 0644]
resources/views/comments/comments.blade.php
resources/views/pages/show.blade.php
routes/web.php