197 Commits

Author SHA1 Message Date
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
theopolisme
af9c914ff6 Add AFCH.Submission for representing submissions
This is currently *slightly* untested and will probably fail epically
in some cases. However, it’s a start :)
2014-02-10 16:30:27 -06:00
theopolisme
aa1a59b26b jshint 2014-02-10 16:29:14 -06:00
theopolisme
92dfffe30d misc fixes 2014-02-09 12:43:41 -06:00
theopolisme
43308110b7 travis indicator 2014-02-09 12:27:32 -06:00
theopolisme
2ef85d1540 Set up jslint and travis testing 2014-02-09 12:23:52 -06:00
theopolisme
bd4d820d7f info 2014-02-09 12:08:44 -06:00
theopolisme
a7c68f92a4 reshuffle 2014-02-09 12:03:08 -06:00
theopolisme
3d37e1fd0b Start hacking away on template parsing and such in submissions.js 2014-02-09 12:01:22 -06:00
theopolisme
4b24e167d0 Add parseTemplates functionality using Parsoid web api 2014-02-09 12:01:19 -06:00
theopolisme
1cb172991b deferiosity 2014-02-09 12:01:14 -06:00
theopolisme
862354a920 lintin' it up. and various fixes 2014-02-09 12:01:09 -06:00
theopolisme
910743befb $.getScript, fill in pagenames -- make functional 2014-02-09 12:01:03 -06:00
theopolisme
d76e8001e8 moar code 2014-02-09 12:00:54 -06:00
theopolisme
a12196a2cf -n
Start the rewrite

I know, I know, this throws errors and doesn’t make sense. But hey,
it’s a start :)
2014-01-04 22:26:02 -07:00