1998 Commits

Author SHA1 Message Date
Jon Atkins
ae88e8276f make max-links limit based on portal count - saves calculating when we wouldn't draw
show a 'too many portals' error as a marker when not drawn
2013-08-28 17:44:46 +01:00
Jon Atkins
ccc13b0131 added status update on resume from idle 2013-08-28 16:55:37 +01:00
Jon Atkins
4337fd1f21 add basic status bar updates for new map request code 2013-08-28 16:41:39 +01:00
Jon Atkins
1d354d4e05 set all path options to defaults, to ensure any changes made by highlighters (e.g. dashes used by portal weakness) are reset on a highlighter change 2013-08-28 07:02:27 +01:00
Jon Atkins
7923903544 make the refresh time dependant on the time the previous refresh took to complete, multiplied by a factor (currently times two)
this will ensure that we don't spend most of our time refreshing. also, when the backend servers go slow we naturally back off the refresh rate
2013-08-28 06:19:45 +01:00
Jon Atkins
3f4fae5d99 typo fix 2013-08-28 06:19:34 +01:00
Jon Atkins
0be0e3ea25 backward compatability - make details also avaliable as data form fields 2013-08-28 06:18:55 +01:00
Jon Atkins
b6ce79e323 fix typo in maxlinks plugin code 2013-08-28 06:02:51 +01:00
Jon Atkins
e793be9855 Merge branch 'master' into new-map-data 2013-08-28 00:50:58 +01:00
Jon Atkins
abab680a00 add note to the mobile 'known issues' about the login problem 2013-08-28 00:29:36 +01:00
Jon Atkins
bd908f3989 website: add faq entry for login issues 2013-08-28 00:27:50 +01:00
Jon Atkins
b7505ac2f3 website update for fixed build 2013-08-28 00:12:49 +01:00
Jon Atkins
82ede78844 fix running IITC at startup on mobile. we don't have jquery, so $(document) isn't available.
not sure if there's a native method to easily set the document.ready event, but a 1ms setTimeout will work just fine instead.
2013-08-28 00:09:58 +01:00
Jon Atkins
172b9ba7d8 update website for new release 2013-08-27 23:09:18 +01:00
Jon Atkins
77ac9c9d56 bump mobile version number - needed for new IITC release 2013-08-27 21:35:55 +01:00
Jon Atkins
39faef2c4c critical bugfix
- don't assume jquery is available when initially processing JS - setupIdle function added
- don't detect portals from a 'turret' entry - use 'portalV2' as the stock site does
- don't try to display the field MU counts when not in the data
2013-08-27 21:29:54 +01:00
Jon Atkins
571a17d84b work-in-progress - committing to switch to other work 2013-08-27 21:04:28 +01:00
Jon Atkins
81d0cb0ed8 create function to get portal image URL from details - and perform any necessary default URL replacement and https conversion 2013-08-27 18:16:02 +01:00
Jon Atkins
563258a897 sort portal layers so they're above links/fields - but only when there's not that many
a lot of redrawing occurs when sorting portals - so only ordering when there's a low number keeps things reasonably fast
2013-08-27 16:31:45 +01:00
Jon Atkins
cae60c0843 bugfix in error retry counting 2013-08-27 05:53:59 +01:00
Jon Atkins
dc41671279 map data now handles refreshes itself. this is so it can ensure that it doesn't start the refresh timer until all requests are complete
this avoids the situation where map data requests are slow enough that requests get aborted before a complete refresh has been done
2013-08-27 05:42:59 +01:00
Jon Atkins
0302d76a67 portal detail zoom - don't step out for zoom <= 12 - seems to miss some data as we're displaying things larger than the server expects
also, add a new attempt to fix the portal zoom issue (Lundefined) that occurs on mobile sometimes
2013-08-27 03:45:37 +01:00
Jon Atkins
de432a0aa3 more work on new render code. the new request class is now used - things are almost working right again
still need to change map refresh timer, add back resonators, and write a plugin for field MU count display
2013-08-27 02:43:58 +01:00
Jon Atkins
2c1b5fc06f Merge branch 'master' into new-map-data 2013-08-26 20:11:54 +01:00
Jon Atkins
be97d72158 more work-in-progress... 2013-08-26 17:44:08 +01:00
Jon Atkins
8984ff0285 possible fix for coordinate clamping on the right-hand-side of the map 2013-08-26 17:43:27 +01:00
Jon Atkins
7e3c310543 move map data debug tilers to a separate class 2013-08-26 15:51:16 +01:00
Jon Atkins
01a8dbf4be more work on map data rendering rewrite
marker creation/style changing moved out of rendering code (to allow use from elsewhere, and possible overriding by plugins)
2013-08-26 15:19:21 +01:00
Jon Atkins
de138dafc4 show-more-portals plugin updated to work better with new map tiles 2013-08-26 15:18:39 +01:00
Jon Atkins
5edcc7dbfa render limits are obsolete with the new code - remove contents of plugin
(file remains so users auto-updating get this 'empty' version)
2013-08-26 15:17:49 +01:00
Jon Atkins
7344e19265 fix 'show portal weakness, so it sets the fill, rather than border, colour when marking a not-weak portal 2013-08-26 00:56:41 +01:00
Jon Atkins
92aab3f328 fix version numbers - see #509 2013-08-25 18:32:24 +01:00
Jon Atkins
625d51d7ff Merge pull request #509 from Xelio/patch-plugin-sync-5
Bug fix: Plugin Sync
2013-08-25 10:30:27 -07:00
Jon Atkins
3c90960e4c work-in-progress - checking in while looking at other code on master. may be broken 2013-08-25 17:50:28 +01:00
Xelio
7dfaa27327 Plugin Sync: bump version number to 0.2.1 2013-08-25 23:59:48 +08:00
Xelio
8b9c6fbe0d Bug fix: Plugin Sync
1. Failed to create more than one realtime document.
   Pass assignIdCallback and failedCallback as function parameter for FileSearcher instead of saving it.

2. If a client with empty data use Sync plugin first, other clients will lose their data once connected with Realtime API.
   Assign '' to lastUpdateUUID on model initialization if the client do not have data.

3. Realtime API sometimes return 'CLIENT_ERROR' instead of 'NOT_FOUND' if a file is not found
   Change handling of 'CLIENT_ERROR' to the same as 'NOT_FOUND'
2013-08-25 22:50:59 +08:00
Jon Atkins
dff09ed0c1 work-in-progress on render rewrite... 2013-08-23 05:08:08 +01:00
Jon Atkins
772b980808 fix compute-ap-stats plugin - linkedEdges and linkedFields may not exist in portal data 2013-08-23 05:03:36 +01:00
Jon Atkins
91a75a0f2f add in portal click support and highlighters to new code 2013-08-23 04:28:09 +01:00
Jon Atkins
4f5f47831a remove pointless change of selected portal highlight colour in all highlighter plugins - make it the default instead
also tweaks to the show-more-portals plugin
2013-08-23 04:27:16 +01:00
Jon Atkins
07c28538fd work in progress - first attempt to use new rendering code
lots of things currently broken though...
2013-08-22 22:32:31 +01:00
Jon Atkins
fa11087621 bump version for rewrite of map data requests 2013-08-22 21:34:40 +01:00
Jon Atkins
9416708a17 Merge branch 'master' into new-map-data 2013-08-22 21:34:17 +01:00
Jon Atkins
4c57a31375 bump version, in case another release is needed soon 2013-08-22 20:15:22 +01:00
Jon Atkins
427f83bfb6 mark 'favorite portals' as deprecated. the 'bookmarks for maps and portals' plugin does the same (and more) so it's pointless maintaining both 2013-08-22 20:14:30 +01:00
Jon Atkins
c49caf674a plugin to hide portal ownership - useful for creating plans
for #503

note: currently doesn't always work correctly (size changes, but not colours?!) - hopefully pending map data rewrite will sort that out
2013-08-22 19:51:12 +01:00
Jon Atkins
726c82afe9 more work-in-progress. general render class done. no resonators, yet, no render limits, and no attempt to call the code 2013-08-21 19:01:29 +01:00
Jon Atkins
f2582cfcac work-in-progress on map data rewrite 2013-08-21 04:12:02 +01:00
Jon Atkins
fee3a73767 move map data tile cache code into it's own file and clase 2013-08-19 20:55:07 +01:00
Jon Atkins
755bc8148b sort the list of files returned from glob, for including the code/*.js. this will ensure a consistant order for every build, in case there are order-specific bugs 2013-08-19 20:43:11 +01:00