64 Commits

Author SHA1 Message Date
theopolisme
5d588b9923 Die if reviewing a nonexistent page 2014-02-26 21:40:44 -06:00
theopolisme
c856667023 AFCH.Text improvements (more cleanup replacements as well as better newline removal) 2014-02-26 21:40:31 -06:00
theopolisme
d9fb9b4ee4 spacing 2014-02-26 21:39:37 -06:00
theopolisme
ba8490a079 Include version in feedback 2014-02-26 21:38:32 -06:00
theopolisme
fa355c16aa Enable for Draft namespace; simplify into load() and setup() functions rather than beforeLoad/load/afterLoad silliness 2014-02-26 21:37:17 -06:00
theopolisme
66823ebd5b Tweaks, code style, clearer apis, various fixes 2014-02-26 21:35:40 -06:00
theopolisme
826ac1a4e1 o_O NOW YOU CAN DECLINE SUBMISSIONS o_O
jquery.chosen for a slick menu, lots of options, custom rationales, and
so much more. YAY!
2014-02-22 18:21:08 -06:00
theopolisme
a80fd80684 fixes 2014-02-22 18:19:25 -06:00
theopolisme
f10132d860 submit: allow selecting different submitters; various fixes for messages 2014-02-22 18:18:33 -06:00
theopolisme
9955c02d64 loadView: support callback functions for when view has been loaded 2014-02-22 18:17:39 -06:00
theopolisme
3ce77da282 AFCH.Submission.makeWikicode(): sexy positional parameters 2014-02-22 18:16:45 -06:00
theopolisme
4efadbe260 AFCH.Text: +removeExcessNewslines(), other improvments 2014-02-22 18:15:32 -06:00
theopolisme
1e6dce4a63 AFCH.Submission: +resetVariables(); sortAndParseInternalData() improvements; setStatus(): update timestamps, don't overwrite declines; addNewTemplate(): deep extend, include ns parameter; addNewComment: no default type conversion which messes up the falsiness 2014-02-22 18:14:28 -06:00
theopolisme
4d42a6f845 add code and design for submit functionality 2014-02-22 18:10:50 -06:00
theopolisme
baa7686d5a add user constant; fixes in notifyUser(); return a number in parseTimestamp() 2014-02-22 18:08:00 -06:00
theopolisme
8b91bcf777 Add AFCH.Page.getCreator() used in getSubmitter() 2014-02-18 06:10:46 -06:00
theopolisme
84bd5def30 *poof* add functionality, etc 2014-02-17 15:47:32 -06:00
theopolisme
ada7417fb2 Add AFCH.Submission.getSubmitter(), which returns either u parameter or else the last editor...which probably isn't right, and we should use the FIRST editor instead, and I am just now realizing that as I type this commit summary... but ah well. 2014-02-17 15:46:25 -06:00
theopolisme
1ba80ca6ed submit, g13 skeletons 2014-02-17 15:44:58 -06:00
theopolisme
a8e0759353 addFormSubmitHandler(), prepareForProcessing(): provide data for handlers, set up status container, hide old content, disable submit button, show status in button 2014-02-17 15:44:27 -06:00
theopolisme
4a3855ab2a AFCH.Text for modeling the text of a submission
Various methods for getting, setting, cleaning up, etc
2014-02-17 15:42:47 -06:00
theopolisme
0fc1f5898e Add new parameters in setStatus() 2014-02-17 15:42:06 -06:00
theopolisme
7a9699cd1c AFCH.parseForTimestamp() for getting timestamp from a string 2014-02-17 15:41:20 -06:00
theopolisme
c0080eb147 Model comments in AFCH.Submission
Also fix structure to be more adaptable; add addNewComment() method
2014-02-17 15:40:59 -06:00
theopolisme
7fc89b6f4a AFCH.actions: rename, avoid ugly underscores, pass edittokens, convert to html before substitution 2014-02-17 15:38:02 -06:00
theopolisme
2195746a9a AFCH.Page: add edit(), getLastEditor() 2014-02-17 15:36:00 -06:00
theopolisme
d759c4f6a4 prevent bumping down the bottom of the header; fix stupidity 2014-02-17 15:34:54 -06:00
theopolisme
045149d6a7 Commenting frontend design 2014-02-15 23:46:00 -06:00
theopolisme
bd986ae48c "Back" functionality 2014-02-15 23:45:04 -06:00
theopolisme
ed7eff3776 Add/implement AFCH.Viewer for abstracting view handling 2014-02-15 23:44:36 -06:00
theopolisme
0d2b4b8c90 Make AFCH instance modular; add close and reinit functionality 2014-02-15 18:57:07 -06:00
theopolisme
0c7e59d0ad +afchSubmit 2014-02-15 18:55:39 -06:00
theopolisme
64bec40b08 add "submit" button+style and handler for individual action screens 2014-02-15 18:54:56 -06:00
theopolisme
9164a4ffe4 generalize button css 2014-02-15 18:52:40 -06:00
theopolisme
8accdab4ef Design: submissions main/buttons/accept 2014-02-15 00:48:50 -06:00
theopolisme
33e7c512c4 Add hogan.js for templating 2014-02-15 00:47:05 -06:00
theopolisme
3ecb00a2e4 meh 2014-02-15 00:45:10 -06:00
theopolisme
20eebf7c86 By default hide parseTemplates() 2014-02-15 00:44:26 -06:00
theopolisme
35baf0be41 lowercase 2014-02-15 00:44:08 -06:00
theopolisme
093c57fb5d Update links/text/etc 2014-02-15 00:42:49 -06:00
theopolisme
c50737691d Set up a bit of versioning and add details about testwiki 2014-02-15 00:42:12 -06:00
theopolisme
3aa35f133b GPLv3 2014-02-15 00:40:04 -06:00
theopolisme
3d49e292d9 Add AFCH.log as a wrapper for mw.log 2014-02-15 00:39:49 -06:00
theopolisme
ec66d1619e start adding buttons and placeholders for handler functions 2014-02-12 20:38:55 -06:00
theopolisme
2a0c00ad87 Start working on css
This is just so I can have something to test with. In theory I have a
kind of radical idea for the design, but we should all probably discuss
it first…
2014-02-12 20:38:07 -06:00
theopolisme
896db73157 AFCH.Submission: improvements, expansions
publicize the parameters of a submission; offer awful method to get new
wikitext; allow custom values in addNewTemplate
2014-02-12 20:37:00 -06:00
theopolisme
d603578ff3 Add basic user notification functionality 2014-02-12 20:33:24 -06:00
theopolisme
7decfb8c94 AFCH.msg: substitutions 2014-02-12 20:32:23 -06:00
theopolisme
f96ab57960 standardize 2014-02-12 20:22:58 -06:00
theopolisme
a928fca697 Simplify filenames and add /modules folder 2014-02-10 20:28:45 -06:00