Marcel Klehr
d19e11772c
latest version
2013-12-31 15:53:02 +01:00
Marcel Klehr
0f7fd11880
Aha, my assumptions were wrong. Change assetions to pass
2013-12-30 18:19:57 +01:00
Marcel Klehr
07aa751731
Add assertions for the results of CHANGESET_REQ
...
fails nearly all the time :/
The assertions are most likely not broken, so I think the code is.
2013-12-30 17:35:04 +01:00
s1341
321aa05eab
Fix transition bug; add scrollIntoView.
2013-12-22 18:41:39 +02:00
s1341
d89babfaeb
Handle clicking slider when playing
2013-12-22 18:27:34 +02:00
s1341
b4baba6155
Fixed transition algo not incrementing start
...
Added HUGE (1000 revs) bucket. There are still some libchangeset errors
which need fixing.
2013-12-22 18:21:54 +02:00
s1341
805e492e74
Handle new author info and revisions
...
Handle upstream new revisions and added users/authors.
2013-12-21 19:25:25 +02:00
s1341
3c0bd5767b
Implement authorinfo; split RevisionSlider out
2013-12-20 14:12:48 +02:00
s1341
ed3e88ba20
Real fix for the traversal/granularity bug.
...
The algo could still use improvements. In addition, the order of
execution of the callbacks means that the lower granularities will
always be available first, even if higher granularities were requested.
Note that there are some strange libchangeset errors now.
2013-12-17 17:36:22 +02:00
s1341
1c6012b29f
Workaround for granularity issue.
...
Just return the granularity discovered to be empty from findPath and
provide it to requestChangesets. This is very sub-optimal, as it will
almost always result in granularity==1.
2013-12-17 17:36:22 +02:00
s1341
275c26f872
Cleanup; add getHeadRevision function to connection
2013-12-17 17:36:21 +02:00
s1341
a5eced9952
Allow compose or apply to be used in GoToRevision
...
Controlled on the static PadClient.USE_COMPOSE variable.
2013-12-17 17:36:20 +02:00
s1341
13f4a71aba
Clicking steppers should pause playback
2013-12-17 17:36:20 +02:00
s1341
541f0e5517
Fix top of editorcontainer so that it isn't behind timeslider
2013-12-17 17:36:19 +02:00
s1341
14b2af44a1
Don't process clicks on steppers if disabled
2013-12-17 17:36:18 +02:00
s1341
ab9b55dbc4
Play/Pause working.
2013-12-17 17:36:18 +02:00
s1341
ccfb0e2d56
Change changesetLoader to run every 200ms:wq
2013-12-17 17:36:17 +02:00
s1341
b8591edc8d
Sliding now triggers goToRevision.
2013-12-17 17:36:16 +02:00
s1341
676ff3f436
Handle is only moved when triggered event is done.
2013-12-17 17:36:16 +02:00
s1341
eef08490b2
Minimal working UI wireup
...
Working:
- location.hash
- click on slider
- stepper buttons
- UI update (except authors)
Not working:
- playback
- bugs in transition code
2013-12-17 17:36:15 +02:00
s1341
3013bab251
More or less working goToRevision
...
There are still some bugs in the traversal algorithm, as well
as bugs being triggered in the server. Also, for some reason it looks
like there is a problem with the attribute pool not containing certain
elements.
2013-12-17 17:36:14 +02:00
s1341
f49abe61b7
Cleanup
2013-12-17 17:36:13 +02:00
s1341
11146ce1cd
Cleanup cruft. Start wiring things up
2013-12-17 17:36:12 +02:00
s1341
360bb55dac
Fix discontinuity detection in revision traversal
2013-12-17 17:36:12 +02:00
s1341
186efe0b21
Make the transition algo a little more accurate.
...
There are still some weird kinks in the traversal algorithm. For
example, trying to go from 9 -> 19 fails very oddly.
2013-12-17 17:36:11 +02:00
s1341
c634822a9d
Fix reverse traversals
2013-12-17 17:36:10 +02:00
s1341
1eddedc434
working revision/changeset graph
...
findPath works. transition requests changesets from server. processing
of changesets works correctly.
Only need to manage the async-ifying of transition, which is currently
written as a while loop, (with a short-circuit break for debugging).
2013-12-17 17:36:10 +02:00
s1341
66c75e0fc9
Missed one element
2013-12-17 17:36:09 +02:00
s1341
3d4b6a9a4a
Cleanup code (jshint)
2013-12-17 17:36:08 +02:00
s1341
88971c1462
add missing break
2013-12-17 17:36:08 +02:00
s1341
e54d63dbcb
Fix syntax errors
2013-12-17 17:36:07 +02:00
s1341
8c96c4c60e
Spike of revision graph
2013-12-17 17:36:06 +02:00
s1341
6526942c11
PadClient initial
2013-12-17 17:36:06 +02:00
s1341
78eb0c7410
Working changesetloader (no caching)
2013-12-17 17:36:05 +02:00
s1341
47a6c74bde
Add configurable interval
2013-12-17 17:36:04 +02:00
s1341
30279e2fe3
Fix typos, add Thread class
2013-12-17 17:36:04 +02:00
s1341
a90cf74108
wrong findPath function. corrected
2013-12-17 17:36:03 +02:00
s1341
488c110383
add missing require for jquery.class
2013-12-17 17:36:02 +02:00
s1341
2a63aa5b44
add revisioncache which is destined to replace broadcast_revisions
2013-12-17 17:36:02 +02:00
s1341
788a59bfa4
Split slider out to a separate file
2013-12-17 17:36:01 +02:00
s1341
748b38f9d6
Steppers/Play-pause now in CSS
...
Also, the steppers actually work.
2013-12-17 17:36:00 +02:00
s1341
57ed44ff75
Working slider with mouse and events
...
Working slider class with mouse handling (click, drag) and events
(change, slide). Lots of console logs still in the code.
Got rid of some of the legacy code.
2013-12-17 17:36:00 +02:00
s1341
012cd184db
forgot to add jquery.class plugin
...
without this, the timeslider and sliderui classes don't work
2013-12-17 17:35:59 +02:00
s1341
e6a426de4a
Initial UI classes, with working partial rendering
...
The slider handle and stars render correctly. Not yet wired up to real
events.
2013-12-17 17:35:58 +02:00
s1341
95310dafd4
handlers dict needs to be in AuthorizedClient; cleanup
2013-12-17 17:35:57 +02:00
s1341
e55ef0fe95
Introduce timeslider object
...
This commit introduces a new TimesliderClient object which will
eventually handle all communication with the server in a sane fashion.
At the moment, minimal work has been done to wire the existing code into
this object. The current 'on("MESSAGE_TYPE")' model will change so that
the timeslider object is actually the one managing all the information,
instead of delegating it all out to callbacks.
This current version still works just as the stock version did.
2013-12-17 17:35:57 +02:00
John McLear
d1cad04647
Merge pull request #2038 from s1341/fix/server_not_checking_changeset_req_bounds
...
Server doesn't check bounds on CHANGESET_REQ arguments
2013-12-17 06:45:40 -08:00
s1341
5add63165d
Fix server side bug index overflow
...
The server wasn't properly checking that the changesets it needed to
return for changeset_requests actually existed.
2013-12-17 15:37:35 +02:00
Siebrand Mazeland
6f6a86faa6
Localisation updates from https://translatewiki.net .
2013-12-17 08:52:50 +00:00
John McLear
7d47d91a08
Merge pull request #1514 from ether/dont-die-on-bad-html
...
dont die on bad html but only warn to api logger but dont tell client th...
2013-12-16 03:08:42 -08:00