Skip to content

Commit

Permalink
v2.3.0 merge (#362)
Browse files Browse the repository at this point in the history
* new dev

* #305

* #307

* #310

* #310

* Better fix for #310

The old fix placed the SOX button to the right of the username, but the username only shows up in the top bar if you're logged in. This meant the SOX button would be absent if you were logged out. This new code should fix that.

* #310

* #309, #313

* #311, #312

* #256

* #319, #317, #316

* #256

* #318

* #294 deprecate enhanced editor

* #308, other small fixes

* #320

* minor fixes (#324)

change scroll top top feature JSON info

* fixes #329 (#330)

also reduces jQuery dependency

* v2.1.4 DEV before push to master

also adds #326

* v2.2.0

* inital DEV push

* update readme to state GM not supported; #306

* reduce dependency on `hotkeys`+minor details (#333)

* #334 fixed

* #334

* #334

* #338

* #335, #338

* Micro optimizations (#336)

* update source link

* micro optimizations

- converted jQuery .not to CSS selector for faster perf (https://stackoverflow.com/questions/8845811/performance-differences-between-using-not-and-not-selectors)
- introduced a separate function to eliminate thrice-repeated (!) code, to keep it DRY

* fixes some issues (#339)

described in #338 (comment)

* fixes #338

* fixes #338 (#340)

1. used addEventListener instead of onload
2. descriptive names (`reader`)
3. optimized extraction of the image URL from the `data`
4. made all declarations `var` and moved them into one place for consistency
5. shortened the POST url to simply `'/upload/image?https=true',` ;P

* #322 implemented

* Sticky property

* Update sox.user.js

* Updating button colors

The main SE buttons use a lighter color than the SOX buttons

* Update sox.css

* Minor fixes

Patched a problem with vote buttons, and fixed the color of the notify on edit button

* Update sox.user.js

* minor changes/fixes

* #341 temporary fix

* Updated mod diamond icon

Updated to the icon, to match the one used by the new topbar

* Updated diamond icon

* Updated mod diamond

* improvements in colorAnswerer (#344)

* improvements in colorAnswerer
1. constant variables+cache answeredID
2. reduce jQuery dependency+shorter a[href] selector via user ID
3. change coloration

* optimization: use filters throughout (#345)

reduces bandwidth consumption

* fixes a few features; adds CSS

Fixes moveBounty, dragBounty, copyCommentsLink.
Adds class for colorAnswerer.
Updates jQuery

* fixes quickAuthorInfo fontawesome icon

* fix a few of #308

* Major improvements in code extensibility, reduced API usage, eliminate redundancy, etc. (#348)

* fixes various bugs mentioned in #348

* fixes standOutDupeCloseMigrated for search pages

* remove unwanted console logs

* #347, various minor tweaks

* fixes small bug in parseCrossSiteLinks

e.g. on this comment: https://meta.stackoverflow.com/questions/370902/i-need-a-lot-of-help-to-write-a-query-for-the-stack-exchange-data-explorer-sh?cb=1#comment608548_370902

* Fixed Meta SE's chat link

Added a / to the end of Meta SE's if statement to fix it. Also replaced "discuss" with "meta" for Area 51 (to match the new URL for Area 51 Discussions), shortened a bit of code, and added some comments

* Fixed Meta SE links

* Changed topbar z-index

Changed the fixed topbar's z-index to match the one on SO, in order to prevent elements like the usercard (z-index: 1000) from covering it

* Made it clearer what the checkbox does

* Many fixes to dialog buttons

Fixes many of the bugs from #308

* Many fixes to dialog buttons

Fixes many of the bugs from #308

* Many fixes to dialog buttons

Fixes many of the bugs from #308

* Many fixes to dialog buttons

Fixes many of the bugs from #308

* Fixed Area 51 Discussions bug

* #348 minor tweak

* fix (#350)

...for answerer ID 13 also matching commenter ids beginning with 13 (1345, 13555, etc.)

* #352, #353 remove yahoo YQL use

* #352

* PR/351 (#355)

* update getQuestionTags

* provide immediate response to user

* minor changes

* #325: remove rangyInputs dependency (#354)

* bump version number

* remove downvotedPostsEditAlert; remove rangyinputs `require`; implement mini changelog in dialog

* install stale and no-response bots

* #356 added, minor bug fix

* start #349, start to move to es6

* onlyShowCommentActionsOnHover bug fix

* #357

* deprecate fixedTopbar feature for #349

* add showTagWikiLinkOnTagPopup feature

* #359 fixed

* #358 fixed

* fixes #360

* fixes for #361

* #361 changes

* v2.3.0 final
  • Loading branch information
shu8 committed Sep 2, 2018
1 parent f0d7644 commit 63b621c
Show file tree
Hide file tree
Showing 12 changed files with 1,092 additions and 1,477 deletions.
13 changes: 13 additions & 0 deletions .github/no-response.yml
@@ -0,0 +1,13 @@
# Configuration for probot-no-response - https://github.com/probot/no-response

# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 14
# Label requiring a response
responseRequiredLabel: more-information-needed
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
19 changes: 19 additions & 0 deletions .github/stale.yml
@@ -0,0 +1,19 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- contributions welcome
- confirmed
- in progress
- approved
# Label to use when marking an issue as stale
staleLabel: rejected
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: true
Empty file removed .gitignore
Empty file.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -10,10 +10,10 @@ Note: This project has no relation to Stack Overflow or Stack Exchange; it is si

## Installation & Requirements

1. Install [Greasemonkey](http://www.greasespot.net/) (for Firefox) or [Tampermonkey](http://tampermonkey.net/) (for Chrome or Safari). These are userscript managers that *must* be installed in order for this to work, as the script relies on certain `GM_*` functions in order to save your settings!
1. Install [Tampermonkey](http://tampermonkey.net/) (for Chrome or Firefox). These are userscript managers that *must* be installed in order for this to work, as the script relies on certain `GM_*` functions in order to save your settings! Tampermonkey is available for many more browsers, and whilst we do not explicitly support them, SOX should work on them. **Note: Greasemonkey 4 and upwards [is not supported with SOX](https://github.com/soscripted/sox/issues/306).**
2. Install the script. Clicking on 'install' below will make your userscript manager prompt you automatically to install it.

- Official Version: <kbd>[install](https://github.com/soscripted/sox/raw/v2.2.0/sox.user.js)</kbd>. <kbd>[view source](https://github.com/soscripted/sox/blob/v2.2.0/sox.user.js)</kbd>
- Official Version: <kbd>[install](https://github.com/soscripted/sox/raw/v2.3.0/sox.user.js)</kbd>. <kbd>[view source](https://github.com/soscripted/sox/blob/v2.3.0/sox.user.js)</kbd>
- Development Version: <kbd>[install](https://github.com/soscripted/sox/raw/dev/sox.user.js)</kbd>. <kbd>[view source](https://github.com/soscripted/sox/blob/dev/sox.user.js)</kbd>

3. Go to any site in the Stack Exchange Network (e.g. [Super User](http://superuser.com/) or [Stack Overflow](http://stackoverflow.com/)). You will automatically be asked to choose and save your settings. A toggle button (gears icon) will be added to your topbar where you can change these later on:
Expand Down
309 changes: 0 additions & 309 deletions sox.common.info.json
@@ -1,313 +1,4 @@
{
"apiParameters": {
"Stack Overflow": "stackoverflow",
"Server Fault": "serverfault",
"Super User": "superuser",
"Meta Stack Exchange": "meta",
"Web Applications": "webapps",
"Web Applications Meta": "meta.webapps",
"Arqade": "gaming",
"Arqade Meta": "meta.gaming",
"Webmasters": "webmasters",
"Webmasters Meta": "meta.webmasters",
"Seasoned Advice": "cooking",
"Seasoned Advice Meta": "meta.cooking",
"Game Development": "gamedev",
"Game Development Meta": "meta.gamedev",
"Photography": "photo",
"Photography Meta": "meta.photo",
"Cross Validated": "stats",
"Cross Validated Meta": "meta.stats",
"Mathematics": "math",
"Mathematics Meta": "meta.math",
"Home Improvement": "diy",
"Home Improvement Meta": "meta.diy",
"Meta Super User": "meta.superuser",
"Meta Server Fault": "meta.serverfault",
"Geographic Information Systems": "gis",
"Geographic Information Systems Meta": "meta.gis",
"TeX - LaTeX": "tex",
"TeX - LaTeX Meta": "meta.tex",
"Ask Ubuntu": "askubuntu",
"Ask Ubuntu Meta": "meta.askubuntu",
"Personal Finance & Money": "money",
"Personal Finance & Money Meta": "meta.money",
"English Language & Usage": "english",
"English Language & Usage Meta": "meta.english",
"Stack Apps": "stackapps",
"User Experience": "ux",
"User Experience Meta": "meta.ux",
"Unix & Linux": "unix",
"Unix & Linux Meta": "meta.unix",
"WordPress Development": "wordpress",
"WordPress Development Meta": "meta.wordpress",
"Theoretical Computer Science": "cstheory",
"Theoretical Computer Science Meta": "meta.cstheory",
"Ask Different": "apple",
"Ask Different Meta": "meta.apple",
"Role-playing Games": "rpg",
"Role-playing Games Meta": "meta.rpg",
"Bicycles": "bicycles",
"Bicycles Meta": "meta.bicycles",
"Programmers": "programmers",
"Programmers Meta": "meta.programmers",
"Electrical Engineering": "electronics",
"Electrical Engineering Meta": "meta.electronics",
"Android Enthusiasts": "android",
"Android Enthusiasts Meta": "meta.android",
"Board & Card Games": "boardgames",
"Board & Card Games Meta": "meta.boardgames",
"Physics": "physics",
"Physics Meta": "meta.physics",
"Homebrewing": "homebrew",
"Homebrewing Meta": "meta.homebrew",
"Information Security": "security",
"Information Security Meta": "meta.security",
"Writers": "writers",
"Writers Meta": "meta.writers",
"Video Production": "video",
"Video Production Meta": "meta.video",
"Graphic Design": "graphicdesign",
"Graphic Design Meta": "meta.graphicdesign",
"Database Administrators": "dba",
"Database Administrators Meta": "meta.dba",
"Science Fiction & Fantasy": "scifi",
"Science Fiction & Fantasy Meta": "meta.scifi",
"Code Review": "codereview",
"Code Review Meta": "meta.codereview",
"Programming Puzzles & Code Golf": "codegolf",
"Programming Puzzles & Code Golf Meta": "meta.codegolf",
"Quantitative Finance": "quant",
"Quantitative Finance Meta": "meta.quant",
"Project Management": "pm",
"Project Management Meta": "meta.pm",
"Skeptics": "skeptics",
"Skeptics Meta": "meta.skeptics",
"Physical Fitness": "fitness",
"Physical Fitness Meta": "meta.fitness",
"Drupal Answers": "drupal",
"Drupal Answers Meta": "meta.drupal",
"Motor Vehicle Maintenance & Repair": "mechanics",
"Motor Vehicle Maintenance & Repair Meta": "meta.mechanics",
"Parenting": "parenting",
"Parenting Meta": "meta.parenting",
"SharePoint": "sharepoint",
"SharePoint Meta": "meta.sharepoint",
"Music: Practice & Theory": "music",
"Music: Practice & Theory Meta": "meta.music",
"Software Quality Assurance & Testing": "sqa",
"Software Quality Assurance & Testing Meta": "meta.sqa",
"Mi Yodeya": "judaism",
"Mi Yodeya Meta": "meta.judaism",
"German Language": "german",
"German Language Meta": "meta.german",
"Japanese Language": "japanese",
"Japanese Language Meta": "meta.japanese",
"Philosophy": "philosophy",
"Philosophy Meta": "meta.philosophy",
"Gardening & Landscaping": "gardening",
"Gardening & Landscaping Meta": "meta.gardening",
"Travel": "travel",
"Travel Meta": "meta.travel",
"Personal Productivity": "productivity",
"Personal Productivity Meta": "meta.productivity",
"Cryptography": "crypto",
"Cryptography Meta": "meta.crypto",
"Signal Processing": "dsp",
"Signal Processing Meta": "meta.dsp",
"French Language": "french",
"French Language Meta": "meta.french",
"Christianity": "christianity",
"Christianity Meta": "meta.christianity",
"Bitcoin": "bitcoin",
"Bitcoin Meta": "meta.bitcoin",
"Linguistics": "linguistics",
"Linguistics Meta": "meta.linguistics",
"Biblical Hermeneutics": "hermeneutics",
"Biblical Hermeneutics Meta": "meta.hermeneutics",
"History": "history",
"History Meta": "meta.history",
"LEGO® Answers": "bricks",
"LEGO® Answers Meta": "meta.bricks",
"Spanish Language": "spanish",
"Spanish Language Meta": "meta.spanish",
"Computational Science": "scicomp",
"Computational Science Meta": "meta.scicomp",
"Movies & TV": "movies",
"Movies & TV Meta": "meta.movies",
"Chinese Language": "chinese",
"Chinese Language Meta": "meta.chinese",
"Biology": "biology",
"Biology Meta": "meta.biology",
"Poker": "poker",
"Poker Meta": "meta.poker",
"Mathematica": "mathematica",
"Mathematica Meta": "meta.mathematica",
"Cognitive Sciences": "cogsci",
"Cognitive Sciences Meta": "meta.cogsci",
"The Great Outdoors": "outdoors",
"The Great Outdoors Meta": "meta.outdoors",
"Martial Arts": "martialarts",
"Martial Arts Meta": "meta.martialarts",
"Sports": "sports",
"Sports Meta": "meta.sports",
"Academia": "academia",
"Academia Meta": "meta.academia",
"Computer Science": "cs",
"Computer Science Meta": "meta.cs",
"The Workplace": "workplace",
"The Workplace Meta": "meta.workplace",
"Windows Phone": "windowsphone",
"Windows Phone Meta": "meta.windowsphone",
"Chemistry": "chemistry",
"Chemistry Meta": "meta.chemistry",
"Chess": "chess",
"Chess Meta": "meta.chess",
"Raspberry Pi": "raspberrypi",
"Raspberry Pi Meta": "meta.raspberrypi",
"Russian Language": "russian",
"Russian Language Meta": "meta.russian",
"Islam": "islam",
"Islam Meta": "meta.islam",
"Salesforce": "salesforce",
"Salesforce Meta": "meta.salesforce",
"Ask Patents": "patents",
"Ask Patents Meta": "meta.patents",
"Genealogy & Family History": "genealogy",
"Genealogy & Family History Meta": "meta.genealogy",
"Robotics": "robotics",
"Robotics Meta": "meta.robotics",
"ExpressionEngine® Answers": "expressionengine",
"ExpressionEngine® Answers Meta": "meta.expressionengine",
"Politics": "politics",
"Politics Meta": "meta.politics",
"Anime & Manga": "anime",
"Anime & Manga Meta": "meta.anime",
"Magento": "magento",
"Magento Meta": "meta.magento",
"English Language Learners": "ell",
"English Language Learners Meta": "meta.ell",
"Sustainable Living": "sustainability",
"Sustainable Living Meta": "meta.sustainability",
"Tridion": "tridion",
"Tridion Meta": "meta.tridion",
"Reverse Engineering": "reverseengineering",
"Reverse Engineering Meta": "meta.reverseengineering",
"Network Engineering": "networkengineering",
"Network Engineering Meta": "meta.networkengineering",
"Open Data": "opendata",
"Open Data Meta": "meta.opendata",
"Freelancing": "freelancing",
"Freelancing Meta": "meta.freelancing",
"Blender": "blender",
"Blender Meta": "meta.blender",
"MathOverflow": "mathoverflow.net",
"MathOverflow Meta": "meta.mathoverflow.net",
"Space Exploration": "space",
"Space Exploration Meta": "meta.space",
"Sound Design": "sound",
"Sound Design Meta": "meta.sound",
"Astronomy": "astronomy",
"Astronomy Meta": "meta.astronomy",
"Tor": "tor",
"Tor Meta": "meta.tor",
"Pets": "pets",
"Pets Meta": "meta.pets",
"Amateur Radio": "ham",
"Amateur Radio Meta": "meta.ham",
"Italian Language": "italian",
"Italian Language Meta": "meta.italian",
"Stack Overflow em Português": "pt.stackoverflow",
"Stack Overflow em Português Meta": "meta.pt.stackoverflow",
"Aviation": "aviation",
"Aviation Meta": "meta.aviation",
"Ebooks": "ebooks",
"Ebooks Meta": "meta.ebooks",
"Beer": "beer",
"Beer Meta": "meta.beer",
"Software Recommendations": "softwarerecs",
"Software Recommendations Meta": "meta.softwarerecs",
"Arduino": "arduino",
"Arduino Meta": "meta.arduino",
"CS50": "cs50",
"CS50 Meta": "meta.cs50",
"Expatriates": "expatriates",
"Expatriates Meta": "meta.expatriates",
"Mathematics Educators": "matheducators",
"Mathematics Educators Meta": "meta.matheducators",
"Meta Stack Overflow": "meta.stackoverflow",
"Earth Science": "earthscience",
"Earth Science Meta": "meta.earthscience",
"Joomla": "joomla",
"Joomla Meta": "meta.joomla",
"Data Science": "datascience",
"Data Science Meta": "meta.datascience",
"Puzzling": "puzzling",
"Puzzling Meta": "meta.puzzling",
"Craft CMS": "craftcms",
"Craft CMS Meta": "meta.craftcms",
"Buddhism": "buddhism",
"Buddhism Meta": "meta.buddhism",
"Hinduism": "hinduism",
"Hinduism Meta": "meta.hinduism",
"Community Building": "communitybuilding",
"Community Building Meta": "meta.communitybuilding",
"Startups": "startups",
"Startups Meta": "meta.startups",
"Worldbuilding": "worldbuilding",
"Worldbuilding Meta": "meta.worldbuilding",
"スタック・オーバーフロー": "ja.stackoverflow",
"スタック・オーバーフローMeta": "meta.ja.stackoverflow",
"Emacs": "emacs",
"Emacs Meta": "meta.emacs",
"History of Science and Mathematics": "hsm",
"History of Science and Mathematics Meta": "meta.hsm",
"Economics": "economics",
"Economics Meta": "meta.economics",
"Lifehacks": "lifehacks",
"Lifehacks Meta": "meta.lifehacks",
"Engineering": "engineering",
"Engineering Meta": "meta.engineering",
"Coffee": "coffee",
"Coffee Meta": "meta.coffee",
"Vi and Vim": "vi",
"Vi and Vim Meta": "meta.vi",
"Music Fans": "musicfans",
"Music Fans Meta": "meta.musicfans",
"Woodworking": "woodworking",
"Woodworking Meta": "meta.woodworking",
"CiviCRM": "civicrm",
"CiviCRM Meta": "meta.civicrm",
"Health": "health",
"Health Meta": "meta.health",
"Stack Overflow на русском": "ru.stackoverflow",
"Stack Overflow на русском Meta": "meta.ru.stackoverflow",
"Русский язык": "rus",
"Русский язык Meta": "meta.rus",
"Mythology": "mythology",
"Mythology Meta": "meta.mythology",
"Law": "law",
"Law Meta": "meta.law",
"Open Source": "opensource",
"Open Source Meta": "meta.opensource",
"elementary OS": "elementaryos",
"elementary OS Meta": "meta.elementaryos",
"Portuguese Language": "portuguese",
"Portuguese Language Meta": "meta.portuguese",
"Computer Graphics": "computergraphics",
"Computer Graphics Meta": "meta.computergraphics",
"Hardware Recommendations": "hardwarerecs",
"Hardware Recommendations Meta": "meta.hardwarerecs",
"Stack Overflow en español": "es.stackoverflow",
"Stack Overflow Meta en español": "meta.es.stackoverflow",
"Documentation Beta": "docs-beta",
"3D Printing": "3dprinting",
"3D Printing Meta": "meta.3dprinting",
"Ethereum": "ethereum",
"Ethereum Meta": "meta.ethereum",
"Latin Language": "latin",
"Latin Language Meta": "meta.latin"
},
"privileges": {
"beta": {
"access review queues": 350,
Expand Down

0 comments on commit 63b621c

Please sign in to comment.