Commit Graph

346 Commits

Author SHA1 Message Date
0bd102e823 avoid rendering portal details for hidden portals. They do not get updated and thus outdated info might be shown. 2013-02-10 21:13:17 +01:00
8c7e63a7f8 don’t remove & re-render portals if nothing changed for them. 2013-02-10 20:50:31 +01:00
2dc8714a63 Merge pull request #84 from scrool/clipboard_friendly_chat
Use invisible formatting for clipboard copy-paste
2013-02-10 11:06:52 -08:00
1816e153f6 fix #85 2013-02-10 20:05:46 +01:00
a6ae188548 size portals by their level. Slightly modified patch by OshiHidra. Fixes #24, #29 2013-02-10 19:45:25 +01:00
fb656a4982 Merge pull request #78 from Xelio/patch-map-resonator
draw resonators for each portal on map for high zoom levels (17+). Patch by Xelio.
2013-02-10 10:26:52 -08:00
c66bc0f171 Hide elements used only for clipboard & removed unused selector 2013-02-10 19:22:35 +01:00
7b7f229ac5 Change resonators render min zoom level and radius
Change:
Resonators render minimum zoom level 16 -> 17
Resonators render radius 4 -> 3
Some cleanup and performance tuning
2013-02-11 02:22:35 +08:00
36aabc3216 Comment correction
Correct comment of "portalResonatorGuid"
2013-02-10 22:58:08 +08:00
370f34a793 Change guid format of resonator
Change:
Guid format of resonator change to following,
[portal guid]-resonator-[slot]

Some code cleanup
2013-02-10 22:52:11 +08:00
0cfb86eff0 Use invisible formatting for clipboard copy-paste
When text is copied from browser it looks like "00:00 <nick> text."
Firefox adds new lines between records. It would be good to get rid of
it.
2013-02-10 15:44:28 +01:00
6936ef1d05 Resonators deletion of zoom level move
Change:
Move resonators deletion to 'zoomend' event of map.
Some clean up of code.
2013-02-10 22:23:01 +08:00
f781c6ebd4 Resonators deletion of portal move
Move Resonators deletion to 'remove' event of portal
2013-02-10 21:14:54 +08:00
63bdff0eb9 fix 'report issue' for places with single or double quotes in their names. Fixes #68 2013-02-10 14:08:35 +01:00
444bcce988 Code cleanup and minor change
Change:
Code cleanup
Loop over all portalsLayers when delete resonator
2013-02-10 20:58:15 +08:00
2647d58e60 Added toggle to collapse sidebar (without old code this time) 2013-02-10 23:03:10 +11:00
79b1f2b840 Revert "Added toggle to collapse sidebar" due to old code in commit
This reverts commit 9440e432de.
2013-02-10 22:56:53 +11:00
9440e432de Added toggle to collapse sidebar 2013-02-10 22:51:54 +11:00
d5285ca26c fix fields not being cleared from the map if they weren’t used for field counting 2013-02-10 09:51:02 +01:00
eecec0b4a4 Move resonator layer back to layerGroup "portalsLayers",
to make it work with portal level filter.
And modify cleanup code to work with this change.
2013-02-10 16:06:13 +08:00
f2400d1f8b fix #79 and part of #39 2013-02-10 09:02:08 +01:00
c34d7ee3a2 Resonator on map
Change:
Add "RESONATOR_DISPLAY_ZOOM_LEVEL" to control minimum zoom level resonator will display
Add layerGroup "resonatorsLayers" to draw resonators on it.
Add "window.resonators" to store references to resonators on map

Resonator will have guid of portal with ".11" or ".12" replaced with ".r0"~".r7"
Add function "window.renderResontor" to draw resonators (use sorgo's code [sorgo](https://github.com/sorgo))
"window.renderPortal" will call "window.renderResontor" before add portal to portalsLayers
Change "window.removeByGuid" to handle resonators
Change "window.cleanUp" to handle resonators cleanup
2013-02-10 14:12:26 +08:00
fc58676b7f place fields counter somewhere else so it doesn’t reorder the whole detail table 2013-02-10 00:29:47 +01:00
53ff334fe1 move getTypeByGuid to utils_misc.js and clean it up a little 2013-02-10 00:26:27 +01:00
5762b8cb79 Merge branch 'pr' of git://github.com/phoenixsong6/ingress-intel-total-conversion into phoenixsong6-pr 2013-02-10 00:24:43 +01:00
eb74f55f95 Merge branch 'gh-pages' of github.com:breunigs/ingress-intel-total-conversion into gh-pages 2013-02-10 00:21:47 +01:00
5bbb764133 resonators are now roughly ordered by their octant (fixes #35)
N    NE
     NW    E
      W    SE
     SW    S
2013-02-10 00:20:45 +01:00
dc4cea2ed7 Display control field count 2013-02-09 15:13:58 -08:00
904be9b5b1 Display current energy for whole portal 2013-02-09 17:42:01 +01:00
c9045aa988 handle load fails better 2013-02-09 15:19:41 +01:00
db5747fb73 only pull in data from GitHub pages to reduce risk of being down. 2013-02-09 15:06:48 +01:00
6b19e79e07 add plugin basics and fix #31 by providing it as plugin 2013-02-09 13:52:10 +01:00
b9ec6328f8 color portal mods by their rare-ness. Patch by @OshiHidra. Fixes #28. 2013-02-09 11:42:17 +01:00
c9e2701890 AP for destroying portal
Calculate AP gained from destroyed resonators + link
TODO: fields :)
2013-02-09 11:10:53 +01:00
d09e59049c Merge pull request #54 from Xelio/patch-resonator-pct
Add resonator energy% to resonator detai
2013-02-08 10:56:46 -08:00
a8f76ebb5b make nick highlighting not depend on case 2013-02-08 19:54:29 +01:00
98b0d36859 Change:
Move resonator energy% to tooltip
2013-02-09 02:11:53 +08:00
86eb0a9025 Add resonator energy% to resonator detail
Change:
Add resonator energy% to resonator detail.
Change shadow color of resonator level and energy% to #808080, more clear for L1 and L2 resonator
2013-02-09 01:18:13 +08:00
8dc0f3b3e0 Merge pull request #50 from firetech/fixes
Use keydown for key press detection in chat.
2013-02-08 08:52:51 -08:00
f5edc84635 add ability to filter by portal level. You can access the feature from the layer selector just as before. Fixes #8 and some of #12 2013-02-08 17:39:37 +01:00
9316d49e68 get time for chat input differently, so it reflects the local time 2013-02-08 17:25:35 +01:00
7a9f75a2ef Use keydown for key press detection in chat.
Fixes tab completion in Chrome. Closes #45.
2013-02-08 16:41:11 +01:00
0720be5093 Merge pull request #43 from mledoze/gh-pages
Renamed cardinal to octant
2013-02-08 06:24:31 -08:00
fd15b5d4a4 add startsWith for string for browsers which don’t ship it yet. Fixes #45 2013-02-08 15:22:21 +01:00
46303be80a rename 'tell public' to something else, so it doesn’t collide with a player name.
(yeah I’m watching at least two people right now with very unfortunate name choices. Also, whoever is named 'broadcast' owes me a beer.)
2013-02-08 14:50:55 +01:00
20d7eb92b4 renamed cardinal to octant 2013-02-08 13:00:55 +01:00
965c4f0156 fix chat input being too narrow 2013-02-08 12:52:19 +01:00
a9d29ba238 enable zoom control buttons by default (Fixes #33).
If you want maximum screen estate you can disable them until you clear your
cache:

  Firefox: CTRL+SHIFT+K
  Opera/Chrome: CTRL+SHIFT+I, select console

Then enter the following and hit enter:

  localStorage['iitc.zoom.buttons'] = 'false'

You can enable them by exchanging “false” with anything else or by clearing
your cache. You can close the web developer console by hitting the shortcut
again or clicking the x-button somewhere.
2013-02-08 12:41:54 +01:00
9f1e1e1077 fix border for portal images being wrong for resistance 2013-02-08 12:31:10 +01:00
12d1c03f97 Merge branch 'gh-pages' of github.com:breunigs/ingress-intel-total-conversion into gh-pages 2013-02-08 09:49:56 +01:00