Commit Graph

  • 6161d963a3 Fix issues caused by acts not using req.area master kts of kettek (muzukashi) 2016-06-22 23:51:11 -0700
  • 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. kts of kettek (muzukashi) 2016-02-17 23:36:16 -0800
  • 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. kts of kettek 2016-01-27 03:21:10 -0800
  • 7501ca4e41 QWiki can now be required as a module. If run directly, an instance of QWiki is created and started, as per before. kts of kettek 2016-01-27 02:55:36 -0800
  • 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. kts of kettek 2016-01-27 02:24:12 -0800
  • fcfe8aac45 Modified CSS to have the content view have a minimum height if 70% -- this is a less than ideal alternative to making the content's height take up most of the screen save for the footer. Created the resources/ directory, containing base resources for the interface. At the moment, it just contains all the icons in the icons.svg file. kts of kettek 2016-01-25 14:46:38 -0800
  • 331eca575d Adjusted body background to be separate from the content background -- also added a shadow to the content. Updated TODO for future snazz. kts of kettek 2016-01-24 05:15:34 -0800
  • 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. kts of kettek 2016-01-23 21:14:48 -0800
  • 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. kts of kettek 2016-01-22 04:12:21 -0800
  • 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. kts of kettek 2016-01-21 16:22:57 -0800
  • 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. kts of kettek 2016-01-21 11:44:26 -0800
  • 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. kts of kettek 2015-12-17 17:06:21 -0800
  • e1b8f765de Fix for POST results not containing a value causing a crash. kts of kettek 2015-10-27 13:52:53 -0700
  • b90e66fd9d Added some flex-box styling for the edit input fields. Some ugly things going on here with box-sizing and such. kts of kettek 2015-10-12 01:59:43 -0700
  • b2fae72a73 Fixed again, bogosity ensued with slashes. kts of kettek 2015-10-11 23:49:35 -0700
  • 615621e210 Fixed crumbs to prepend / rather than append - this led to issues in navigation. kts of kettek 2015-10-11 23:44:26 -0700
  • 23aead1e95 Added breadcrumbs functionality and modified css colors a bit kts of kettek 2015-10-11 23:41:15 -0700
  • 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. kts of kettek 2015-10-11 15:20:45 -0700
  • 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. kts of kettek 2015-10-11 15:09:43 -0700