Jon Atkins
bf5e58a4ba
remove pre-defined munges
...
the new code has been so successful at detecting them successfully, it seems pointless keeping them up to date manually all the time
if a site update breaks the regular expressions, it would surely change the munges too, breaking any defined in the code
2013-12-20 23:31:01 +01:00
Jon Atkins
95314817b2
portals-list: set 'nowrap' on portal table - improves things on mobile
2013-12-20 23:31:01 +01:00
Jon Atkins
a4d4070c94
geodesic line drawing: alternative intermediate point calculation code - based on simpler lon->lat formula rather than N intermediate points
...
more than good enough for line drawing, and hopefully will avoid odd rounding issues seen on mobile
2013-12-20 23:30:30 +01:00
Philipp Schaefer
9f9dfa60e3
check if actionbar is present before using it
2013-12-20 23:30:30 +01:00
fkloft
7dd4c27c26
mobile: Fix desktop mode
...
(plugins would not be reachable)
2013-12-20 23:30:30 +01:00
Jon Atkins
89371f732d
portals-list: more changes
...
- add AP column - destroy+capture AP, with tooltip showing details
- clean up handling of truncated portal names - removes unnecessary wrapper <div>
- shortened resonator column title
- add/remove tooltip and help cursor where it makes sense
- add % to health column
2013-12-20 23:30:30 +01:00
Jon Atkins
e9219c5e3a
change digits function to use unicode 'thin space' as thousands seperator
2013-12-20 23:30:30 +01:00
Jon Atkins
d8dc9d4722
portal details ap: missed change from earlier commit - now funally includes field counts in calculations
2013-12-20 23:30:30 +01:00
fkloft
110c38a63a
Show a little red dot on the northern resonator (details pane + mobile status bar)
2013-12-20 23:30:30 +01:00
fkloft
6839bf71e3
mobile statusbar: update statusbar immediately on selection using reduced data, redraw when portal details available
2013-12-20 23:30:30 +01:00
Jon Atkins
e5cb8254d5
digital bumper sticker: fix so it doesn't cause JS errors when IITC is running
2013-12-20 23:30:30 +01:00
fkloft
2e940000b4
guess-player-levels: improved tooltip
...
- include player nickname (in case the nickname is too long to be fully visible)
- use level colors (similar to the player tracker tooltip)
2013-12-20 23:30:30 +01:00
Jon Atkins
bedd34d738
doh! daft bug
...
fixes #705
2013-12-20 23:30:29 +01:00
Jon Atkins
ce2ecf90f3
si8debar fixes:
...
- ensure consistant display based on portal details, by creating portal summary data from details
- pass field count into AP calculation, for accurate destroy amounts
- use portal.options.level, so unclaimed appear as zero
2013-12-20 23:30:29 +01:00
nexushoratio
b1198727b4
Return to old user experience of clicking on portal link replaces
...
current page.
Rationale: Users have several options of opening a link in a new
tab/window without the target, whereas with the target, users have no
option of reusing the same window.
2013-12-20 23:30:29 +01:00
Jon Atkins
b52f71282d
portals-list: more cleanups
...
- columns have a default sort order which is always used when first selecting one - a second select toggles the order
- display '-' instead of '0' for no links/fields (any suggestions for resonator count, to make botu '8' and '0' visibly distinct?)
- pre-convert portal names to lower case, to avoid ecxessive conversion in soting
2013-12-20 23:30:29 +01:00
Jon Atkins
dd0895e0c9
tweaks to the request/retry settings
2013-12-20 23:30:29 +01:00
Jon Atkins
92fcac4c65
portals list plugin: various cleanups/tweaks to earlier changes
2013-12-20 23:30:29 +01:00
Jon Atkins
fed08e3e75
further to #704 , use the existing function to both filter and sort link amps, so (in theory) combinations of rare+very rare are handled correctly
2013-12-20 23:30:29 +01:00
Jon Atkins
f2668a332d
use the correct hook for portal details loaded
2013-12-20 23:30:29 +01:00
Jon Atkins
24848ad35e
add a js debugger breakpoint into 'unknown hook' error case
2013-12-20 23:30:29 +01:00
nexushoratio
2ee8fe6173
Fix minor typo.
2013-12-20 23:30:29 +01:00
khabraken
afbd3d0d32
Fix the calculation for Link Amp range boost to be generic, so VRLA boosts are correctly calculated.
...
For RLA, the first multiplier is 2x. Subsequent RLAs add 0.5, 0.25, 0.25 to the multiplier. But expressed as a fraction of the initial multiplier, this is 0.25, 0.125, 0.125. Scale array has been updated to reflect this. This means the "-1" in the calculation is no longer required, and that boost is correctly calculated when baseMultiplier is anything other than 2 (eg VRLA, when it is 7).
If there aren't any Link Amps, the multiplier is 1x.
2013-12-20 23:30:29 +01:00
Philipp Schaefer
4f24eaab1d
retrieve correct resource id when package name is overriden
2013-12-20 23:30:29 +01:00
fkloft
99f7e714cd
portal-counts: Some fixes for mobile
2013-12-20 23:30:29 +01:00
fkloft
51628766f8
portal-counts: display graphs for level distribution
2013-12-20 23:30:29 +01:00
fkloft
9db491c281
mobile: show portal counts in nav drawer
2013-12-20 23:30:29 +01:00
Jon Atkins
00d7a54e9e
work-around for mobile-specific geodesic line drawing issue - appears to be an odd rounding problem
...
not ideal, but better than the current situation
2013-12-20 23:30:29 +01:00
Jon Atkins
f69fd980b7
psd source for "I'd rather be using IITC" logo
2013-12-20 23:30:29 +01:00
Jon Atkins
763adda4af
updated assets for iitc digital bumper sticker
2013-12-20 23:30:28 +01:00
Jon Atkins
9cd1940ef3
digital bumper sticker
...
- use smaller logo, fine tune position
- change z-index so it doesn't cover up the detailed AP tooltip
2013-12-20 23:30:28 +01:00
Jon Atkins
bc8c5ee29b
logos for iitc-digital-bumper-sticker plugin
2013-12-20 23:30:28 +01:00
Jon Atkins
045ec1b755
stock intel plugin to add the "I'd rather be using IITC" logo onto the map
2013-12-20 23:30:28 +01:00
Jon Atkins
332d16e89a
portals list plugin
...
- level colour background on level numbers
- abbreviated faction to 3 characters, to save space
- increased portal name column width
2013-12-20 23:30:28 +01:00
Philipp Schaefer
df81eeb2c8
don't use hard coded strings for app name
2013-12-20 23:30:28 +01:00
Jon Atkins
d7619314da
resonators plugin - redraw selected portal resonators after zooming out and then back in again
2013-12-20 23:30:28 +01:00
fkloft
3b8716d4d8
Repair compact tab
2013-12-20 23:30:28 +01:00
Jon Atkins
cd8adeac22
artifact list:
...
- line break when both target and fragments are on one portal
- colour fragments when on a target portal
2013-12-20 23:30:28 +01:00
Jon Atkins
444d5b236e
plugin draw-resonators: clear resonators when portal is deselected. changed hooks used to handle things in a more logical way
2013-12-20 23:30:28 +01:00
Jon Atkins
c01a65b05e
change makefile to run a plain build.py by default - localbuildsettings.py then can control the default
2013-12-20 23:30:28 +01:00
Philipp Schaefer
bcd7e7390d
set default build target back to desktop build
2013-12-20 23:30:12 +01:00
fkloft
20e672a1e2
Improve build tools
...
- Makefile provides "locale" and "mobile" as targets. Mobile also installs and starts app
- build.py returns error code if ant fails
2013-12-20 23:29:33 +01:00
Jon Atkins
5a33ba1a24
more portal summary data utility functions
...
- link/field count functions - useful when we only need numbers
- approximate AP gains, based only on summary data
2013-12-20 23:29:33 +01:00
Philipp Schaefer
bf89a0548e
new actionbar title for permalink
2013-12-20 23:29:33 +01:00
fkloft
c7b4632ee6
Improved intent sorting
...
(default app listed first again, sorting broke this)
2013-12-20 23:29:33 +01:00
fkloft
d89f60be11
Revert "Revert "Naive attempt to make bookmarks compatible with nav drawer. @ZasoGD - please have a look, if necessary undo this commit and do it right""
...
This reverts commit 67f273fd6d4b1db7d3ac2363305a1d30e3729ac4.
2013-12-20 23:29:33 +01:00
nexushoratio
7ab3a33adc
Minor typo.
2013-12-20 23:29:33 +01:00
enigmaquip
7a36053d46
plugin draw resonator update
...
Update to code for disabled on out of zoom bounds and tool tip when in
bounds
2013-12-20 23:29:33 +01:00
fkloft
572ddb949f
Remove pan control from minimap
...
(basically same issue as c537811e9b996bdcda80510d4e04e17fd3654796)
2013-12-20 23:29:33 +01:00
Philipp Schaefer
1e0e687b71
pause/resume webview too on activities pause/resume
2013-12-20 23:21:26 +01:00