Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.89.1 Api support #1

Open
wants to merge 62 commits into
base: MIX_MEWTWO
Choose a base branch
from
Open

0.89.1 Api support #1

wants to merge 62 commits into from

Conversation

coreyman2000
Copy link

@coreyman2000 coreyman2000 commented Jan 23, 2018

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

FrostTheFox and others added 30 commits December 1, 2017 15:42
* 0.83.2

* Switch operator

* Add extra condition

* Add version int map.

* Use pgoapi version int for requests.
* mysql db user password

Too many people use 'password' as db user password and then ask in #help for support :)

* Config fix

* ALTER USER
'X-Unity-Version': '2017.1.2f1'
* Added default sprites for some more raid bosses.

* Added default sprites for Mawile and Absol.

* Mawile is a T2 boss, not T4.
* Update links/headers

* iOS 11.2

* close connection instead of keep-alive
…oad_settings with every request (RocketMap#2386)

* settings=True

* flake8

* comment out some stuff

* Use ifs for cleaner reenabling

* indent other captcha code

* uncomment check_challenge
…etMap#2340)

* Update status.scss

* Update status.html

* Update status.js

* Update status.js

* Update status.js
…es. (RocketMap#2379)

* Minor Fix in configuration file

* Minor fix

* Merge remote-tracking branch 'upstream/develop' into develop

* Allow more than three fields for csv account file.

* Merge remote-tracking branch.

* Break the line.

* Minor Change.
* Minor Fix in configuration file

* Minor fix

* Merge remote-tracking branch 'upstream/develop' into develop

* Allow more than three fields for csv account file.

* Merge remote-tracking branch.

* Break the line.

* Minor Change.

* Update WiKi of speed-scheduler

* Minor fix.
* Update to latest pgoapi.

* GET_INVENTORY changed to GET_HOLO_INVENTORY.

* Use the variable.
* show gym sidebar if raids are active

* woops

* ?
* Change to 5m jitter + disable by default.

* Update docs.

* Push utils.py changes.

* Consistent quotes.
…ap#2408)

* Update custom.js.example to disable marker clustering even when race
conditions make the library load before custom.js

* Make Lint happy and better check for if marker cluster is loaded

*  make definition of the markerCluster more explicit

* Dot
* Update SB docs and improve account configuration

Fix my bad english :D

Fix spacing

* Update information abount unbanning and 24h ban

* Address comments and remove the 3 fields limit in CSVs
The speed scheduler was linked to "http://rocketmap.readthedocs.io/en/develop/scanning-method/Speed-Scheduler.html" which isn't a valid site. The correct is with non-capital letters "/speed-scheduler.html"
* Add a CLI tool to mass level account to level 2

Rename all folders in lowercase

Add -ams warning and example with command line params

Fix ending too early, fix cancel at any time

Fixed style issues in spawnpoint clustering

Add proxy support requeue failed accounts

Update to latest RM changes, added retry limit, added full locale support and fix docs

* Fix spelling

* Fix spelling for real :D

* I hate Pokémons and Pokéstops
…ocketMap#2387)

* Added "Exclude Pokemon by Rarity" feature to hide unwanted rarities.
Hidden rarities are chosen by a dropdown on the options tab, where each successive option contains all the rarities of the last option.
For example, the "Common" option hides all commons, the "Uncommon" option hides commons and uncommons, etc.

* Formatting fixes to confomr with npm run lint

* Requested changes + cleanup.

* Travis.
* Revive Spawn-Scanning

* removed unneeded lines

* consistency

* Fixing when scanning gyms

* use list.extend instead of list + list

Performace improvement :)

* make it work

* Travis

* use list instead of None

* remove stops & gmys, we dont need them

* Travis...shut up

* added simple speed-limit and clustering for -ss

shamlessly copied from RocketMap#1476

* consistency update

* Improved spawnpoint handling in SpawnScan.

Removed gym/pokestop from possible locations -  SpawnScan is for scanning spawnpoints only.
Leave models.py "untouched".

* Reworked clustering algorithm to avoid using class Spawnpoint(s).

Moved clustering into schedulers since this should only be used when Spawn Scan is enabled.
In a dense area, with default settings it compressed 102 spawnpoints into 52 which is great.
More refactoring can be done, not sure how to handle old_div, pretty sure we can just do normal division and distance calculations maybe can be handled by equi_rect_dist and soon by cHaversine

* Cleanup and refactoring on SS Clustering.

Removed use of clsmath.py:
 - instead of distance() we're using utils.equi_rect_distance
 - moved intermediate_point() into transform.py
Moved away from old_div - using standard division operator. I think old_div is suppose to make code compatible between python 2 and 3. No need for that here.
Results with different distance function and "different" division function seem very similar. Exactly the same number of cluster as before (112 SP > 55 Clusters - dense area st3)

* Refactoring and some cleanup on SS Clustering algorithm.

* Simplification of search thread logic when waiting for the speed limiter to timeout.

Saves a lot of db updates (I think :P) because the status message kept changing every second.

* Updated/Improved comments.

* Minor text fixes ;)

* Removed '-ssc' parameter and adjusted clustering range to compensate jittering.

Removed "double-check" test because it should never be triggered. In our test we never trigger this error.
'-ssct 240' is how you enable spawnpoint clustering with previous time threshold (240s - 4min).

* fix spawn-scan arguement in config

* fix log message

* changed speedlimiter

* Reworked Speed Limiter into Scheduler.

* More refactoring and optimizations.

Followed most suggestions laid out by other devs and fixed a couple of bugs.
Refactored and renamed parts of the clustering code.

* Improved comments on transform.py:intermediate_point().

* Bug Fix + Speed limiter small improvement

Bug fix: Previously status['last_scanned_date'] wasn't initialized with current date. Now we use (lat, lon) to figure out if it's the first scan or not, and only check the speed limit if location is present.
Improvement: Drop search item if the worker isn't going to reach it in time - saves time wasted on a scan that would be discarded anyway.
Small fix in arg parser - uniformization.

* Updated Docs and removed unnecessary Code and Tools

* Revert change that was out of the scope of this PR.

* (Documentation) Updated commandline.md

* Removed commented code that isn't required.

* Updated docs + Rebase

Documentation now specifies the time unit used in -ssct parameter.
Cleaned up old code that stuck around after rebase.
pogo-excalibur and others added 26 commits January 7, 2018 22:45
* Fixed startup_db call, and added a hash key check.

* Typo.
Since RocketMap#2288 support for SQLite is removed. Update another doc refering to SQLite.
* add warning on -novc

* Don't display the message if we're an -os

* pep8 fix

* combine ifs
* Update speed-scheduler.md

* Update speed-scheduler.md

Tweaked verbiage of comment

* Update speed-scheduler.md
* Create CODE_OF_CONDUCT.md

* Update CODE_OF_CONDUCT.md
* Add device model to remote config request

* Fix field to send
* Remove iPhone 5/5c

* whoops forgot
* Update models.py

RM tries to write DB records with a 'latest_seen=3600'. Changing the Check statement allows for these records to be written instead of throwing "InternalError(4025, u'CONSTRAINT CONSTRAINT_4 failed for rocketmapdbadmin.spawnpoint')".

* Implement changes and safety measures for <= 3600.

* Travis.

* Added DB migration

* Fixed long lines in SQL commands
...so that notifications can also show the current gym owner team.
* add gif to bookmarklet.html for better understanding of what to do
* show raid details with missing pokemonWithImages

* change to single block with variable

* Fix raidImage scope.
* Add account name in bad scan log

* Consistency w/ rest of code.
* Add HH:mm time to deployment time.

* Change format to MMM Do HH:mm.

* Fix gym details CSS.

* Force calendar time on new line.

* Fix typo + use divs like old code.

* Fix old typo in SCSS file.
* Add option to disable kph and hlvl-kph.

* Added logging.

Also reworked some small details.

* Fix scope and wait.

* Don't wait if kph is disabled.
* adding dynamic loading of iv/CP whitelist

* using enc_whitelist_file instead of args and reading file if it has been modified

* Added webhook whitelist and blacklist as well in dynamic loading

* Simplify refreshing.
Add toggle to show/hide Pokémon stats.
@coreyman2000
Copy link
Author

update

@Pogodenhelder
Copy link

i think this was not intended ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.