Skip to content

Commit 9a741d9

Browse files
Merge pull request #1603 from fossasia/development
chore(release): v1.1.0
2 parents acca5c7 + 142d819 commit 9a741d9

File tree

414 files changed

+7088
-3803
lines changed

Some content is hidden

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

414 files changed

+7088
-3803
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
build:
44
working_directory: ~/code
55
docker:
6-
- image: circleci/android:api-27-alpha
6+
- image: circleci/android:api-28-alpha
77
environment:
88
JVM_OPTS: -Xmx3200m
99
steps:

.github/ISSUE_TEMPLATE

-49
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report to help us improve
4+
5+
---
6+
7+
**Describe the bug**
8+
<!-- A clear and concise description of what the bug is. -->
9+
10+
**To Reproduce**
11+
<!--Steps to reproduce the behavior:
12+
1. Go to '...'
13+
2. Click on '....'
14+
3. Scroll down to '....'
15+
4. See error -->
16+
17+
**Expected behavior**
18+
<!-- A clear and concise description of what you expected to happen. -->
19+
20+
**Logs**
21+
<!-- Please add logs in case of any crash or applicable error. -->
22+
23+
**Screenshots**
24+
<!-- If applicable, add screenshots to help explain your problem. -->
25+
26+
**Smartphone Info:**
27+
<!-- Please complete the following information -->
28+
| | |
29+
|---------------|-|
30+
|Device |<!-- [e.g. Moto G5 Plus] -->|
31+
|Android Version|<!-- [e.g. Oreo 8.1] --> |
32+
33+
**Additional context**
34+
<!-- Add any other context about the problem here. -->
35+
36+
**Would you like to work on the issue?**
37+
<!-- Please let us know if you can work on it or the issue should be assigned to someone else. -->
38+
- [ ] Yes
39+
- [ ] No
40+
- Other:

.github/ISSUE_TEMPLATE/chore.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Chore
3+
about: Issue related to docs, workflow, dependencies and others
4+
5+
---
6+
7+
**Describe the chore**
8+
<!-- A clear and concise description of what you want to do. -->
9+
10+
**Would you like to work on the issue?**
11+
<!-- Please let us know if you can work on it or the issue should be assigned to someone else. -->
12+
- [ ] Yes
13+
- [ ] No
14+
- Other:
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
**Describe the feature you'd like**
8+
<!-- A clear and concise description of what you want to happen. -->
9+
10+
**Screenshots**
11+
<!-- Add screenshots to provide context or UI mockup. -->
12+
13+
**Additional context**
14+
<!-- Add any other context about the problem here. -->
15+
16+
**Would you like to work on the issue?**
17+
<!-- Please let us know if you can work on it or the issue should be assigned to someone else. -->
18+
- [ ] Yes
19+
- [ ] No
20+
- Other:

.github/issue_template.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
**Describe the Issue**
2+
<!-- A clear and concise description of the issue. -->
3+
4+
**Would you like to work on the issue?**
5+
<!-- Please let us know if you can work on it or the issue should be assigned to someone else. -->
6+
- [ ] Yes
7+
- [ ] No
8+
- Other:

.github/release-drafter.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name-template: v$NEXT_PATCH_VERSION 🌈
2+
tag-template: v$NEXT_PATCH_VERSION
3+
categories:
4+
- title: 🚀 Features and Enhancements
5+
label: feature
6+
- title: 🐛 Bug Fixes
7+
label: fix
8+
- title: 🧰 Maintenance
9+
label: chore
10+
- title: Libraries and Dependencies
11+
label: dependencies
12+
change-template: '- $TITLE (#$NUMBER) - @$AUTHOR'
13+
template: |
14+
## Changes
15+
16+
$CHANGES
17+
18+
## Contributors
19+
20+
Thanks a lot to our contributors for making this release possible:
21+
$CONTRIBUTORS

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cache:
1717
- "$HOME/.gradle/caches/"
1818
- "$HOME/.gradle/wrapper/"
1919
install:
20-
- echo yes | ${ANDROID_HOME}/tools/bin/sdkmanager "platforms;android-27"
20+
- echo yes | ${ANDROID_HOME}/tools/bin/sdkmanager "platforms;android-28"
2121
script:
2222
- ./gradlew build
2323
- ./gradlew testPlayStoreDebugUnitTestCoverage

ISSUE_TEMPLATE/bug.md

-29
This file was deleted.

ISSUE_TEMPLATE/chore.md

-9
This file was deleted.

ISSUE_TEMPLATE/feature.md

-9
This file was deleted.

README.md

+34-12
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,11 @@ The core features of this Android Application are
1919
- Ticket Management
2020
- Data sync with the [Open Event Organizer Server](https://github.com/fossasia/open-event-orga-server/)
2121

22-
Currently, the application is released in alpha phase at Google Play Store [here](https://play.google.com/store/apps/details?id=org.fossasia.eventyay).
22+
Currently, the application is released in alpha phase and available here:
23+
[Google Play](https://play.google.com/store/apps/details?id=com.eventyay.organizer) and [F-Droid](https://f-droid.org/en/packages/com.eventyay.organizer/).
2324

24-
<a href='https://play.google.com/store/apps/details?id=org.fossasia.eventyay&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' height="80"/></a>
25-
26-
Have an issue? Create one using these:
27-
28-
[![Bug](https://img.shields.io/badge/issues-bug-red.svg)](https://github.com/fossasia/open-event-orga-app/issues/new?template=bug.md)
29-
[![Feature](https://img.shields.io/badge/issues-feature-green.svg)](https://github.com/fossasia/open-event-orga-app/issues/new?template=feature.md)
30-
[![Chore](https://img.shields.io/badge/issues-chore-blue.svg)](https://github.com/fossasia/open-event-orga-app/issues/new?template=chore.md)
25+
<a href='https://play.google.com/store/apps/details?id=com.eventyay.organizer'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' height="80"/></a>
26+
<a href='https://f-droid.org/en/packages/com.eventyay.organizer/'><img alt='Get it on F-Droid' src='https://f-droid.org/assets/fdroid-logo.svg' height="80"/></a>
3127

3228
## Roadmap
3329

@@ -64,10 +60,10 @@ Our chat channel is on gitter here: https://gitter.im/fossasia/open-event-orga-a
6460

6561
## Development
6662

67-
- The [Open Event Organizer Server](https://github.com/fossasia/open-event-orga-server) acts as the backend for this application. The API docs for the same can be accessed at https://open-event-api.herokuapp.com/ .
63+
- The [Open Event Organizer Server](https://github.com/fossasia/open-event-orga-server) acts as the backend for this application. The API docs for the same can be accessed at https://open-event-api-dev.herokuapp.com/ .
6864
- The following account can be used for testing and development purposes.
6965

70-
Email: orga.developer@gmail.com
66+
Email: orgadeveloper@gmail.com
7167

7268
Password: fossasia
7369

@@ -108,7 +104,7 @@ Please find info about the set up of the App in your development environment [he
108104

109105
### Project Conventions
110106

111-
There is certain conventions we follow in the project, we recommend that you become familiar with these so that the development process is uniform for everyone:
107+
There are certain conventions we follow in the project, we recommend that you become familiar with these so that the development process is uniform for everyone:
112108

113109
#### Dependency Injection
114110

@@ -126,7 +122,7 @@ We realize that MVP is opinionated and there is no strict boundary between the r
126122
#### Project Structure
127123

128124
Generally, projects are created using package by layer approach where packages are names by layers like `ui`, `activity`, `fragment`, etc but it quickly becomes unscalable in large projects where large number of unrelated classes are crammed in one layer and it becomes difficult to navigate through them.
129-
Instead, we follow package by feature, which at the cost of flatness of our project, provides us packages of isolated functioning related classes which are likely to be a complete self sufficient component of the application. Each package all related classes of view, presenter, their implementations like Activities anf Fragments.
125+
Instead, we follow package by feature, which at the cost of flatness of our project, provides us packages of isolated functioning related classes which are likely to be a complete self sufficient component of the application. Each package all related classes of view, presenter, their implementations like Activities and Fragments.
130126
A notable exception to this is the `common` module and data classes like Models and Repositories as they are used in a cross component way.
131127
***Note:** The interface contract for Presenter and View is present in `contract` package in each module`*
132128

@@ -139,6 +135,32 @@ So, please take a look at already written tests(they are fairly self-documenting
139135

140136
Lastly, each class should only perform one task, do it well, and be unit tested for it. For example, if a presenter is doing more than it should, i.e., parsing dates or implementing search logic, better move it in its own class. There can be exceptions for this practice, but if the functionality can be generalised and reused, it should most definitely be transferred in its own class and unit tested.
141137

138+
#### Branch Policy
139+
140+
The following branches are present in the project:
141+
142+
* **development** All development goes on in this branch. If you're making a contribution, you are supposed to make a pull request to _development_. PRs to development branch must pass a build check and a unit-test check on Circle CI.
143+
144+
* **master** This contains shipped code. After significant features/bugfixes are accumulated on development, we make a version update and make a release.
145+
146+
>Please Note that :-
147+
Each push to master branch automatically publishes the application to Play Store as an Alpha Release. Thus, on each merge into master, the versionCode and versionName MUST be changed accordingly in app/build.gradle
148+
149+
- _versionCode_ : **Integer** : To be monotonically incremented with each merge. Failure to do so will lead to publishing error, and thus is a crucial step before any merge
150+
- _versionName_ : **String** : User visible version of the app. To be changed following [semantic versioning](http://semver.org/)
151+
152+
* **apk** This branch consists of multiple apk's which get generated by the Travis CI when the contributors branch is merged with the development branch and when the development is merged with the master branch. After every merge the previous APK's are deleted and new one's are created. The APK's are generated in accordance with the **update-apk.sh** script which is present in scripts folder.
153+
154+
### PR Guidelines
155+
156+
Please help us follow the best practice to make it easy for the reviewer as well as the contributor. We want to focus on the code quality more than on managing pull request ethics.
157+
158+
* Single commit per pull request
159+
* For writing commit messages please read the [COMMITSTYLE](docs/commitStyle.md) carefully. Kindly adhere to the guidelines.
160+
* Follow uniform design practices. The design language must be consistent throughout the app.
161+
* The pull request will not get merged until and unless the commits are squashed. In case there are multiple commits on the PR, the commit author needs to squash them and not the maintainers cherrypicking and merging squashes.
162+
* If the PR is related to any front end change, please attach relevant screenshots in the pull request description.
163+
142164
## License
143165

144166
This project is currently licensed under the GNU General Public License v3. A copy of LICENSE.md should be present along with the source code. To obtain the software under a different license, please contact [FOSSASIA](http://blog.fossasia.org/contact/).

0 commit comments

Comments
 (0)