Skip to content

Instantly share code, notes, and snippets.

@jewel-andraia
Last active August 29, 2015 14:01
Show Gist options
  • Save jewel-andraia/1c82fefbef4e1a4631aa to your computer and use it in GitHub Desktop.
Save jewel-andraia/1c82fefbef4e1a4631aa to your computer and use it in GitHub Desktop.
## {{header}}
| \# | Change | Author
| ---| ------ | ------ {{#issues}}{{#closed_by_issue}}
| [#{{number}}]({{html_url}}) | {{title}} (fixes [#{{../number}}]({{../html_url}})) | @{{user.login }}{{/closed_by_issue}}{{#unless closed_by_issue}}
| [#{{number}}]({{html_url}}) | {{title}} | {{#if pull_request.url}}@{{user.login}}{{/if}} {{#closed_by_user}}@{{this}}{{/closed_by_user}} {{#if closed_by_dunno}}fixed?{{/if}} {{/unless}}{{/issues}}
#!/usr/bin/env node
var lastVersionDate = '2014-04-03'; // 4.3.2.1
/*
INSTALLATION
Depends on https://github.com/andytuba/github-changelog
USAGE:
# Update lastVersionDate first
cd Reddit-Enhancement-Suite/utils/
node changelog.js
*/
var changelog = require('../node_modules/github-changelog/core.js');
var credentials = {};
try {
credentials = require('../../github-credentials.json');
/*
github-credentials.json belongs in the folder which contains your RES repo. (Not the repo, its parent)
github-credentials.json should look like this:
{
"username": "YourGithubUsername",
"password": "YourGithubPassword"
}
*/
} catch(e) {
/*
console.warn("Could not load credentials");
console.warn(e);
process.exit(1);
*/
}
var baseOptions = {
owner: 'honestbleeps',
repo: 'Reddit-Enhancement-Suite',
template: 'changelog.hbs',
events: 'events.json',
labels_fixed: [ 'Closed-Fixed' ],
labels_wontfix: [ 'Closed-Duplicate', 'Closed-WontFix' ],
since: lastVersionDate,
//debug: 10
};
baseOptions = extend(baseOptions, credentials);
var optionsSet = [
extend(baseOptions, { header: 'Feature Requests', labels: 'Concern-Request' }),
extend(baseOptions, { header: 'Usability Enhancements', labels: 'Concern-UX' }),
extend(baseOptions, { header: 'Bug Fixes', labels: 'Bug-Confirmed' }),
];
asyncForeach(optionsSet, function(options, next) {
changelog.run(extend(options, { done: next }));
});
function asyncForeach(array, callback) {
var i = 0, length = array.length;
process.nextTick(go);
function go() {
if (i < length) {
var element = array[i];
callback(element, function() {
i++;
go();
});
}
}
}
function extend() {
var extended = {};
for (var i = 0, length = arguments.length; i < length; i++) {
var source = arguments[i];
for (var key in source) {
if (!source.hasOwnProperty(key)) continue;
extended[key] = source[key];
}
}
return extended;
}

Feature Requests

# Change Author
#1115 Add a search widget on dashboard @matheod
#992 Add a Table button to easily create and edit table in commentTools @matheod
#585 Enable user hover info on moderators page (fixes #306) (fixes #306) @mc10
#584 Enable Esc key for Tips dialog (fixes #312) (fixes #312) @mc10
#773 Prevent "self-votes" (fixes #771) (fixes #771) @mc10
#908 Local date @matheod
#939 Allow to navigate between post made by highlighted user @matheod
#961 replace new comment's "score is hidden for X minutes" tooltip with "scor... @matheod
#972 Show full link flair @matheod
#1031 Show subscription on reddit @matheod
#964 Emphasize "commenting as", especially on alts (fixes #1099) @andytuba
#291 Override ?context=# with user option (fixes #1052) @andytuba
#1052 Add Context module (fixes #291) @matheod
#424 filteReddit.keywords.unlessKeyword: don't filter a post if the title matches the unlessKeyword for that row (fixes #423) @andytuba
#885 Add setting to turn "autoplay" on/off for youtube/vimeo links. (fixes #879) @thybag
#851 CommandLine command for "me" or "me/X" @honestbleeps
#887 Visually distinguish "source" textarea from "edit" @honestbleeps

Usability Enhancements

# Change Author
#958 sortCommentsTemporarily- fix "temporarily?" placement in FF (fixes #1012) @andytuba
#938 Change the color of "none", which was really hard to read with #ddd color @matheod
#955 Add a link to manage tagged user in options @matheod
#956 Make relative link to don't break https @matheod
#887 Visually distinguish "source" textarea from "edit" (fixes #962) @andytuba
#968 Implementation of wiki image in preview @matheod
#990 Added options link in page extension. @matheod
#993 Load RES instantly @matheod
#1015 Fix Fade button + Improvement @matheod
#1020 Add help for link with number higher than 9 @matheod
#1023 Support Numpad in link post shortcut + correct link number 10 @matheod
#1032 Allow to open link when editing user tag @matheod
#1041 Add space after the user name @matheod
#1036 Tag not working on wiki (fixes #1045) @matheod
#1108 Make clearTag clear user with 0 score @matheod
#999 Reference reddit preference for subreddit style in settings console (fixes #1094) @andytuba
#1099 Hightlight when posting with alt account (fixes #964) @matheod
#1094 Reference reddit preference for subreddit style in settings console (fixes #999) @matheod
#1067 Don't show Full context link if it's a top comment (#1052) (fixes #1066) @matheod
#998 Use direct lookup in showImages (rather than looping through) @thybag
#1042 Change color to white for tag on (red/orange/olive background) @matheod
#632 Live Preview does not appear when comment text is highlighted and Reply button is hit (fixes #1056) @mc10
#1057 add on-hover highlight to "search RES" button in gear dropdown @andytuba
#1068 Add hover effect on temporarily button to make it easier to understand @matheod
#1085 Allow to delete a shortcut with BackSpace @matheod

Bug Fixes

# Change Author
#1127 mediaBrowseMode behaves poorly when "view images" is clicked @honestbleeps
#1126 broken imgur album links result in an expando pointing to the wrong image @honestbleeps
#994 Comment Navigator - Submitter Issue (fixes #995) @matheod
#905 Conflict between saveComments.js and showImages.js (fixes #975) @matheod
#914 Fix hidden nextprev buttons @matheod
#958 sortCommentsTemporarily- fix "temporarily?" placement in FF @honestbleeps
#946 selftext expando needs to be clicked twice with turboselftext on @honestbleeps
#917 Use url instead of inner text (fixes #915) @l1am9111
#881 Audio ads play in background when viewing imgur ads in Safari @honestbleeps
#885 Add setting to turn "autoplay" on/off for youtube/vimeo links. (fixes #875) @thybag
#1056 Live preview: update on quote and a little cleanup (fixes #632) @andytuba
#1064 Completely update regexes (fixes #233) @mc10
#896 avoid error for ads from reddit @matheod
#904 Correct issue #882 (viewSource parent toggling problem) @matheod
#932 Corrected bug of background color preview when selecting none color @matheod
#935 Corrected bug with checkbox auto checking even after unchecked it @matheod
#943 Fixed go to post number @matheod
#977 Fix for multiple shortcut @matheod
#1001 Fix http://www.reddit.com/r/RESissues/comments/24nrdw/expandos_stop_work... @matheod
#1114 Fixed deleting widget if its path has special characters @matheod
#1076 "Use subreddit style" incompatible with APNG 2.1.2 Chrome extension (fixes #1083) @CelestialWalrus
#829 Update character counter with correct lengths (fixes #1018) @andytuba
#960 toolbarfix no longer works @honestbleeps
#1038 night mode still hides headers even in subs that say they're compatible @honestbleeps
#1040 sanity check for tab menu before restoreSavedTab (fixes #1039) @andytuba
#1046 fix launching user tagger from command line @andytuba
#1048 only add scroll event if the sidebar exists @bronzle
#1049 elementInViewport(): return false if element is falsey @bronzle
#1072 Avoid timezone problem @matheod
#529 Subreddit manager should show [+shortcut] button on reddit.com/reddits @honestbleeps
#643 "source" button should not be the first button on post buttons list @honestbleeps
#1018 Fix #829 - Update character counter with correct lengths (fixes #829) @matheod
#994 Comment Navigator - Submitter Issue @honestbleeps
@honestbleeps
Copy link

neat. now find a way to make it support my commits that aren't PRs ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment