- Fixes and updates for Nim >= 1.2.4.
- Clean out and optimizations.
- Fix #121, #122 and #123
- Bug in uploading files to the public and private folder. A slash / was messing with the folder location.
- Bug, if 2fa field was empty login was not possible.
- Bug in loading recaptcha JS (crossorigin anonymous)
- Removed minifyhtml on demo HTML to give user pretty HTML to edit
- Nim V1.0 compatible.
- PackedJSON Compile-Time optional compatible performance optimization, via
-d:packedjsonhttps://github.com/Araq/packedjson#packedjson - Move static
constvery long strings to a dedicatedconstants.nimfile, to keep code clean of long static strings. - Version is now set using Nimbles
NimblePkgVersionhttps://github.com/nim-lang/nimble/blob/master/changelog.markdown#0110---22092019 - Add proc
getConfig(path, section)to get aTableof configs, to DRY reading configs. - Add
--version-hashto show Version (Git Short Hash). - Add
--backupdbFull backup of database (Raw SQL plain text file). - Add
--backupdb-gpgCompressed signed full backup of database (GPG+SHA512+TarGz). - Add
--backuplogsCompressed full backup of all old unused rotated Logs (TarGz). - Add button for Admin that can Backup Database and Logs from Dashboard.
- Internal modules reorder for performance and DRY.
- Removed
--insertdata clean, not too useful. - Add
--insertdata waterWater CSS framework, No JS, classless HTML (No classes on HTML required), is like a better--insertdata cleanhttps://u.nu/yosc - Update Docs.
- Fix #119
- Minor bugs.
- ReCaptcha compile flag missing + minor bugs
- Contra preconditions check for salt removed due to random len
- If user does not have access to page (e.g.
/p/mypage) redirect to/ - On startup it is checked, that the tables are present in the database
- Args
--insertdata, post-conditions replaced with error message and user needs to confirm to avoid overwriting
- Compatible with Nim >=
0.20.2. -d:hardenedSecurity Hardened mode via compile time flag, optional (based from Gentoo Hardened and Debian Hardened).-d:contractsDesign by Contract mode via compile time flag, optional (similar to Ada, Eiffel, etc).--backupdbCompressed signed full backup of database. Vacuum database.-d:recaptchaCan enable/disable code generation for ReCaptcha at compile time.--showconfigPrint to terminal the parsed INI configuration and compile options for debug.connectDb()Template injectsdbof typeDbConnwherever you call it.- Release builds are automatically stripped.
- Clean out code, update Readme, update docs, update help messages on terminal.
- No HTML/CSS/JS/UI/Visuals touched, nor added nor removed, no visual changes.
- Clean out, style fixes, performance fixes, etc.
- Refactor on command line arguments parsing.
- Update readme.
- Remove dependency on HTML_Tools package (used functions copied on html_utils).
Note: Security Hardened mode by definition has a performance cost (~20%).
- Fixed bug in recompile function. Used when enabling/disabling plugins
- Support for libravatar on profile picture
- Updated Bulma version
- Admin can reset user
- Design of plugin store is updated
- Design of user overview
- Design of user profile
- Copy NimWC log with 1 click
- Set uploaded files filename to lowercase or use MD5 checksum
- Custom appname
- Wrong order of params in lastOnline
- Docs added
- CSS class to hide or show blog categories
- Minify HTML
- Plugins.json structure changed
- New column in
persontable:avatar:
ALTER TABLE person ADD COLUMN avatar VARCHAR(300);- A new param in the config.cfg file, which is used in the
<html lang="?">:
[Language]
standardLang = "en"
- Add Server Info page for Admins, it displays runtime server stats
- Add Force Server Restart for Admins, restart on 1 second
- Update Bulma version
- Filter avatar image file format, because Crop thingy get buggy/slow with GIF
- 2 Factor Authentication
- Add MimeType, Size, CheckSum to Files page, useful for UI/UX building
- Add button to Copy all the Logs content on one click on Logs page
- Add Dockerfile to the repo
- Add Vagrantfile to the repo
- Add Service file to the repo
- Update Readme
- Update Nimble file
- First release of 2019
- New column in
persontable:twofa:
ALTER TABLE person ADD COLUMN twofa varchar(60);- New column in
blogtable:viewCount:
ALTER TABLE blog ADD COLUMN viewCount INTEGER default 1;- New column in
blogtable:pubDate:
ALTER TABLE blog ADD COLUMN pubDate VARCHAR(100);- New table:
files:
./nimwc --newdb- Dependency firejail, install firejail on your system
- Dependency webp, install libwebp on your system
- Remove min and max length on meta text
- Include blogsort when creating database
- Redirect to "/" when not logged in and accessing users/
- Admin user was not added
- Front slash is preserved in the url for blogposts and pages
- Styling of tags and categories on blogposts
- Support for category and tags on blogposts
-d:demoloadbackupis removed- Testuser can not edit pages
- Fix robots.txt to avoid problems with Google Webmaster
- Fix #29, #31
- Drop Bootstrap+JQuery, Add Bulma CSS Framework, but still support Bootstrap.
- Try to not depend on OS commands like
cp,ln, etc. - Add simple Logs Viewer directly from browser.
- Add Auto-Rotating file Logger.
- De-Branded by default.
- Code Clean out.
- UI Redesign.
- Allow special chars in url with
encodeUrl(@"url", true)
- Include meta info on pages
- The user are prompted before deleting a file, page and blogpost.
- When adding a new page only basic information is available. Right after saving the new page, the user is redirected to the editing page.
- When viewing all the blogpost the metadescription is inserted below.
- Include Summernote as editor
- Custom blog order
- Database tables
settingshas been updated with the columns:blogorder.
/*
Update your SQLite database with the following queries.
$ sqlite3 data/website.db
$ [paste and run]
*/
ALTER TABLE settings ADD COLUMN blogorder TEXT;
ALTER TABLE settings ADD COLUMN blogsort TEXT;- Bugfixes
- Improved design
- Cleaned up some code (DRY)
- Added
js_custom.jsandstyle_custom.cssto avoid changing in core js and css
- Custom
sitemap.xmlandrobots.txtin the folderpublic/will be overwritten. - Admin console (pages accessed from settings) now has static core CSS, JS and background images. Changes to
js.jsandstyle.csswill only affect user pages. - Database tables
pagesandblogposthas been updated with the columns:title,metadescriptionandmetakeywords.
/*
Update your SQLite database with the following queries.
$ sqlite3 data/website.db
$ [paste and run]
*/
ALTER TABLE pages ADD COLUMN title TEXT;
ALTER TABLE pages ADD COLUMN metadescription TEXT;
ALTER TABLE pages ADD COLUMN metakeywords TEXT;
ALTER TABLE blog ADD COLUMN title TEXT;
ALTER TABLE blog ADD COLUMN metadescription TEXT;
ALTER TABLE blog ADD COLUMN metakeywords TEXT;