kts of kettek (muzukashi)
|
879437b96e
|
Renamed qwiki to QWiki wherever found. QCore now has a cwd property referred to when acquiring the working directory. The request object now has hash, pathname, path, and query properties parsed from req.url. req.area is now unescape()'d. Current act string is now a property of req as well. Queries are now parsed for 'QRULE', and if found, only that rule is sent to the client rather than the whole act. QWiki now calls initialize() method which will eventually populate the cwd with default files.
|
2016-02-17 23:36:16 -08:00 |
kts of kettek
|
da6d7004b6
|
Added more require functionality and fixed a minor bug in savePage wherein deleteCache referred to the old global instance of QWiki instead of self/this.
|
2016-01-27 03:21:10 -08:00 |
kts of kettek
|
7501ca4e41
|
QWiki can now be required as a module. If run directly, an instance of QWiki is created and started, as per before.
|
2016-01-27 02:55:36 -08:00 |
kts of kettek
|
2144e6d877
|
Separated QCore into a separate .js file -- should probably go into a lib directory. index.html favicon.png changed to /favicon.png. Added tmp directory creation.
|
2016-01-27 02:24:12 -08:00 |
kts of kettek
|
3df8bd9b6a
|
URL requests for files now defaults to application/octet-stream if it is not defined as a mimetype. delete act now can delete files as well as wiki entries -- it should be capable of deleting directories as well. formidable is now a requirement and adds the fields and files properties to the req object. Uploading files now works with the upload act. Fixed minor bugs with readDirectory and otherwise.
|
2016-01-23 21:14:48 -08:00 |
kts of kettek
|
5ab07bc609
|
Created the index/wiki hierarchy list view. Fixed some remaining bugs with readFile vs. qwiki.readFile. Added new icons for the index and one for the upload stub.
|
2016-01-22 04:12:21 -08:00 |
kts of kettek
|
312197cd41
|
Changed QWiki to now load acts from the acts directory. At the moment, there is no 'hotswapping' of acts, but this should be much more manageable.
|
2016-01-21 16:22:57 -08:00 |
kts of kettek
|
aed7fdfb66
|
Changed body weight to 300 and headers to 700. Now uses Roboto Mono instead of Ubuntu Mono since Roboto Slab was being used for the body. Added CSS styling to code tags. Fixed bug with markdown source being fed a Buffer when it needed a String (why did this work before..?). Added a TODO.md file.
|
2016-01-21 11:44:26 -08:00 |
kts of kettek
|
89fd896337
|
Default markdown formatter is now markdown-it. This gives access to extended functionality such as: table of contents generation, super text, section tags, definition lists, and much more.
|
2015-12-17 17:06:21 -08:00 |
kts of kettek
|
e1b8f765de
|
Fix for POST results not containing a value causing a crash.
|
2015-10-27 13:52:53 -07:00 |
kts of kettek
|
b2fae72a73
|
Fixed again, bogosity ensued with slashes.
|
2015-10-11 23:49:35 -07:00 |
kts of kettek
|
615621e210
|
Fixed crumbs to prepend / rather than append - this led to issues in navigation.
|
2015-10-11 23:44:26 -07:00 |
kts of kettek
|
23aead1e95
|
Added breadcrumbs functionality and modified css colors a bit
|
2015-10-11 23:41:15 -07:00 |
kts of kettek
|
c26af35ac4
|
Added basic ETag caching support. Works via stat mtime, but this is inefficient. A better solution would be to assume the '*/upload' act as the primary means of file changing and generate CRC32-based ETags on upload act. Full server reloading would likely clear this cache unless the currently unused 'index.json' (should be renamed) had a cache(d) files section.
|
2015-10-11 15:20:45 -07:00 |
kts of kettek
|
56f1385cb5
|
Initial commit of QWiki. Currently uses markdown as default (and cannot be changed outside of system code). Lacking some functionality. Needs to split into multiple component/module files, such as QCore and QWiki.
|
2015-10-11 15:09:43 -07:00 |