Releases: ContentsViewer/ContentsPlanet
Releases · ContentsViewer/ContentsPlanet
ContentsPlanet 2022.08.31
Summary
- Enhanced search features.
- Support redirecting of content URL.
- Major changes in the syntax of content header.
- Major changes in plugin architecture.
- Removed
file-manager
page.- Alternatively added
admin
page. - Moved the log view feature into
log-viewer
page. - Moved the file management feature into
directory-viewer
.
- Alternatively added
- Changed URL formats.
- Changed URL style from UpperCamelCase to kebab-case.
- Changed the prefix of tag map URL from
/TagMap
to/:tagmap
.
- Deprecated
Splitter
. Inherit features to the new moduleSplitView
.
Features
ContentsPlanet
- Added new plugin architecture in which the users can add
html head
,js
,css
scripts to each frontend page. - Support php 8.0 or higher.
Frontend
- Enhanced search features.
- Suggest similar topics with last topic in a query.
- Suggest next topics to narrow down suggested contents.
- Show the search time.
Frontend/contents-viewer
- Support redirecting of content URL.
Frontend/directory-viewer
- Integrate file management feature.
Frontend/admin
- Added admin page.
Frontend/log-viewer
- Added log viewer page.
Module/ContentDatabase
- Caching in memory the content that has been loaded once for each request.
- Added the new syntax of content header.
- The users can describe additional information.
Module/PathUtils
- Added path operation module.
Module/PluginLoader
- Added module that loads additional scrips of each frontend page and common
html head
scripts.
Service/contents-search-service
- Added response data.
- Similar topics with last topic in a query.
- Next topics to narrow down suggested contents.
- Search time.
Client/SplitView
- Completely Element-Based Split View Controller.
- Inherit features from the legacy module
Splitter
.
Changes
ContentsPlanet
- Changed URL style from UpperCamelCase to kebab-case.
- Removed redirecting to old URLs.
- Renamed the path variable embedded in redirect URLs to other systems from
{CONTENT_PATH}
to{TARGET_NAME}
. - Changed normalized expression for content paths.
- Removed the prefix
./
.
- Removed the prefix
- Changed URL format except for content resources (e.g., tagmap page, scripts).
- Changed to URLs starting with
:
(e.g.,Master/:tagmap~
,Master/:scripts/~
).
- Changed to URLs starting with
- Changed some codes to follow coding style PSR-12.
- We are planning to change other codes gradually in the future.
- Improved security issues related to session ID cookies.
- Add
Secure
attribute if https. - Add
HttpOnly
attribute to prevent access to cookie values via JavaScript.
- Add
Frontend
- Add
view
tab in a page. - Changed a sort order of tag list and directory list from dictionary order to natural order.
Frontend/file-manager
- Moving the features to
log-viewer
anddirectory-viewer
, removed this page.
Frontend/viewer
- Removed the page variable
rootDirectory
.
Module/ContentDatabase
- Moved the content loading feature from class
Content
to classContentDatabase
. - Moved the database metadata management feature from class
ContentDatabase
to classContentDatabaseMetadata
. - Moved the content crawling feature from class
ContentDatabase
to classContentCrawler
.
Module/CacheManager
- Support operations by method chain.
- Changed the probability of gc as constant by each request.
Module/ScriptLoader
- Renamed the previous module
PluginLoader
that extract the scripts from a content toScriptLoader
.
Client/Common
- Added the common
css
. - Removed the common head file
CommonHead.html
. This corresponding feature is moved into the new plugin architecture. - Removed the common head file
EndpointCommonHead.html
for endpoint contents. This corresponding feature is moved into the new plugin architecture.
Client/Splitter
- The features is inherited to
SplitView
. - Deprecated from this release.
Client/ace
- Using
npm
for package management. - Update from
v1.4.12
tov1.5.3
.
Client/ContentsViewer
- Removed the deprecated properties
webkit-transition
,webkit-transform
from css.
Bug Fixes
Frontend/directory-viewer
- Fixed no preview of
png
,bmp
images.
Frontend/tag-viewer
- Fixed invalid access to undefined variables.
Frontend/directory-viewer
- Fixed a wrong highlighting of selected items in navigations.
Frontend/history-viewer
- Fixed wrong links to content, note page when the current page is note.
Module/CacheManager
- Fixed redundant loops while gc.
Module/OutlineText
- Fixed parsing issue that inline elements containing inline code in HeadingElement and ListElement were not parsed.
Client/ContentsViewer
- Fixed unexpected animations on page loaded.
ContentsPlanet 2021.08.31
In this release, we have made major changes to the design of the tag map page and the content editing page. We have improved the way of grouping contents by tags, to present the list of contents more clearly and simply. The loading method of the pages has been improved so that the pages are displayed more quickly. We have improved the design of the database, separated modules, and changed from a singleton to a multi-instance based design. In addition, we have fixed some bugs and changed the design.
Changes
ContentsPlanet
- Renamed the control tag
noindex-latest
, which means not to be included in recent updates, tonoindex-recent
. - Included the php configuration options
mbstring.internal_encoding
,default_charset
in the system settings.- Set the default character encoding to UTF-8
- Lowered the frequency of alert messages.
- In the case of https communication, added the secure attribute to the cookie.
- htaccess files are now updated only when there is a change in the configuration.
tag-viewer
- Changed the design of the tag list.
- Changed the design of the tag card list.
- Change the structure of the tag main page.
- Moved up the main tag list to the top
- Suggested content and tagged content are grouped not separated.
- Added an icon to the bottom right corner of the suggested content card to represent the suggestion.
- Added the feature to measure and log page generation time.
- Displayed a list of content with a single group of tags that have the same content.
- Avoided redundant information by displaying the same content with different tags.
directory-view
- Changed to lazy loading of images.
viewer
- Changed the design of content publication date and update date.
- Improved accessibility of the collapse button in the table of contents.
- Removed character limit for left and right content link titles.
- Changed the HTML structure around the footer.
- Removed the dividing line between summary and body elements.
- Reduced First Contentful Paint (FCP) time.
- Separate and preload style sheets.
- Lazy loading of plugin code.
error-page
- Reduced First Contentful Paint (FCP) time.
login
- Changed the design of the login page.
content-editor
- Changed the layout.
- Changed the design.
preview
- Changed input to the API to text in content format.
content-database-edit-service
- Renamed from
contents-database-edit-service
tocontent-database-edit-service
. - Changed the design of the Diff Edit Page.
- API specification changes
SaveContent
- Changed input to the API to text in content format.
related-search-service
- Added the feature to measure and log page generation time.
- Displayed a list of content with a single group of tags that have the same content.
ContentDatabase
- Renamed from
ContentsDatabase
toContentDatabase
. - The database can now be instantiated.
- At runtime, you can now have multiple databases at the same time.
- Added the feature to parse text in content format.
ContentDatabaseContext
- Separated from ContentsDatabaseManager.
- It has the role of managing each database category.
- It provides access to user, per-layer databases, tag maps, and indexes.
- It prevents modification and acquisition of data beyond the scope.
ContentDatabaseControls
- Separated from ContentsDatabaseManager.
- It provides methods for modifying and retrieving data from the database regardless of the segment.
SeachEngine
- The index can now be instantiated.
- At runtime, it is now possible to have multiple indexes at the same time, and search and registration can be executed for each index.
ContentsViewerUtils
- It now has the namespace
ContentsViewerUtils
.
OutlineText
- Updated MathJax version from 2 to 3.
- Set
loading=lazy
inimg
tag.- Set lazy loading of images by default.
- Enclosed the parsed output Html element in the
outlinetext-parser-output
class. - Added styles for the
dl
element. - Asynchronous loading of
SyntaxHighlighter
. - Only applied MathJax conversion to OutlineText parsing output.
- Adjusted the style to match the dark mode.
- Code block.
- Math link
- Changed the style of reference highlighting.
ContentsViewer
- Support for Chromium 77 and higher versions.
- Avoided using the optional chaining operator (
?.
).
- Avoided using the optional chaining operator (
- Deleted unused code.
Splitter
- Support for Chromium 77 and higher versions.
- Avoided using the optional chaining operator (
?.
).
- Avoided using the optional chaining operator (
- Now, it is possible to split the view within an element.
- In previous versions, it was only possible to split the entire window screen.
Bug Fixes
tag-viewer
- Fixed wrong HTML formatting of lists in navigation section.
directory-viewer
- Fixed wrong HTML formatting of lists in navigation section
contents-viewer
- Fixed wrong date/time format (ISO-8601) in structured data.
note-viewer
- Fixed wrong link to directory.
history-viewer
- Fixed wrong link to directory.
related-search-service
- Fixed null access issue when searching for related content before creating a cache for the target content.
OutlineText
- Fixed an issue where the code block or tag block immediately after a list or definition list would not be positioned at the correct outline level.
ContentsViewer
- Fixed an issue where some animations would not work when hovering over outline tag elements.
- Fixed an issue where the sibling content buttons were clipped.
- Fixed an issue where the layout would be corrupted when printing in Firefox browser.
Splitter
- Fixed a issue where the z-index of the slide bar would increase with each drag.
ContentsPlanet 2021.04.30
Changes
ContentsViewer
- The functions and variables of
ContentsViewer.js
were enclosed into the namespaceContentsViewer
. - Enable to send a message even when contents are rated highly.
- Show at least the first 5 section titles in the table of contents.
Bug Fixes
ContentsViewer
- Fixed an issue where a non-equation was mistakenly converted to an equation in the table of contents.
Splitter
- Fixed an issue where the slide bar could not be moved on non-document elements (e.g.
iframe
).
contents-viewer
- Fixed wrong HTML formatting of lists in the navigator.
ContentsPlanet 2020.08.31
From this release, the system's name has been changed from CollabCMS to ContentsPlanet.
Features
ContentsPlanet
- Add more sample contents.
PluginLoader
- Add plugin loader.
plugin
- Add plugin server.
viewer
- Support OGP (Open Graph Protocol).
contents-viewer:
- Support Article structured data
ContentHistory
- Add content history management.
history-viewer
- Add history viewer.
Client
- Using npm(Node Package Manager) for package management.
Changes
ContentsPlanet
- Rename System name from
CollabCMS
toContentsPlanet
.
ContentTextParser
- Enclose ContentLink with
[ ]
ContentsViewer
- No wrap the code in code block except print view.
OutlineText
- Adjust style of ref-highlight.
Localization
- Change term
access privilege
->access rights
CacheManager
- Improve performance of GC
ace
- Update
ver1.4.1
->ver1.4.12
ace-diff
- Update
ver2.0.0
->ver3.0.3
syntaxhighlighter
- Adjust style(e.g. font-size, line-height) in code block.
Bug Fixes
ContentsPlanet
- Fix wrong writing of
.gitignore
. - Fix the update issue of metadata and index.
tag-viewer
- Improve security about tagmap.
contents-viewer
- Fix the not-displaying the recent list and tag list in case of
Root_{layer}
.
OutlineText
- Fix the conflict reference list and section
- Fix wrong parsing of definition list
CollabCMS 2020.Jun.26
Features
CacheManager
- Enable to set the expire time of each cache
feedback-service
- Add feature to manage feedbacks
feedback-viewer
- Add feature to view feedbacks
Authenticator
- Add feature to generate and verify One Time Password (OTP)
Notifyer
- Add module to send internal notifications to external service
- notification by mail or Get Request for other API
- multiple sending
Changes
ErrorHandling
- Record the Request URI on Error
Debug
- Unify the log file of Service and Frontend
file-manager
- Remove tag view. Please use tag-viewer which has many features.
mail-service
- Mail Sending with OTP. Improve security.
- Only accept Post Requests from a page generated by the system. Block external Post Requests.
ContentsViewer
- Fold the header on clicking outer area of header
contents-viewer
- Show warning message if the Child or Parent path is not found or invalid path
Bug Fixes
ContentsDatabaseManager
- Fix Content Directory Traversal Issue
- Cannot link contents in different directory owned by different owner.
CollabCMS 2020.Jun.13
Features
contents-viewer
- Add integrated related view
ContentTextParser
- Add content link syntax
ErrorHandling
- Add logging feature of runtime Error
Changes
related-viewer
- Deleted because of integration with contents-viewer
tag-viewer
- Improve UI
directory-viewer
- Improve UI
contents-viewer
- Improve UI of recent changes list
OutlineText
- Enable to contain empty lines in reference list.
CollabCMS 2020.May.15
Features
CollabCMS
- 他言語に対応
Changes
directory-viewer
- ページタイトルに親ディレクトリ名を含めた
tag-viewer
- タグ付けされていないコンテンツも検索対象にした
related-viewer
- タイトルとタグごとに関連コンテンツを提示
- タイトルと類似するタグから関連コンテンツ提示
contents-viewer
- タイトルから自動タグ付け
SearchEngine
- SearcherとIndexerでindexの共有(メモリ節約)
Bug Fixes
directory-viewer
- navigator 内で, すべてのディレクトリが表示されない問題を修正
CollabCMS 2020.May.1
- Viewer
-
ディレクトリ内部表示機能の追加
- コンテンツと同階層にあるファイルが見つけやすくなった.
-
ノート機能の追加
- コンテンツ本文と分けたい内容を書けるようになった. 例えば, 構成のメモや議論など.
-
関連コンテンツ提示機能の追加
- 別ディレクトリにある関連コンテンツを見つけやすくなった.
-
タグマップ表示機能改良
- 複数のタグで絞り込みが可能
-
コンテンツタイトルがない場合, No Titleではなくファイル名を表示した
-
CollabCMS 2020.Apr.27
- CollabCMS
- htaccess
# BEGIN CollabCMS
~# END CollabCMS
間のみ上書き にした - 新着記事に載せないタグ追加
noindex-latest
- htaccess
CollabCMS 2020.Feb.10
- Viewer
- パンくずリストのスキーマをdata-vocabulary.orgからschema.orgへ変更
- OutlineText
- figureの位置を 右寄せ から 中央寄せ に変更
<iframe>
に対応- リスト と 定義リスト のタグ閉じの衝突修正
- ContentsDatabase
- コンテンツ読み込み時に作成時間と更新時間の情報をタイムスタンプに変換
<Tag>
→<Tags>