Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored external library for AndroidX by creating the library internally #262

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7cc8494
Fix build.gradle for Android Studio v3.2.1
Nov 2, 2018
0a6781a
Merge pull request #249 from CydeSwype/patch-1
clsource Nov 6, 2018
de4f51b
changed qrcode only to allformats
clsource Jul 2, 2019
01b1762
added text zoom fix by @naei
clsource Jul 11, 2019
1b3a5c5
updated readme
clsource Jul 11, 2019
36af8b2
fixed typo
clsource Jul 11, 2019
84d5b80
Bugfix (#234)
Jul 15, 2019
d9e3175
refactoring: source code cleaned
Jul 15, 2019
0a3fe7a
Merge commit '36af8b2' into develop
Jul 16, 2019
67ae718
added files from commit 96e3b85
Jul 28, 2019
d3b511a
Bugfix (#40)
Jul 30, 2019
c45c32a
changed url to local hello.json
clsource Sep 5, 2019
8b771fc
Create hello.json
clsource Sep 5, 2019
4f3a325
Merge pull request #3 from jasonelle/develop
panterozo Sep 10, 2019
916b8c9
added synchronized (notifier) fix by Dan at Slack
clsource Sep 20, 2019
3113fca
added onBackPressed as suggested by Dan at Slack
clsource Sep 20, 2019
bd6c950
Issue (#35): This commit needs some revision before passing into master.
panterozo Sep 23, 2019
f6f335d
All latest libraries updated.
mohammadnajmuzzaman Oct 3, 2019
c614211
Merge branch 'approtate' into develop
Oct 21, 2019
f26579a
Merge branch 'develop'
Oct 21, 2019
6956f80
onBackPressed is change as public to work properly
Oct 21, 2019
1166549
Merge branch 'mohammadnajmuzzaman-master' into develop
Nov 3, 2019
c177ae8
onBackPressed: change for native and webview components
Nov 3, 2019
f28d348
merge solved
Nov 12, 2019
1a0d717
Merge branch 'kcorey-bug/datepickerCrash' into develop
Nov 12, 2019
3fe86d5
onNewToken uncommented, in JasonPushRegisterService.java
Nov 12, 2019
cda40f6
clean code
Nov 12, 2019
fa2bd4f
hjson: is included the library for hjson for files
Nov 12, 2019
eaf9994
Merge pull request #1 from jasonelle/master
mohammadnajmuzzaman Nov 19, 2019
b987ae5
Update build.gradle
mohammadnajmuzzaman Nov 19, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Sentimental Versioning](http://sentimentalversioning.org/).

## [2.0.0] Next Release

This version is the current in development.

### Added

### Changed

- Minimum Android version bumped to `6.0`.

- Changed from `QR_CODE` to `ALL_FORMATS` as suggested by `Mike Metcalfe`. [Docs](https://developers.google.com/android/reference/com/google/android/gms/vision/barcode/Barcode.html#ALL_FORMATS). With this addition now the android app can scan any barcode supported by the vision engine.

### Fixed

- Fixed issue when accessing Geolocation data. (Need to ask permissions).

- Fixed `build.gradle` for Android Studio `v3.2.1`. By [@CydeSwype](https://github.com/Jasonette/JASONETTE-Android/commits?author=CydeSwype).

- Fixed text zoom issue in `Webview` by [@naei](https://github.com/naei).

### Updated

### Removed

### Notes

This version is a complete overhaul focusing on
modularization of the code and update of the libraries, improving the quality of the framework, maintaining the same json api.

### People

Huge thanks to the following persons that helped in this release:

- [Moises Portillo](https://github.com/moizest89): Helped with some guidance over the GPS permission issue.

- [Adán Miranda](https://github.com/takakeiji): Helped compiling *Jason* App APK.

- [Devs Chile](https://devschile.cl): Chilean commmunity of developers.

## [1.0](https://github.com/jasonelle/jasonelle/releases/tag/v1.0)

First version of the *Jasonette* Mobile Framework.
79 changes: 23 additions & 56 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,77 +1,44 @@
# How to contribute to Jasonette
# How to Contribute to Jasonelle Android

## **Want to help with documentation?**
Please create an issue in [Jasonelle/Jasonelle](https://github.com/jasonelle/jasonelle) before making a pull request in order to talk about
how to approach a solution.

If you would like to contribute to the [documentation](https://jasonette.github.io/documentation/), let's discuss on the [documentation repository](https://github.com/Jasonette/documentation/issues).
## Maintainers

## **Do you have a bug report or a feature request?**
- [@Panterozo](https://github.com/panterozo): (current | main) 2019 - present.

* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/Jasonette/JASONETTE-Android/issues).
- [@CLSource](https://github.com/clsource): (current | colaborator) 2018 - present.

* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/Jasonette/JASONETTE-Android/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
- [@gliechtenstein](https://github.com/gliechtenstein): (retired | creator) 2016 - 2018.

## Branches

## **Did you write a patch that fixes a bug?**
This repo contains the following branches.

* Open a new GitHub pull request with the patch.
### `master`

* Don't fork `master` branch. **Fork `develop` branch and send a pull request to `develop`.
Stores code that can be used. Is updated once in a while with the
code in `develop`.

* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
### `develop`

## **Did you write a cool extension?**
This branch contains **bleeding edge** code. May break the build.
Is merged to master when enough changes (not more than two weeks of work) are made and compiles successfully.

Feel free to fork the project and [write your own extension](https://jasonette.github.io/documentation/advanced)
- Only code in the `develop` branch can be merged into master.

If you wrote a cool extension, please share it with the community in the [slack channel](https://jasonette.now.sh).
- All commits must be merged. No rebasing or squashing.

## **Do you have other types of questions?**
- Other branches must be deleted or archived when it's purpose is met.

* Ask any question about how to use Jasonette on the [Jasonette Slack channel](https://jasonette.now.sh).
- `uncrustify` (code style standarization) should be applied before merging into `master`.

## **Project Structure**
## Releases

### Class hierarchy
![hierarchy](https://raw.githubusercontent.com/gliechtenstein/images/master/android_hierarchy.png)
*Jasonelle* will release a new version every six months (June 9 and November 6) in the repository [Jasonelle/Jasonelle](https://github.com/jasonelle/jasonelle).

Here's a brief walkthrough of how the project is structured:
- A release will contain the master branch of each project (Android, iOS, tools). The code in master must be tagged with the release version.

- java
- com.jasonette.seed
- **Action**: Where all [actions](https://jasonette.github.io/documentation/actions/) are implemented. The implementation follows [the convention described here](https://jasonette.github.io/documentation/advanced/#2-extend-actions).
- **Component**: Implements [components](https://jasonette.github.io/documentation/components/), following [the convention described here](https://jasonette.github.io/documentation/advanced/#1-extend-ui-components).
- **Core**: Core logic that handles action dispatch, view construction, templating, and some native system actions.
- JasonModel: Deals with all the data associated with JasonViewActivity.
- JasonParser: Handles template parsing. Calls `parser.js`.
- JasonViewActivity: The main Jason view.
- **Helpe**
- JasonHelper: Various helper methods
- JasonSettings: Helper methods for app-wide settings
- **Launcher**
- You can ignore this, this just launches the app.
- **Section**: Implements [sections](https://jasonette.github.io/documentation/document/#bodysections)
- ItemAdapter: data binding for the scrolling section items.
- JasonLayout: Deals with layout.
- assets
- parser.js: The javascript powered JSON templating engine.
- csv.js: CSV parser
- res
- values
- strings.xml: Config strings
- The version number would be discussed with all the team leaders before hand.

### What files you will be touching

####User
In most cases, the only thing you will ever need to touch is the `res/values/strings.xml` file. This is where you set the main url your app will launch from, and the title of the app.

####Advanced
Sometimes you may want to write an [extension](https://jasonette.github.io/documentation/advanced/#extension). In this case you may need to deal with:
- `Action`: To write action extension
- `Component`: To write UI component extension

####Guru
If you find a bug **anywhere in the code**, or have any improvements anywhere else, please feel free to:
1. Fork the `develop` branch
2. Create a feature branch
3. Fix
4. Send a pull request
Loading