2213 Commits

Author SHA1 Message Date
Xelio
d227ba2a61 Plugin Draw Resonators: New Styler: Highlight resonators deployed by specific player 2013-09-17 22:57:07 +08:00
Xelio
7e2440deaf Plugin Draw Resonators: Styler: Change 'Hightlight <10% resonators' styler to allow user input percentage 2013-09-17 22:20:22 +08:00
Xelio
1adc84eccb Plugin Draw Resonators: Allow add/remove option to setting dialog dynamically. 2013-09-17 22:20:22 +08:00
Jon Atkins
fb96a45e1c experimental plugin to show link direction. slowly animating dashes are shown at the source portal for links
performance is an issue when many links are displayed...
2013-09-17 07:33:50 +01:00
Jon Atkins
aad3c77ff9 add linkAdded and fieldAdded hooks, to mirror the portalAdded hook 2013-09-17 07:33:14 +01:00
Jon Atkins
d07164685a Merge pull request #550 from Xelio/patch-plugin-draw-reso-3
Plugin Draw Resonator: Add styler to highlight player's resonators or L8 resonators
2013-09-16 22:11:06 -07:00
Jon Atkins
d0a35ac4f1 new plugin, for use on unattended display screens. causes idle mode to be left once per hour, refreshing chat and map data 2013-09-17 02:27:06 +01:00
Jon Atkins
40b653ae08 more tweaks, and some logging, to the enter/exit of idle mode 2013-09-17 02:25:17 +01:00
Jon Atkins
37131aaf8e move player name cache from localStorage to sessionStorage
this gives a simple method of expiring entries. also, prevents localStorage from filling up with thousands of player names over time
(ideally something controllable with configurable age should be used, but this was a quick and simple change to try first)
2013-09-16 22:22:19 +01:00
Jon Atkins
634759ea22 hide system accounts (__ADA__, __JARVIS__, etc) from the player list in guess player levels
for #559 (and possibly another older bug?)
2013-09-16 21:34:04 +01:00
Jon Atkins
7165acd30e add a function to query if a player guid is for a system special account (e.g. __ADA__ or __JARVIS__, possibly others in future too - NIAOPS?) 2013-09-16 21:33:17 +01:00
Jon Atkins
9b3caa8eb9 add function to start 'idle' mode - for use in the mobile app (rather than it forcing the idle timer)
the existing idle resume function can be used on returning to iitc

also, fix the long-standing bug on mobile where the map disappears after repeated touch panning/zooming. seems leaflet gets confused about zoom levels and ends up with a non-ingeger. when this is found, force it back to an ingeger zoom level when this happens
2013-09-16 00:01:25 +01:00
Xelio
f7905fe6ab Plugin Draw Resonators: Change description to reflect the styler function. 2013-09-15 00:12:50 +08:00
Philipp Schaefer
59e5be98ed back to lat,lng query since gmaps v7.2 fixes the decimal separator bug 2013-09-14 11:09:21 +02:00
Jon Atkins
79cd0132e7 add comment as a reminder of possible future work to clear 'faked' links earlier - if possible 2013-09-14 08:29:16 +01:00
Jon Atkins
68cf5d0aa4 fix idle resume sometimes triggering during an existing request 2013-09-14 08:28:24 +01:00
Jon Atkins
01fe9bf51c only add link entities to the layer if they're long enough to be visible
an improvement on 4838de6788ad27bbf6357e1ac9099744483a9e01 to prevent excessive links being drawn when lots of portals are loaded
2013-09-14 07:31:13 +01:00
Jon Atkins
4838de6788 create missing link data from portal link info - so short links not sent are shown in the map
note: need to add code to hide short links from the map - and update the shown/hidden links after a zoom
(similar to the portal cluster showing/hiding portals after a zoom)
2013-09-13 23:14:19 +01:00
Jon Atkins
f646f481fc use 'overlayadd/remove' instead of 'layeradd/remove' events. in theory should be more efficient as layeradd/remove gets called for every single portal/link/field/etc on the map 2013-09-13 23:12:49 +01:00
Jon Atkins
b5a52d810e bump version number. it seemed to have been increased and reverted at some point (possibly just dev/test/local builds?) breaking auto updates 2013-09-13 22:47:40 +01:00
Jon Atkins
b1223d20ae revert plugin name change - it breaks automatic updates
(from #553)
2013-09-13 22:44:49 +01:00
Jon Atkins
be72f6c1c2 Merge pull request #555 from Xelio/patch-event-overlay-add-remove
Status persistence of Layer Chooser: Change to save status on 'overlayadd' and 'overlayremove' events. Instead of checking .overlay everytime a layer is added or removed.
2013-09-13 09:50:27 -07:00
Xelio
34affdbff7 Plugin Draw Resonators: Add styler: Highlight resonators with less than 10% energy 2013-09-13 22:30:34 +08:00
Xelio
7ce064399a Status persistence of Layer Chooser: Change to save status on 'overlayadd' and 'overlayremove' events. Instead of checking .overlay everytime a layer is added or removed. 2013-09-13 21:50:29 +08:00
Philipp Schaefer
cf6b974a8f bumped version number, removed not used dimens entry 2013-09-13 11:54:23 +02:00
Philipp Schaefer
95325cc336 * added advanced menu...most users are not interested in the debug pane
* moved debug pane to advanced menu
* added clear-cookie button to advanced menu (fix for #551)
2013-09-13 11:23:22 +02:00
Jon Atkins
7b12e0bcc2 Merge pull request #553 from vita10gy/highlighter_fix
Fix color resetting in plugins
2013-09-12 20:00:08 -07:00
Jon Atkins
af0bf6e6df also use munged RPC name in URL - as that's what the stock javescript does (as far as I can tell - it's stopped returning this munged version for now)
for #552
2013-09-13 03:34:52 +01:00
vita10gy
7eaf196dee Fix color resetting in plugins
Remove defaulting in highlighters, which isn't needed, and was setting
the wrong thing anyway.  Also a little new hightlighter
2013-09-12 20:20:16 -05:00
Jon Atkins
e9d173402b update munge sets for new one seen in the wild
also attempt to munge method names. this has not been tested though, as only my cron job has seen the new munge sets, not the browser
for #552
2013-09-13 00:12:54 +01:00
Jon Atkins
1a77ddad77 max links: start rename process to 'tidy links' 2013-09-12 19:49:03 +01:00
Jon Atkins
afcc740f5c Merge pull request #542 from Xelio/patch-plugin-draw-reso-2
Plugin Draw Resonator: Add dialog for changing the zoom level which resonators start to display
2013-09-12 10:50:47 -07:00
Xelio
43788477f0 Plugin Draw Resonators: Add styler: Highlight L8 resonators 2013-09-13 00:36:54 +08:00
Xelio
2fdec66f84 Plugin Draw Resonators: Add styler option to setting dialog, fix a few bugs in setting dialog 2013-09-13 00:36:36 +08:00
Xelio
b80307cb40 Plugin Draw Resonators: Add styler: highlight my resonators 2013-09-13 00:35:55 +08:00
Xelio
c1a42e5d5a Plugin Draw Resonators: Add dialog for changing the zoom level which resonators start to display. 2013-09-13 00:27:20 +08:00
Xelio
79f0bda15f Plugin Draw Resonators: Create callback function in render 2013-09-13 00:27:20 +08:00
Xelio
a0dff90e7a Plugin Draw Resonators: Add callback and call them in Optinos.changeOption 2013-09-13 00:23:39 +08:00
Philipp Schaefer
33dbc802b5 updated changelog and bumped version number of farm finder 2013-09-12 17:31:05 +02:00
Philipp Schaefer
4fa363a819 align farm-finder-select to the right on mobile (fix for #548) 2013-09-12 17:28:15 +02:00
Philipp Schaefer
8105f172af force leaflet popup msg color to black on mobile (fix for #548) 2013-09-12 17:14:17 +02:00
Philipp Schaefer
1efefe4de5 calculate number of plugins correctly 2013-09-12 16:34:44 +02:00
Philipp Schaefer
cc78717786 let farm_level_select work on mobile (fix for #548) 2013-09-12 14:36:24 +02:00
Philipp Schaefer
aa219300f8 user plugins back to top + use header categories 2013-09-12 12:07:32 +02:00
Jon Atkins
63467df342 add selected portal marker colour *after* running the portal highlighter
for #547
2013-09-12 06:57:50 +01:00
Jon Atkins
74cc365e9a faction layers - add/remove fields and links before portals - this way portals tend to remain above links/fields when things are toggled 2013-09-12 04:56:31 +01:00
Jon Atkins
f68153e1f5 add faction layer choosers
fix #536
2013-09-12 04:04:49 +01:00
Jon Atkins
ac6a235564 first stage of having faction-specific layers - portals, links and fields are now a layer group consisting of three faction-specific leaflet LayerGroups
also, move load.js from directly embedded in boot.js into an external file
2013-09-12 03:07:25 +01:00
Jon Atkins
9579ca8377 remove broken debug code - this didn't do anything useful after the render rewrite 2013-09-12 03:06:16 +01:00
Philipp Schaefer
d9448aac34 change targetPackage for pluginPreference intent for test-builds (fixes #544) 2013-09-11 14:09:12 +02:00