Anonymously reach out to the people that you appreciate or to whom you are thankful in your community

happinesspackets, updated 🕥 2022-01-21 19:37:45

Open-source Happiness Packets

The Open-Source Happiness Packets project was created by Sasha Romijn <https://twitter.com/mxsash> and Mikey Ariel <https://twitter.com/thatdocslady> in March 2016. The idea came about while we were building our Healthy Minds in a Healthy Community <https://github.com/erikr/well-being/> presentation for Djangocon Europe 2016 <https://2016.djangocon.eu/speakers/13>. One of the issues we wanted to address in the presentation was that many people are unaware of how loved, appreciated, or admired they are by their peers, since our culture seems to discourage positive feedback and amplify negative feedback. With this project, we wanted to provide a platform for people to send positive feedback, thanks, or just a kind word to their peers, with hope to make it easier and more acceptable for people to spread happiness, gratitude and appreciation in open-source communities.

The structure and format of the site is basic, and contributions are welcome!

To run this project or the tests, you need to set up a virtualenv, install the dev requirements and set the correct DJANGO_SETTINGS_MODULE, for example with::

virtualenv --no-site-packages --prompt='(happinesspackets)' virtualenv/
source virtualenv/bin/activate
pip install -r requirements/dev.txt
export DJANGO_SETTINGS_MODULE=happinesspackets.settings.dev
./t

The t command is a very short shell script that runs the tests with the correct settings and reports on coverage.

To run the integration tests::

./manage.py test -v 2 -p integration_test*.py --settings=happinesspackets.settings.tsting

This repository contains some documentation directly related to the code, built with Sphinx. To build the docs::

cd docs
make html
open _build/html/index.html

Issues

Bump ipython from 4.1.1 to 7.16.3 in /requirements

opened on 2022-01-21 19:37:44 by dependabot[bot]

Bumps ipython from 4.1.1 to 7.16.3.

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/happinesspackets/happinesspackets/network/alerts).

Bump django from 1.11.29 to 2.2.24 in /requirements

opened on 2021-06-10 20:19:06 by dependabot[bot]

Bumps django from 1.11.29 to 2.2.24.

Commits
  • 2da029d [2.2.x] Bumped version for 2.2.24 release.
  • f27c38a [2.2.x] Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.
  • 053cc95 [2.2.x] Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs'...
  • 6229d87 [2.2.x] Confirmed release date for Django 2.2.24.
  • f163ad5 [2.2.x] Added stub release notes and date for Django 2.2.24.
  • bed1755 [2.2.x] Changed IRC references to Libera.Chat.
  • 63f0d7a [2.2.x] Refs #32718 -- Fixed file_storage.test_generate_filename and model_fi...
  • 5fe4970 [2.2.x] Post-release version bump.
  • 61f814f [2.2.x] Bumped version for 2.2.23 release.
  • b8ecb06 [2.2.x] Fixed #32718 -- Relaxed file name validation in FileField.
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/happinesspackets/happinesspackets/network/alerts).

Active class is set to an element in sidebar for all pages

opened on 2019-03-05 14:09:34 by PhoeniXAbhisheK

Summary

A class of active is added to a sidebar element on all pages, resulting in two elements having the class of active for all pages other than home.

Background

It is observed that the element that is associated with the home url(i.e. 'What are happiness packets?') in the sidebar, always has an active class on all the pages.

Details

On analysis, it was found that since the following code in happinesspackets\messaging\urls.py is true for all cases of url patterns, urlpatterns = [ url(r'^$', StartView.as_view(), name='start'), it results in the active class being added to the corresponding element for all pages that utilize templates\base.html template. {% url 'messaging:start' as url %} <li role="presentation" {% if url in request.path %}class="active"{% endif %}><a href="{{ url }}">What are Happiness Packets?</a></li>

Expected Outcome

Only the element that is mapped with the current url should have an active class.

Night mode

opened on 2019-03-04 16:38:55 by richa208

This is basically a feature request wherein a feature which could switch the site into night mode or day mode view as per the user needs can be added. The feature would help users use the site in dark with less strain on eyes.

Archive list becomes too long if we load all entries in first load

opened on 2018-10-13 02:32:19 by Harshit-modi

Archive list has too many entries. So the page length is becoming too long. So it's better to have only few entries on first load and load the rest when user wants to.

opbeat server

opened on 2018-08-01 15:41:24 by Algogator

Are there other things that need to be configured before opbeat can be used?

I'm getting errors like:

2018-08-01 05:33:27,281 gunicorn[7924]: ERROR opbeat.errors: Unable to reach Opbeat server: <urlopen error [Errno -2] Name or service not known> (url: https://intake.opbeat.com/api/v1/organizations/None/apps/None/transactions/)

Happiness Packets

Happiness Packets is a simple platform to anonymously reach out to the people that you appreciate or to whom you are thankful in your community

GitHub Repository Homepage

python django