Skip to content

Commit 6d7e97a

Browse files
authored
Merge pull request #397 from coders4help/develop
Merge develop into master branch
2 parents eb77de1 + 4fb5c32 commit 6d7e97a

File tree

109 files changed

+2325
-720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+2325
-720
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[**]
5+
end_of_line = lf
6+
charset = utf-8
7+
insert_final_newline = true
8+
indent_style = space
9+
10+
[**.py]
11+
indent_size = 4
12+
trim_trailing_whitespace = true
13+
14+
[Dockerfile]
15+
indent_size = 4
16+
17+
[**.{yml,yaml}]
18+
indent_size = 2

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,5 @@ db.sqlite3
1313
/.coverage
1414
*.log
1515
.cache
16-
<<<<<<< Updated upstream
17-
=======
1816
fabfile.py
1917
/var
20-
>>>>>>> Stashed changes

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ python: "2.7"
44

55
env: DJANGO_SETTINGS_MODULE=volunteer_planner.settings.tests
66

7-
install: "pip install -r requirements/dev.txt"
7+
install:
8+
- travis_retry make sys_reqs
9+
- travis_retry pip install -U -r requirements/dev.txt
810

911
# Fire up a webserver for Selenium
1012
before_script:

CHANGELOG

Lines changed: 0 additions & 27 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
## [Unreleased]
5+
### Added
6+
- [UI] Display a warning when joining overlapping shifts #395
7+
- [UI] shift managers can see the e-mail address of approved and pending facility members to contact them
8+
- enhancements to the excel document that is sent to shift managers
9+
- Some javascript files from different CDN are now included in Volunteer Planner distribution.
10+
- [development] .editorconfig (PEP8 style)
11+
- [development] new docstrings to source code
12+
- [development] support for Docker containers for the test/development environment
13+
- [development] makefile for base and mysql installations
14+
- [development] travis badge added for readme.md
15+
16+
### Changed
17+
- [UI] better alignment of page
18+
- [UI] Additional information - if shifts span over midnight there is need of additional information to differentiate between shifts that start today and shifts that started yesterday. In these cases the date is shown in the field where the time is shown.
19+
- fixed issue 360: From field of emails is now DEFAULT_FROM_EMAIL and not anymore the fake from email of the shift manager.
20+
- All used CSS and Javascript files are delivered by Volunteer Planner (instead of using some CDNs)
21+
- text of HTTP 500 error was shortened.
22+
- [development] CHANGELOG is now Markdown
23+
- [development] Refactoring of the shiftmailer and Excelgenerator
24+
- [development] Refactor: only one repository for static files (both repositories have been merged)
25+
- [development] better README
26+
27+
### Fixed
28+
- UI: corrected wrong email for onboarding
29+
- fixed issue 373: Shifts in shift history/future shifts are now shown correctly
30+
- [development] some PEP8 fixes of the source code
31+
- [development] removed hardcoded email from the source code, use settings file instead
32+
- [development] removed one hardcoded link on image
33+
- [development] .travis.yml fixups
34+
35+
### Removed
36+
- static repository in non-logged-in-area was removed
37+
- [development] application api removed (not used and no plans for usage)
38+
- [development] application registration_history removed (since 03.10.15 not in use and no function anymore)
39+
- [development] application stats removed (since 01.10.15 not in use and no function anymore)
40+
41+
## [3.0.1] - 2016-01-09
42+
### Added
43+
- [UI] User can her history of work shifts
44+
- [UI] User can see upcoming shifts (the shifts she signed up for)
45+
- Delete user: User can delete her account - the data is anonymized
46+
- Social Impact Lab was added as supporter
47+
48+
### Changed
49+
- updated translations and wording
50+
- [UI] Account creation: There is now an explicit message on account creation form explaining what happens here. (users often mistake the creation form for the login form)
51+
- [UI] Account creation: The help texts have been improved
52+
- Maps: Google Maps links have been removed, Openstreetmap links have been added
53+
- several static information webpages (e.g FAQ) have been migrated from static html sites to django-flatpages
54+
- Do not throw away user entered data during registration (It is fairly frustrating for new users to have te re-enter e-mail
55+
addresses and passwords etc.)
56+
57+
### Fixed
58+
- default PostgreSQL settings have been fixed
59+
- several PEP8 fixes of the source code (whitespaces, empty lines, lowercase variables)
60+
- fix of registration form
61+
- small fix of README.md
62+
- ordering of facilities at landing page fixed
63+
- add psycopg2 to requirements.txt
64+
65+
### Removed
66+
- Google maps (see Changed)
67+
- several static webpages (see Changed)
68+
69+
## [3.0.0] - 2015-11-08
70+
### Added / Changed / Fixed / Removed
71+
- see git log
72+
73+
## [2.2.0] - 2015-10-22
74+
### Added / Changed / Fixed / Removed
75+
- see git log
76+
77+
## [2.1.0] - 2015-10-09
78+
### Added / Changed / Fixed / Removed
79+
- see git log
80+
81+
## [2.0.0] - 2015-10-04
82+
### Added / Changed / Fixed / Removed
83+
- see git log
84+
85+
## [1.4.0] - 2015-09-16
86+
### Added / Changed / Fixed / Removed
87+
- Bug fix: creating new volunteer resulted in too long action and HTTP 502 error
88+
- Some UI cleanup (navigation bar and admin area).
89+
- Localization
90+
- Data model clean up
91+
- Facebook integration (preview image) improved
92+
- fix email privacy in email notification
93+
- fix UI problems
94+
95+
## [1.3.0] - 2015-09-14
96+
### Added / Changed / Fixed / Removed
97+
- Add pretty admin theme
98+
- Prevent volunteers from subscribing to shifts if their time is conflicting with already
99+
subscribed-to shifts.
100+
- Add py.test, factory-boy and basic factories.
101+
- Add Travis CI integration for pull requests.
102+
- Add django-extensions for dev, for ./manage.py shell_plus and graphing models.
103+
- Simplify views, remove statistics app, move registration app.
104+
- Subscribe button is hidden when already subscribed to shift.
105+
- Add a basic i18n workflow and mark some strings.
106+
- Email notifications for deleted shifts.
107+
108+
## [1.2.0] - 2015-09-13
109+
### Added / Changed / Fixed / Removed
110+
- see git log
111+
112+
## [1.1.0] - 2015-09-12
113+
### Added / Changed / Fixed / Removed
114+
- see git log
115+
116+
## [1.0.0] - 2015-09-08
117+
### Added / Changed / Fixed / Removed
118+
- see git log

Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM python:2.7-alpine
2+
ENV PYTHONUNBUFFERED=1 user=vp vpbasedir=/opt/vpcode/
3+
4+
WORKDIR ${vpbasedir}
5+
6+
RUN addgroup -g 1000 ${user} && \
7+
adduser -G vp -u 1000 -D -h ${vpbasedir} ${user} && \
8+
chown ${user}:${user} ${vpbasedir}
9+
10+
ADD requirements/*.txt ${vpbasedir}
11+
12+
RUN apk update && apk add musl-dev mariadb mariadb-client-libs mariadb-libs mariadb-dev postgresql postgresql-dev gcc && \
13+
pip install -r dev_mysql.txt -r dev_postgres.txt && \
14+
apk del --purge gcc mariadb-dev mariadb musl-dev && \
15+
/bin/rm -rf /var/cache/apk/*
16+
17+
ADD django-entrypoint.sh /
18+
RUN chmod 0755 /django-entrypoint.sh
19+
20+
USER ${user}
21+
CMD ["/bin/sh"]

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SYS_REQ_DIR:=system_requirements
2+
3+
WHICH_REQS?=
4+
_install_reqs:
5+
for pk in $$(cat ${WHICH_REQS}); do sudo apt-get install -yq "$$pk"; done
6+
7+
sys_base: WHICH_REQS=$(SYS_REQ_DIR)/base.txt
8+
sys_base: _install_reqs
9+
10+
sys_mysql: WHICH_REQS=$(SYS_REQ_DIR)/mysql.txt
11+
sys_mysql: _install_reqs
12+
13+
.PHONY: sys_reqs mysql_reqs

0 commit comments

Comments
 (0)