100 Commits

Author SHA1 Message Date
teo96
a32adf6e6c issue#29 add player name in chat box when click on it 2013-03-22 15:18:25 +01:00
Jon Atkins
380bbfda32 more build tweaks
- make update URLS https - required by firefox+greasemonkey
- add build name + date/time to description of all plugins, and moved to front for main IITC
- ensure all plugins have a A.B.C. version number format - required now they append the date+time digits
- no smooth upgrade path from current 'dist' folder - so changed to 'release'. users will have to manually update this time, but will be fine fron now onwards (in theory!)
2013-03-20 04:34:16 +00:00
Jon Atkins
4ce0da5056 large chunk of work towards a nicer build system
- plugins are now parsed for @@..@@ replacements
- main script and plugins have separate .meta.js files created - less web server load for update checks
- build script has variables for resource URL, update URL, etc, substituted via @@..@@ into main script and all plugins
2013-03-19 22:39:16 +00:00
Jon Atkins
9b424c328c remove forced redirect from http to https 2013-03-16 20:05:29 +00:00
Jon Atkins
64f4f57068 bump version number - some changes committed that weren't in previous dist build 2013-03-16 19:45:53 +00:00
Jon Atkins
92a8bc3dfd update URLs to point to my github page + dist server 2013-03-16 19:43:18 +00:00
Stefan Breunig
bc63c47d47 initiate copy on android instead of following links 2013-03-12 00:30:27 +01:00
Stefan Breunig
8bfd2b7724 fix broken 0.8 build 2013-03-11 11:26:35 +01:00
Stefan Breunig
702999d1db bump version number and have it point to Google AppEngine instead of GitHub 2013-03-11 08:01:03 +01:00
Stefan Breunig
fa82356ca8 update log message to reflect reality 2013-03-08 10:41:48 +01:00
Stefan Breunig
1b737c6699 reduce limit for auto reload 2013-03-06 18:46:24 +01:00
Stefan Breunig
0d5275c385 typo that prevented smartphone style from being loaded 2013-03-05 23:23:26 +01:00
Stefan Breunig
5f2d124ef7 Merge pull request #368 from Fragger/field-mu
Add Field MU counts for large enough fields
2013-03-03 21:52:05 -08:00
Kevin
01f7b7099d Use LineUtil.simplify, rearange some code 2013-03-03 19:17:17 -08:00
Xelio
3263664e48 Add window.UPGRADE_ANOTHERS_RESONATOR 2013-03-04 00:33:52 +08:00
Xelio
5f94d56578 Add guid to window.PLAYER and add constant MAX_RESO_PER_PLAYER 2013-03-03 22:59:41 +08:00
Kevin
0ba8631b82 MU counts for fields with limiting for small fields
Only at higher zoom levels will counts for small fields show.
2013-03-02 21:25:03 -08:00
Stefan Breunig
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
Stefan Breunig
9dd4d9cd99 also bump version number on main.js 2013-02-26 16:52:35 +01:00
Xelio
17a81c09d9 New Feature: Remove lower level portal when portal render limit reached 2013-02-26 18:44:16 +08:00
Stefan Breunig
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
Stefan Breunig
4b3348e5d4 release 0.7.6 as hotfix for 0.7.5. 2013-02-26 01:37:52 +01:00
Stefan Breunig
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
Stefan Breunig
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
Stefan Breunig
849099c299 add more HTTPS links. IITC is likely still broken for HTTPS Intel Map. 2013-02-25 22:39:06 +01:00
Stefan Breunig
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
Stefan Breunig
f5b7299cd5 improve enlightenment color on map. Fixes #289, thanks tomhuze. 2013-02-24 08:19:40 +01:00
Stefan Breunig
50cd70f903 move smartphone css to subdir 2013-02-23 12:53:37 +01:00
Stefan Breunig
91f6f6d9d6 print build date to console once 2013-02-23 10:50:08 +01:00
Stefan Breunig
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
Stefan Breunig
d7f064f386 niantic claim it’s fixed 2013-02-22 01:54:04 +01:00
Hollow011
0838c5e280 Merge pull request #5 from breunigs/gh-pages
Rebase from bruenigs/ingress-intel-total-conversion
2013-02-20 22:31:08 -08:00
Stefan Breunig
785be63d33 fix #216 2013-02-20 17:16:48 +01:00
Dave Frame
84390e7b66 updated to comply with code review comments from breunigs 2013-02-19 17:48:15 -07:00
Stefan Breunig
346d3ae0a1 implement basic support for smartphones 2013-02-16 13:52:17 +01:00
Stefan Breunig
6d41221131 finish changes for #179. Fixes #179, fixes #49.
Please look for regressions.
2013-02-16 10:46:02 +01:00
Xelio
eab812fbf6 Code restructure 2013-02-16 01:16:20 +08:00
Xelio
c127bf0b6d New feature: Highlight resonators of selected portal 2013-02-16 00:01:59 +08:00
Stefan Breunig
1cf9418179 allow bundling resources and don’t try to load them from the internet 2013-02-14 14:34:54 +01:00
Stefan Breunig
f662c3df39 bump version number 2013-02-14 10:44:30 +01:00
Stefan Breunig
45d7fb1a13 add link to script’s homepage 2013-02-14 10:43:56 +01:00
Peter Sorger
4ff027a22e typo 2013-02-13 16:16:58 +01:00
Peter Sorger
82029efa2b added constants 2013-02-13 16:11:24 +01:00
Stefan Breunig
43a6adad14 make many variables overwritable by plugins 2013-02-13 04:59:36 +01:00
Stefan Breunig
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
Stefan Breunig
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
Stefan Breunig
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
saithis
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
saithis
10da1dee83 Added jQuery UI tooltips 2013-02-12 19:34:16 +01:00
Cameron Moon
e761a01aed fixed various minor sidebar layout issues 2013-02-12 08:58:06 +11:00