Commit Graph

84 Commits

Author SHA1 Message Date
5f94d56578 Add guid to window.PLAYER and add constant MAX_RESO_PER_PLAYER 2013-03-03 22:59:41 +08:00
bbe67a6573 Merge pull request #317 from Xelio/patch-portal-limit-reach-hide-low-level-2
New Feature: (method 2)Remove lower level portal when portal render limit reached
2013-02-27 02:44:47 -08:00
9dd4d9cd99 also bump version number on main.js 2013-02-26 16:52:35 +01:00
17a81c09d9 New Feature: Remove lower level portal when portal render limit reached 2013-02-26 18:44:16 +08:00
9eef88673b - fix redirecting on some systems
- more restrictive match rules, shouldn’t match anymore on Google Login (fix #314)
2013-02-26 07:40:12 +01:00
4b3348e5d4 release 0.7.6 as hotfix for 0.7.5. 2013-02-26 01:37:52 +01:00
8ff667e45f release 0.7.5. This is an emergency release to fix complete breakage for the upcoming https rollout 2013-02-26 01:09:52 +01:00
538b57c7f7 Due to ingress.com/intel now force-redirecting to the HTTPS version,
loading dependencies just got a lot harder. External JS and CSS files
are now included directly in the file while building. This does not yet
work for plugins. I will make an emergency release soon, so at least
main works.
2013-02-25 23:58:07 +01:00
849099c299 add more HTTPS links. IITC is likely still broken for HTTPS Intel Map. 2013-02-25 22:39:06 +01:00
b58050320b support https as well (fixes #309). Also bump version number in main which is was an oversight when releasing 0.7/0.71 2013-02-25 22:00:28 +01:00
f5b7299cd5 improve enlightenment color on map. Fixes #289, thanks tomhuze. 2013-02-24 08:19:40 +01:00
50cd70f903 move smartphone css to subdir 2013-02-23 12:53:37 +01:00
91f6f6d9d6 print build date to console once 2013-02-23 10:50:08 +01:00
d644ef64bd implement jqueryui dialog replacements.
For now only alert windows are converted automatically. You can alert custom
HTML code like so: alert('<strong>herp a derp</strong>', true);

Main can use this feature immediately, all plugins that are advertized to be
stable may only use this once 0.7 is released.
2013-02-22 11:23:44 +01:00
d7f064f386 niantic claim it’s fixed 2013-02-22 01:54:04 +01:00
0838c5e280 Merge pull request #5 from breunigs/gh-pages
Rebase from bruenigs/ingress-intel-total-conversion
2013-02-20 22:31:08 -08:00
785be63d33 fix #216 2013-02-20 17:16:48 +01:00
84390e7b66 updated to comply with code review comments from breunigs 2013-02-19 17:48:15 -07:00
346d3ae0a1 implement basic support for smartphones 2013-02-16 13:52:17 +01:00
6d41221131 finish changes for #179. Fixes #179, fixes #49.
Please look for regressions.
2013-02-16 10:46:02 +01:00
eab812fbf6 Code restructure 2013-02-16 01:16:20 +08:00
c127bf0b6d New feature: Highlight resonators of selected portal 2013-02-16 00:01:59 +08:00
1cf9418179 allow bundling resources and don’t try to load them from the internet 2013-02-14 14:34:54 +01:00
f662c3df39 bump version number 2013-02-14 10:44:30 +01:00
45d7fb1a13 add link to script’s homepage 2013-02-14 10:43:56 +01:00
4ff027a22e typo 2013-02-13 16:16:58 +01:00
82029efa2b added constants 2013-02-13 16:11:24 +01:00
43a6adad14 make many variables overwritable by plugins 2013-02-13 04:59:36 +01:00
ae65dff2d9 * ditch jQueryUI vanilla styles in favor of own ones.
* disable tracking for tooltips and make them behave more like regular ones
  (this also stops my fan from spinning up when using the intel map)

Improvements welcome. Tooltips are currently placed at the bottom of the
element instead of next to cursor. It seems it’s either tracking or placing
it not anywhere where one would expect a tooltip. I immediately regret
having chosen jQueryUI. It’s not very flexible and has awkward defaults.
2013-02-13 04:10:40 +01:00
4f931a11c7 Merge pull request #142 from saithis/tooltip
Added jQuery UI tooltips; fixes #42; patch by saithis
2013-02-12 18:19:33 -08:00
360f6f8336 rework chat handling completely
The old system was getting too complicated to add new features to.
The new one should be easier to understand and will be explained
below. This patch should fix #140 and fix #16.

There are several places where new data requests may come from:
- chat.needMoreMessages checks if we are scrolled too far up or
  there is no scrollbar. It then requests new messages.
- scrolling up
- switching the chat tab via chat.chooser
- auto refresh
- once on boot
The latter two always request both types of chat.

Faction and public are handled the same way. Public is later split
into categories. I will explain the faction chat here because it’s
easier.

It starts in chat.requestFaction. This will initialize the query to
the server for data. The exact query is determined by chat.
genPostData. There can only be one faction chat request at a time.
Clearing on map move is handled automatically in code/requests.js.

Let’s assume the data query is successful. It is now passed to
chat.handleFaction which runs some basic checks before the data is
processed and stored in chat._factionData. This is done by chat.
writeDataToHash. The hash keys are the message GUIDs to avoid
duplicates. The hash values are an array of timestamp, processed
message and other meta data.

There is only one way to render faction chat, so data is directly
handed to chat.renderFaction which immediately hands it to chat
.renderData. renderData discards the GUIDs and sorts the values
by their timestamp. It then iterates over the data to insert
date break lines and finally renders the data in the DOM. It also
does some magic to keep the correct scrolling position.

Chat data will be cleared on map move or zoom. However, the
display is not refreshed, so the old, invalid chat data is still
displayed. Only once the data query is finished the data is
rendered. The upside is that small map operations within your
local area appear to never lose their chat data. Downside is that
there’s invalid chat for some time when changing cities.
2013-02-13 02:52:27 +01:00
039f9c14b5 * The jQuery UI js/css file is now taken from ajax.googleapis.com instead of code.jquery.com
* Table or not is now autodetected, removed data-tooltip attributes
* Empty table cells are now possible
* Removed duplicated \t's on some titles
* Some tooltip code cleanup
2013-02-12 23:16:12 +01:00
10da1dee83 Added jQuery UI tooltips 2013-02-12 19:34:16 +01:00
e761a01aed fixed various minor sidebar layout issues 2013-02-12 08:58:06 +11:00
7112e74a8a don’t put version number in title because this leads to multiple installations on chrome 2013-02-11 20:07:12 +01:00
f3bcc3ef03 release v0.51 which contains some fixes for recent breakages 2013-02-11 19:37:35 +01:00
5b07537cca debug build should not use dist/style.css 2013-02-11 18:07:33 +01:00
fdd5de3143 move all files for a specific version in dist. This should prevent updating issues in the future 2013-02-11 17:39:15 +01:00
9416aeb50f replace unicode arrows with CSS tricks that should work on all platforms (patch by mledoze). Fixes #98, #116 2013-02-11 17:32:02 +01:00
c5dfbabc3a Merge branch 'gh-pages' of https://github.com/breunigs/ingress-intel-total-conversion into gh-pages 2013-02-11 13:54:16 +01:00
2850d44dac Added field count formula 2013-02-11 13:53:35 +01:00
c170995da7 fix style sheet link (thanks cmrn) 2013-02-11 12:36:14 +01:00
4a45570f40 make more use of the empty space below the sidebar now that there’s a map rendered behind it all the time 2013-02-11 12:10:40 +01:00
0ac05647df merged upstream changes 2013-02-11 10:06:40 +11:00
e92a9e13b1 add permalink feature 2013-02-10 23:49:01 +01:00
9c56d64447 Made toggle arrow longer & removed unneeded DOM manipulations 2013-02-11 09:42:18 +11:00
686497501b catch being logged in, but stating that the account is not allowed to play ingress.
It will simply reload the page right now after 10s. The user is probably faster to do this
manually, but it solves the problem where the tab is opened and forgotten.
2013-02-10 19:39:28 +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
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
16e0f69929 hack range must obviously be larger than 35m if I’m seeing portals with avg reso dist being 39m 2013-02-10 18:47:45 +01:00