From 97a38e68c5723aef2f1d0492a092e4384bedaa78 Mon Sep 17 00:00:00 2001 From: Rick Kasten Date: Tue, 6 Jun 2017 21:51:54 -0400 Subject: [PATCH] Clean up references to repo as HabitRPG/habitrpg (#8742) * Confirmed changes * Removed bad link This was apparantly missed in #8051 * Confirmed changes * Fixed links to milestones --- .github/CONTRIBUTING.md | 2 +- .github/ISSUE_TEMPLATE.md | 2 +- .../count_users_who_own_specified_gear.js | 2 +- gulp/gulp-sprites.js | 2 +- test/api/v3/unit/models/group.test.js | 2 +- test/sanity/README.md | 2 +- website/client-old/js/app.js | 2 +- website/client/components/avatar.vue | 2 +- website/common/locales/hu/_README_FIRST.md | 2 -- website/server/libs/cron.js | 4 ++-- website/server/models/challenge.js | 2 +- website/server/models/user/schema.js | 2 +- website/views/options/social/hall.jade | 2 +- website/views/shared/avatar/appearance.jade | 2 +- website/views/shared/new-stuff.jade | 24 +++++++++---------- website/views/static/clear-browser-data.jade | 2 +- website/views/static/contact.jade | 2 +- 17 files changed, 28 insertions(+), 30 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 7ae8d415b0..f8d1078f33 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Reporting Bugs -[Please see these instructions for reporting bugs](https://github.com/HabitRPG/habitrpg/issues/2760) +[Please see these instructions for reporting bugs](https://github.com/HabitRPG/habitica/issues/2760) # Pull Request diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 8c75e4f542..5b23bd63be 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -4,7 +4,7 @@ [//]: # (If you have a feature request, use "Help > Request a Feature", not GitHub or the Report a Bug guild.) -[//]: # (For more guidelines see https://github.com/HabitRPG/habitrpg/issues/2760) +[//]: # (For more guidelines see https://github.com/HabitRPG/habitica/issues/2760) [//]: # (Fill out relevant information - UUID is found in Settings -> API) ### General Info diff --git a/database_reports/count_users_who_own_specified_gear.js b/database_reports/count_users_who_own_specified_gear.js index 19e5454100..4931f64eee 100644 --- a/database_reports/count_users_who_own_specified_gear.js +++ b/database_reports/count_users_who_own_specified_gear.js @@ -3,7 +3,7 @@ var authorUuid = 'd904bd62-da08-416b-a816-ba797c9ee265'; //... own data is done /** * database_reports/count_users_who_own_specified_gear.js - * https://github.com/HabitRPG/habitrpg/pull/3884 + * https://github.com/HabitRPG/habitica/pull/3884 */ var thingsOfInterest = { diff --git a/gulp/gulp-sprites.js b/gulp/gulp-sprites.js index f5907060c0..44f7d6162d 100644 --- a/gulp/gulp-sprites.js +++ b/gulp/gulp-sprites.js @@ -49,7 +49,7 @@ gulp.task('sprites:checkCompiledDimensions', ['sprites:main', 'sprites:largeSpri }); if (numberOfSheetsThatAreTooBig > 0) { - console.error(`${numberOfSheetsThatAreTooBig} sheets might too big for mobile Safari to be able to handle them, but there is a margin of error in these calculations so it is probably okay. Mention this to an admin so they can test a staging site on mobile Safari after your PR is merged.`); // https://github.com/HabitRPG/habitrpg/pull/6683#issuecomment-185462180 + console.error(`${numberOfSheetsThatAreTooBig} sheets might too big for mobile Safari to be able to handle them, but there is a margin of error in these calculations so it is probably okay. Mention this to an admin so they can test a staging site on mobile Safari after your PR is merged.`); // https://github.com/HabitRPG/habitica/pull/6683#issuecomment-185462180 } else { console.log('All images are within the correct dimensions'); } diff --git a/test/api/v3/unit/models/group.test.js b/test/api/v3/unit/models/group.test.js index 91d04b4b1f..7c8735e152 100644 --- a/test/api/v3/unit/models/group.test.js +++ b/test/api/v3/unit/models/group.test.js @@ -228,7 +228,7 @@ describe('Group Model', () => { }); it('applies damage only to participating members of party even under buggy conditions', async () => { - // stops unfair damage from mbugs like https://github.com/HabitRPG/habitrpg/issues/7653 + // stops unfair damage from mbugs like https://github.com/HabitRPG/habitica/issues/7653 party.quest.members = { [questLeader._id]: true, [participatingMember._id]: true, diff --git a/test/sanity/README.md b/test/sanity/README.md index b1f1bc6094..67fad95c31 100644 --- a/test/sanity/README.md +++ b/test/sanity/README.md @@ -2,7 +2,7 @@ ## Babel Paths for Production Environment -In development, we [transpile at server start](https://github.com/HabitRPG/habitrpg/blob/1ed7e21542519abe7a3c601f396e1a07f9b050ae/website/server/index.js#L6-L8). This allows us to work quickly while developing, but is not suitable for production. So, in production we transpile the server code before the app starts. +In development, we [transpile at server start](https://github.com/HabitRPG/habitica/blob/1ed7e21542519abe7a3c601f396e1a07f9b050ae/website/server/index.js#L6-L8). This allows us to work quickly while developing, but is not suitable for production. So, in production we transpile the server code before the app starts. This system means that requiring any files from `website/common/script` in `website/server/**/*.js` must be done through the `website/common/index.js` module. In development, it'll pass through to the pre-transpiled files, but in production it'll point to the transpiled versions. If you try to require or import a file directly, it will error in production as the server doesn't know what to do with some es2015isms (such as the import statement). diff --git a/website/client-old/js/app.js b/website/client-old/js/app.js index 18a0c28950..740005d2ae 100644 --- a/website/client-old/js/app.js +++ b/website/client-old/js/app.js @@ -19,7 +19,7 @@ $(document).on('mousemove keydown mousedown touchstart', awaitIdle); window.habitrpg = angular.module('habitrpg', ['ui.bootstrap', 'ui.keypress', 'ui.router', 'chieffancypants.loadingBar', 'At', 'infinite-scroll', 'ui.select2', 'angular.filter', 'ngResource', 'ngSanitize']) - // @see https://github.com/angular-ui/ui-router/issues/110 and https://github.com/HabitRPG/habitrpg/issues/1705 + // @see https://github.com/angular-ui/ui-router/issues/110 and https://github.com/HabitRPG/habitica/issues/1705 // temporary hack until they have a better solution .constant("API_URL", "") diff --git a/website/client/components/avatar.vue b/website/client/components/avatar.vue index 7161533691..a8c17c3449 100644 --- a/website/client/components/avatar.vue +++ b/website/client/components/avatar.vue @@ -10,7 +10,7 @@ span(v-if="user.stats.buffs[item]", :class="klass") // Show flower ALL THE TIME!!! - // See https://github.com/HabitRPG/habitrpg/issues/7133 + // See https://github.com/HabitRPG/habitica/issues/7133 span(:class="'hair_flower_' + user.preferences.hair.flower") // Show avatar only if not currently affected by visual buff diff --git a/website/common/locales/hu/_README_FIRST.md b/website/common/locales/hu/_README_FIRST.md index e49299cb94..6a8985099a 100644 --- a/website/common/locales/hu/_README_FIRST.md +++ b/website/common/locales/hu/_README_FIRST.md @@ -1,5 +1,3 @@ Do not edit any files in this directory! For more information read README.md in the parent `locales` directory. - -https://github.com/HabitRPG/habitrpg/blob/develop/common/locales/README.md diff --git a/website/server/libs/cron.js b/website/server/libs/cron.js index a7a64fae3d..0c51587c54 100644 --- a/website/server/libs/cron.js +++ b/website/server/libs/cron.js @@ -111,7 +111,7 @@ function performSleepTasks (user, tasksByType, now) { let thatDay = moment(now).subtract({days: 1}); if (shouldDo(thatDay.toDate(), daily, user.preferences) || completed) { - // TODO also untick checklists if the Daily was due on previous missed days, if two or more days were missed at once -- https://github.com/HabitRPG/habitrpg/pull/7218#issuecomment-219256016 + // TODO also untick checklists if the Daily was due on previous missed days, if two or more days were missed at once -- https://github.com/HabitRPG/habitica/pull/7218#issuecomment-219256016 if (daily.checklist) { daily.checklist.forEach(box => box.completed = false); } @@ -391,7 +391,7 @@ export function cron (options = {}) { // preen user history so that it doesn't become a performance problem // also for subscribed users but differently - // TODO also do while resting in the inn. Note that later we'll be allowing the value/color of tasks to change while sleeping (https://github.com/HabitRPG/habitrpg/issues/5232), so the code in performSleepTasks() might be best merged back into here for that. Perhaps wait until then to do preen history for sleeping users. + // TODO also do while resting in the inn. Note that later we'll be allowing the value/color of tasks to change while sleeping (https://github.com/HabitRPG/habitica/issues/5232), so the code in performSleepTasks() might be best merged back into here for that. Perhaps wait until then to do preen history for sleeping users. preenUserHistory(user, tasksByType, user.preferences.timezoneOffset); if (perfect && atLeastOneDailyDue) { diff --git a/website/server/models/challenge.js b/website/server/models/challenge.js index 464d4a8257..bcb28e69a9 100644 --- a/website/server/models/challenge.js +++ b/website/server/models/challenge.js @@ -81,7 +81,7 @@ schema.methods.syncToUser = async function syncChallengeToUser (user) { // Add challenge to user.challenges if (!_.includes(user.challenges, challenge._id)) { // using concat because mongoose's protection against concurrent array modification isn't working as expected. - // see https://github.com/HabitRPG/habitrpg/pull/7787#issuecomment-232972394 + // see https://github.com/HabitRPG/habitica/pull/7787#issuecomment-232972394 user.challenges = user.challenges.concat([challenge._id]); } // Sync tags diff --git a/website/server/models/user/schema.js b/website/server/models/user/schema.js index 77800ac422..518758b89f 100644 --- a/website/server/models/user/schema.js +++ b/website/server/models/user/schema.js @@ -122,7 +122,7 @@ let schema = new Schema({ }, contributor: { - // 1-9, see https://trello.com/c/wkFzONhE/277-contributor-gear https://github.com/HabitRPG/habitrpg/issues/3801 + // 1-9, see https://trello.com/c/wkFzONhE/277-contributor-gear https://github.com/HabitRPG/habitica/issues/3801 level: { type: Number, min: 0, diff --git a/website/views/options/social/hall.jade b/website/views/options/social/hall.jade index 782694c62d..df9746c8a3 100644 --- a/website/views/options/social/hall.jade +++ b/website/views/options/social/hall.jade @@ -35,7 +35,7 @@ script(type='text/ng-template', id='partials/options.social.hall.heroes.html') |  a(target='_blank', href='https://trello.com/c/wkFzONhE/277-contributor-gear')=env.t('moreDetails') |,  - a(target='_blank', href='https://github.com/HabitRPG/habitrpg/issues/3801')=env.t('moreDetails2') + a(target='_blank', href='https://github.com/HabitRPG/habitica/issues/3801')=env.t('moreDetails2') .form-group textarea.form-control(cols=5, placeholder=env.t('contributions'), ng-model='hero.contributor.contributions') include ../../shared/formatting-help diff --git a/website/views/shared/avatar/appearance.jade b/website/views/shared/avatar/appearance.jade index 278ebd6c2e..62346a1a13 100644 --- a/website/views/shared/avatar/appearance.jade +++ b/website/views/shared/avatar/appearance.jade @@ -16,7 +16,7 @@ mixin avatar(opts) span(ng-if='profile.stats.buffs.#{item}', class='#{klass}') // Show flower ALL THE TIME!!! - // See https://github.com/HabitRPG/habitrpg/issues/7133 + // See https://github.com/HabitRPG/habitica/issues/7133 span(class='hair_flower_{{profile.preferences.hair.flower}}') // Show avatar only if not currently affected by visual buff diff --git a/website/views/shared/new-stuff.jade b/website/views/shared/new-stuff.jade index 10599701fc..8bfd2c2fe9 100644 --- a/website/views/shared/new-stuff.jade +++ b/website/views/shared/new-stuff.jade @@ -1877,7 +1877,7 @@ mixin oldNews h3 Important Info for Developers p Important news for Habitica developers: we're going to deactivate API v2 on July 15th. Learn more here. br - p We've put together a migration guide to help you make the switch for any of the integrations that you are coding. If you have any questions, feel free to reach out to us on GitHub or the Aspiring Coders Guild and we'll be happy to assist. Thanks for contributing to Habitica! + p We've put together a migration guide to help you make the switch for any of the integrations that you are coding. If you have any questions, feel free to reach out to us on GitHub or the Aspiring Coders Guild and we'll be happy to assist. Thanks for contributing to Habitica! h2 6/2/2016 - JUNE BACKGROUNDS AND ARMOIRE ITEMS REVEALED! PLUS, JUNE CHALLENGE SPOTLIGHT tr td @@ -3379,7 +3379,7 @@ mixin oldNews li All in-game references to HabitRPG will become references to Habitica. li The HabitRPG chest logo will change to the new Habitica logo. li Our affiliated sites, such as the Wiki, Trello, Twitter, etc. will use the new Habitica name. - li We don't anticipate any issues with third-party tools, but we will be actively working with developers to help them make any necessary updates. You can help us by reporting broken third-party tools at Help -> Report a Bug. + li We don't anticipate any issues with third-party tools, but we will be actively working with developers to help them make any necessary updates. You can help us by reporting broken third-party tools at Help -> Report a Bug. tr td h3 When will it change? @@ -3755,7 +3755,7 @@ mixin oldNews td h3 GIVING FEEDBACK p We understand that these changes may be disruptive to some of you. We're sorry! We hope that with time, you will find them to be a drastic improvement. We will be waiting two weeks (so that everyone can get used to the new system), and then on May 15th will open up a new Trello card for comments and feedback. - p For those of you who want to reallocate stats now that you have the new system, please post your User ID in this Github ticket. (Your UUID is found under Settings > API; do NOT post your API Token.) That ticket is also being used to debate a possibility to make it so that reallocating stats does not cost gems. If that's a feature you would like (or would hate), definitely drop by that ticket and let us know! + p For those of you who want to reallocate stats now that you have the new system, please post your User ID in this Github ticket. (Your UUID is found under Settings > API; do NOT post your API Token.) That ticket is also being used to debate a possibility to make it so that reallocating stats does not cost gems. If that's a feature you would like (or would hate), definitely drop by that ticket and let us know! p.small.muted by Alys, Verabird, brandonjreid, ShilohT, betaveros, SabreCat, chimericdream, and everyone who commented with feedback on Trello and Github. You all are great! h2 4/30/2015 - LAST CHANCE FOR BUSY BEE AND SPRING FLING ITEMS, AND SOON-TO-APPEAR NEW EQUIPMENT! @@ -4010,7 +4010,7 @@ mixin oldNews tr td h3 - p As most of you probably noticed, the site was down yesterday. We got a surge of new users from Imgur who absolutely flattened the servers by registering all at once, and it proved very difficult to start up again. You can read the technical details in this Github ticket. We're sorry about all of the frustration! + p As most of you probably noticed, the site was down yesterday. We got a surge of new users from Imgur who absolutely flattened the servers by registering all at once, and it proved very difficult to start up again. You can read the technical details in this Github ticket. We're sorry about all of the frustration! br p At about midnight PST we checked all active users into the inn, "freezing" their accounts so that their incomplete Dailies would not hurt them, in hopes that this would prevent most of the undeserved deaths due to server troubles. That's why your avatar is sleeping! To check yourself out of the inn, go to Social > Tavern > Check out of inn. br @@ -4248,7 +4248,7 @@ mixin oldNews tr td h3 Testing Fix for Cron Bug - p Today we will be testing a possible fix for a bug that sometimes causes Dailies to not reset correctly on the following day. It's a big change, so we will be keeping a close watch on the site to make sure that it doesn't break anything. If you experience any problems with day start or Dailies reseting in the next few days, please let us know immediately on GitHub. Thanks! + p Today we will be testing a possible fix for a bug that sometimes causes Dailies to not reset correctly on the following day. It's a big change, so we will be keeping a close watch on the site to make sure that it doesn't break anything. If you experience any problems with day start or Dailies reseting in the next few days, please let us know immediately on GitHub. Thanks! tr td h3 Date Format Adjustment @@ -4650,7 +4650,7 @@ mixin oldNews tr td h3 Memory Leaks Almost Fixed - p It took a ton of effort, but Tyler has fixed the largest memory leak that was crashing our servers! There are a few smaller ones that he’s still conquering one by one, but the fiercest monster has been slain. Ten thousand cheers for Tyler! You can read the technical description of how we’re fixing the leaks here, and for any JavaScript developers out there: we'd love your help! We’ll let you all know when we’ve fixed the problem for once and for all. + p It took a ton of effort, but Tyler has fixed the largest memory leak that was crashing our servers! There are a few smaller ones that he’s still conquering one by one, but the fiercest monster has been slain. Ten thousand cheers for Tyler! You can read the technical description of how we’re fixing the leaks here, and for any JavaScript developers out there: we'd love your help! We’ll let you all know when we’ve fixed the problem for once and for all. p.small.muted by lefnire h2 10/1/2014 - Seasonal Edition Skins, Seasonal Edition Hair Colors, Community Costume Challenge, Release Pets, and October Mystery Item! @@ -4688,7 +4688,7 @@ mixin oldNews tr td h3 Update: Diagnosing Server Problems - p Our servers have been under a massive strain recently, and so we've created a Github ticket that you can follow for updates on the things we're doing to fix the problem. We've also written a blog post. We'll keep you updated with new developments as we strive to solve this problem. + p Our servers have been under a massive strain recently, and so we've created a Github ticket that you can follow for updates on the things we're doing to fix the problem. We've also written a blog post. We'll keep you updated with new developments as we strive to solve this problem. p If you've lost any of your stats during this time, you can restore them using Settings > Site > Fix Character Values. Thank you so much for your patience and encouragement as we work to fight this fearsome foe! p.small.muted by lefnire, Lemoness tr @@ -4914,7 +4914,7 @@ mixin oldNews br p The Drag’on also caused some glitches with party boss damage, but they should be repaired now. br - p For a detailed breakdown of what happened, follow the issue here! + p For a detailed breakdown of what happened, follow the issue here! br p Now let's fight this monster for real. @@ -5329,7 +5329,7 @@ mixin oldNews h3 Critical Hammer Of Bug-Crushing p .pull-right.weapon_special_critical - | Some of you may have noticed that we periodically have some bugs that are nastier than the norm - the dreaded critical bugs. These monstrous apparitions have been snapping at the heels of many a player. For updates on what we're currently working on to improve site stability, read this link - and then jump in to help! Not only will programming assistance reward you with the usual contributor levels, but if you actually manage to fix a bug marked "critical," you will now receive the Critical Hammer of Bug-Crushing as your reward! + | Some of you may have noticed that we periodically have some bugs that are nastier than the norm - the dreaded critical bugs. These monstrous apparitions have been snapping at the heels of many a player. For updates on what we're currently working on to improve site stability, read this link - and then jump in to help! Not only will programming assistance reward you with the usual contributor levels, but if you actually manage to fix a bug marked "critical," you will now receive the Critical Hammer of Bug-Crushing as your reward! tr td @@ -5340,9 +5340,9 @@ mixin oldNews tr td h3 Stability Update - p We've stabilized the site a lot (we're still working out kinks, but we're way better now). Follow the progress here, but here are some workarounds for now: + p We've stabilized the site a lot (we're still working out kinks, but we're way better now). Follow the progress here, but here are some workarounds for now: ul - li Click slower. VersionError is caused by clicking things off too fast (we're working on a fix). + li Click slower. VersionError is caused by clicking things off too fast (we're working on a fix). li If you see an error, refresh before proceeding. p @@ -5463,7 +5463,7 @@ mixin oldNews tr td h3 Rebirth - p Nothing says New Year like a fresh start. Now when you reach level 50, Ultimate Gear, or BeastMaster, you can begin anew with the most prestigious of achievements: Rebirth. Read more here. But take heed! Scouts have reported monster sightings, harbinged by Trapper Santa. You may need all the strength you can muster come late January, Rebirth is for the hard-core. + p Nothing says New Year like a fresh start. Now when you reach level 50, Ultimate Gear, or BeastMaster, you can begin anew with the most prestigious of achievements: Rebirth. Read more here. But take heed! Scouts have reported monster sightings, harbinged by Trapper Santa. You may need all the strength you can muster come late January, Rebirth is for the hard-core. small.muted by @SabreCat tr td diff --git a/website/views/static/clear-browser-data.jade b/website/views/static/clear-browser-data.jade index 68e7daa434..faf6434135 100644 --- a/website/views/static/clear-browser-data.jade +++ b/website/views/static/clear-browser-data.jade @@ -21,4 +21,4 @@ block content popover-trigger='mouseover', popover=env.t('localStorageClearExplanation')) =env.t('localStorageClear') br - p!=env.t('localStorageTryNext', {linkStart: "", linkEnd: ""}) + p!=env.t('localStorageTryNext', {linkStart: "", linkEnd: ""}) diff --git a/website/views/static/contact.jade b/website/views/static/contact.jade index 6cacbd1b82..16a0202986 100644 --- a/website/views/static/contact.jade +++ b/website/views/static/contact.jade @@ -19,7 +19,7 @@ block content br =env.t('reportBug') | :  - a(target='_blank', href='https://github.com/HabitRPG/habitrpg/issues?q=is%3Aopen') GitHub + a(target='_blank', href='https://github.com/HabitRPG/habitica/issues?q=is%3Aopen') GitHub br =env.t('reportCommunityIssues') | :