No description
Find a file
Matteo Pagliazzi 17b1365853
Improve @mention handling (#10872)
* move the update username route to v3 (#10836)

* Add API Call to retrieve auto-complete options for usernames

* Create links to users profile in chat messages

* Begin adding server-side autocomplete to web client

* Add Test to opt out of username being searchable

* Fix issue with username highlighting

* Correctly update message text when using autocomplete

* remove old autocomplete component

* Improve chat input design

* rewrite mongoose migration to avoid using recursion

* fixes

* select more fields

* use lean and .update

* fix(tests): correct expects

* fix(tests): linting & more expects
Also one more tweak for invite validation responsiveness

* chore(news): Bailey

* chore(i18n): update locales

* 4.70.0

* fix(chat): less intrusive highlight and better margins

* fix(chat): more width tweakage

* feat(content): Oddballs Bundle
Also includes one more tweak to @mention text highlighting

* chore(sprites): compile

* chore(i18n): update locales

* 4.71.0

* groupChatReceived webhook fix (#10802)

* Moved sendGroupChatReceivedWebhooks to group.sendChat function.

* Added test for new functionality.

* Set width on .custom-control-label (#10840)

Set `width: 100%` on the `.custom-control-label`.

Although `overflow-wrap: break-word` is set on the parent `.checklist-item` element, it doesn't seem to take effect unless a width is set on the label.

* Very large Guild member counts overflow the badge #10753 (#10812)

* Update superagent to the latest version 🚀 (#10848)

* fix(package): update superagent to version 4.0.0

* chore(package): update lockfile package-lock.json

* fix(chat): prevent duplicate messages, closes #10823

* Fix for #10814, prevent ParallelSave errors (#10852)

* fix(group leave): prevent ParallelSave errors while leaving a group with multiple group or challenge tasks

* fix typo

* move computed-props to methods - refactor mountItem to use the states inside (#10853)

* feat(content): Frost Hatching Potions

* chore(sprites): compile

* chore(i18n): update locales

* 4.72.0

* fix(stable): remove progress number from petItem

* add two slurs - TRIGGER / CONTENT WARNING: assault, slurs, swearwords, etc

* more checks on the item.klass, also added the specialClass checks (#10859)

* feat(content): Turkey Day 2018

* chore(sprites): compile

* chore(i18n): update locales

* 4.73.0

* chore(i18n): update locales

* 4.73.1

* feat(footer): always show expanded footer (#10862)

* Fixes issue #10857 ("Tags have extra space at the bottom when they should be centered") (#10861)

* Fix for #10857 centered category tag text

* Fixes #10857 and #10856 display tag markdown.

* Attach client to chat messages (#10845)

* Attach client to chat messages

* Word

* Design tweaks

* Fix potential error

* chore(event): end Thanksgiving tweaks

* chore(i18n): update locales

* 4.73.2

* Improve chat input design

* Fix test errors

* Move tier icons import to index

* correctly name event variable

* Debounce autocomplete calls

* optimize mention highlighting

* fix failing tests

* Fix sending private messages

* Cache username autocomplete requests

* optimize autocomplete regex

* Fix lint error

* add optional parameters to limit autocompletion to specific group

* Fix non-profile urls not being usable.

* Correctly handle autocomplete for public and private guilds

* Add check to make sure users don’t search for parties/guilds they are not part of

* fix lint error

* limit autocomplete results to 5

* fix(mentioning): change default, adapt settings control to checkbox

* Improve auto completing

* improve username autocomplete

* Fix merge issue

* remove old code

* Send push notifications on mentions

* Improve handling for sending mention notifications

* Fix lint error

* Update schema.js

* Fix failing test

* Don't send push notification to users who aren't in the party

* Remove tributejs from dependencies
2019-10-18 17:05:13 +02:00
.ebextensions Old Client Cleanup (#9141) 2017-10-12 16:44:28 +02:00
.github repo(gh actions): disable 2019-09-21 10:57:24 +02:00
database_reports Scripts October 2018 (#10741) 2018-10-07 14:20:30 -05:00
gulp feat(content): new freebie glasses 2019-05-30 15:13:23 -05:00
keys/google change Google iap-live for Android mobile app gem purchases, at negue's request 2015-12-03 06:22:59 +10:00
kubernetes Kubernetes support for dev environments (#8753) 2017-07-01 09:30:08 -07:00
migrations feat(kickstarter): add achievement 2019-09-27 11:45:24 -05:00
scripts fix(script): better regex anchor 2019-08-05 16:20:56 -05:00
test Improve @mention handling (#10872) 2019-10-18 17:05:13 +02:00
vagrant_scripts changed wikia links to fandom 2019-01-24 11:21:52 +00:00
webpack fix some svgs on production 2019-08-20 17:13:35 +02:00
website Improve @mention handling (#10872) 2019-10-18 17:05:13 +02:00
.babelrc Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
.buildpacks refactor(tasks) improve UI consistency 2014-11-27 10:32:57 +00:00
.codeclimate.yml Only list javascript in .codeclimate.yml 2015-08-02 17:54:05 +02:00
.dockerignore Docker improvements (#8297) 2016-12-28 09:33:24 +01:00
.editorconfig Create .editorconfig 2016-09-07 08:44:57 -05:00
.eslintignore Upgrade tests tools and lint migrations and scripts (part 2) (#9998) 2018-02-17 18:11:24 +01:00
.eslintrc fix: eslint: re-order packages 2016-12-26 16:04:36 +01:00
.gitignore chore(news): Blog Bailey 2019-02-14 13:25:40 -06:00
.nodemonignore add website/raw_sprites/** to list of files ignored by nodemon (#10274) 2018-04-26 10:46:49 +02:00
.nvmrc Node 12 (#11149) 2019-08-19 22:43:17 +02:00
.travis.yml Node 12 (#11149) 2019-08-19 22:43:17 +02:00
apidoc.json chore: Remove versioning from apidoc 2016-05-25 11:11:39 -05:00
config.json.example mongo: tweak the default connection size 2019-10-18 12:41:04 +02:00
docker-compose.dev.yml docker: mongodb3.6 2019-10-18 16:52:21 +02:00
docker-compose.yml docker: mongodb3.6 2019-10-18 16:52:21 +02:00
Dockerfile Dockerfile: Modified git clone to only clone with depth 1 (#11350) 2019-09-06 12:03:48 -04:00
Dockerfile-Dev Node 12 (#11149) 2019-08-19 22:43:17 +02:00
gulpfile.js Upgrade gulp (and gulp deps) (#9950) 2018-02-04 18:18:10 +01:00
LICENSE Fix grammar mistakes in license file 2016-06-21 06:42:20 -05:00
package-lock.json Improve @mention handling (#10872) 2019-10-18 17:05:13 +02:00
package.json deps: upgrade monk 2019-10-18 16:38:11 +02:00
Procfile API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md Update README.md (#11361) 2019-09-19 16:09:34 -04:00
VAGRANT.md changed wikia links to fandom 2019-01-24 11:21:52 +00:00
Vagrantfile.example Update Vagrantfile.example to forward port 8080 (#9732) 2018-01-12 16:32:09 -06:00

Habitica Build Status Code Climate Bountysource Open Source Helpers

Greenkeeper badge

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.

We need more programmers! Your assistance will be greatly appreciated. The wiki pages below and the additional pages they link to will tell you how to get started on contributing code and where you can go to seek further help or ask questions:

Habitica's code is licensed as described at https://github.com/HabitRPG/habitica/blob/develop/LICENSE

Found a bug? Please report it in the Report a Bug guild rather than creating an issue (an admin will advise you if a new issue is necessary; usually it is not).

Have any questions about Habitica or its community? See the links in the habitica.com website's Help menu or drop in to Guilds > Tavern Chat to ask questions or chat socially!