Changelog:
Code:
fix: corrected typo in loot containers loot list
update:tidied up save mod page
update: added steam login check for all edit modes
implemented: xlib script where all button commands in edit mode are processed
implemented: save node button for xmlcode view
xpath index used for redirect path so the in the case of a key attribute change the new node can be found (for example a block name change)
implemented: clone node button for xmlcode view
implemented: add new node button for xmlcode view
implemented: delete node button for xmlcode view
fix: changed the logic for determining if you were logged in so that query strings for xpath didn't cause false positive and present logout button when not logged in
update: cleaned up the menu css
fix: removed an extra </LI> that was being added in xml view mode
fix: removed groups, misc_groups, misc_qualityinfo from code so attempts to follow links to those pages stop generating errors
update: menu redesign
implement: added prefabs library page
implement: add xpath library page
update: improved xpath search page design
update: added font 28dayslater to interface/css
fix: ERROR CATCHING - Add error catching for invalid xpath
implement: nodelist quick link to xpath search
fix: xui/styles - find workaround for styles with no name (added index column and reference individual styles by index predicates, can use same method for recipe editor)
XML EDITOR
update: change all detailed views to use view class instead of individual class functions for consistency and ease of updating
added editor functions to all detailed pages
added new node templates to all pages that required it, template is used by both the table view and detailed views if enabled
fix: improve the 'add new _' button on table view page to create more complete new node in context to page (templates)
fix: changed clone node to use post method for sending xml to xlib to avoid calling a url that is too long (i.e. vehicles clone)
implement: code tidy and consistency check: Table view - gui, xml, code editor, nodelist (for all files)
implement: create api landing page for xpath/xaction system (xlib)
implement: xmlview edit functions (delete, change value, add node, clone)
validatation rules
- blocks (unique id, unique name (including item names), property name/value or class attributes, id and name present, various code structure checks)
- items (unique id, unique name (including block names), property name/value or class attributes, id and name present, various code structure checks)
create editor interface
- redirect to self on save
- redirect to new node on add/clone node
- redirect to table view on delete node
- code editor for all config table views
- code editor, xml edit, xml gui modes
- blocks
- items
update: Changed download link to open a separate page with the link on it instead of instant download from the menu (so that more info about the download can be provided and options selected (include vanilla config/prefabs etc) in the future)
update: Added screenshot functions for prefabs detailed view
update: add size and height to prefabs table view using Hals prefab_info.xml
update: add size and height to prefabs details view using Hals prefab_info.xml
update: add blocks and count into to prefabs details view using Hals prefab_info.xml
implement: mod upload functions:
-scan zip files for valid files to extract
-filter non valid files (non xml/image/tts/txt)
-option for individual file upload
-create _draft version and move all uploaded files to the draft
implement: docspecs
-change docspecs to php script and load in headers
-generate dynamic menu options in docspec instead of view class
Lots of changes uploaded to the server. Let me know if you find any bugs
(or if you hate the font, or anything else
)
Only the block gui editor is working atm, the rest are in place but you wont be able to do anything with them until I make the docspecs (next on todo list) You can still use XML Code mode to edit any section without the validation and restricted editing that will be present in the xml gui and xml edit modes.
File uploads should also be working, but I can see a few tweaks it needs to give a bit more feedback about what is happening. (also needs a merge with mod function)
Try not to break it, I need a couple days off ;P
Might do a video in a couple days once I finish up some more doc specs and get a bit of the mod admin stuff sorted.