Skip to content

Commit

Permalink
master (#229)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Leo Carvalho <[email protected]>
Co-authored-by: random623 <[email protected]>
Co-authored-by: NiteNeal <[email protected]>
  • Loading branch information
5 people authored Jan 8, 2024
1 parent 5b2540b commit 95132c5
Show file tree
Hide file tree
Showing 65 changed files with 7,981 additions and 25,535 deletions.
84 changes: 62 additions & 22 deletions .detoxrc.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
/** @type {Detox.DetoxConfig} */
module.exports = {
logger: {
level: process.env.CI ? 'debug' : undefined,
level: 'debug',
},
testRunner: {
args: {
'$0': 'jest',
config: 'e2e/jest.config.js'
config: 'e2e/jest.config.ts'
},
jest: {
setupTimeout: 120000
setupTimeout: 120000,
}
},
artifacts: {
rootDir: '.artifacts',
rootDir: 'artifacts',
plugins: {
log: { enabled: true },
log: { enabled: false },
screenshot: {
shouldTakeAutomaticSnapshots: true,
keepOnlyFailedTestsArtifacts: true,
shouldTakeAutomaticSnapshots: false,
keepOnlyFailedTestsArtifacts: false,
takeWhen: {
testStart: false,
testDone: true,
testDone: false,
}
},
video: {
enabled: true,
enabled: false,
android: {
bitRate: 4000000,
},
Expand Down Expand Up @@ -61,16 +61,34 @@ module.exports = {
}
},
devices: {
iPhone14: {
IPHONE_15: {
type: 'ios.simulator',
device: {
type: 'iPhone 14'
name: 'IPHONE_15'
}
},
iPadmini: {
IPHONE_PRO_MAX: {
type: 'ios.simulator',
device: {
type: 'iPad mini (6th generation)'
name: 'IPHONE_PRO_MAX'
}
},
IPHONE_SE: {
type: 'ios.simulator',
device: {
name: 'IPHONE_SE'
}
},
IPAD_MINI: {
type: 'ios.simulator',
device: {
name: 'IPAD_MINI'
}
},
IPAD_PRO: {
type: 'ios.simulator',
device: {
name: 'IPAD_PRO'
}
},
attached: {
Expand All @@ -79,10 +97,16 @@ module.exports = {
adbName: '.*'
}
},
emulator: {
'android.emulator.resizable': {
type: 'android.emulator',
device: {
avdName: 'Pixel_3a_API_33_arm64-v8a'
avdName: 'Resizable'
}
},
'android.emulator.4': {
type: 'android.emulator',
device: {
avdName: '4'
}
}
},
Expand All @@ -91,12 +115,24 @@ module.exports = {
device: 'simulator',
app: 'ios.debug'
},
'ios.sim.release.iPhone14': {
device: 'iPhone14',
'ios.sim.release.IPHONE_PRO_MAX': {
device: 'IPHONE_PRO_MAX',
app: 'ios.release'
},
'ios.sim.release.IPHONE_15': {
device: 'IPHONE_15',
app: 'ios.release'
},
'ios.sim.release.iPadmini': {
device: 'iPadmini',
'ios.sim.release.IPHONE_SE': {
device: 'IPHONE_SE',
app: 'ios.release'
},
'ios.sim.release.IPAD_MINI': {
device: 'IPAD_MINI',
app: 'ios.release'
},
'ios.sim.release.IPAD_PRO': {
device: 'IPAD_PRO',
app: 'ios.release'
},
'android.att.debug': {
Expand All @@ -108,11 +144,15 @@ module.exports = {
app: 'android.release'
},
'android.emu.debug': {
device: 'emulator',
device: 'android.emulator.6',
app: 'android.debug'
},
'android.emu.release': {
device: 'emulator',
'android.emu.resizable.release': {
device: 'android.emulator.resizable',
app: 'android.release'
},
'android.emu.4.release': {
device: 'android.emulator.4',
app: 'android.release'
}
}
Expand Down
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/node_modules
/dist
/e2e/*.test.js
/e2e/*.test.ts
/artifacts
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Please follow [Airbnb's Name Conventions](https://github.com/airbnb/javascript#n
- Follow the existing file structure
- __Files__
- Should be `lowercase`, with words separated by hyphens (`-`) eg. `logo-cropped.jpg`
- With the exception of Containers and Components, which should be `PascalCase` - eg. `TicketView.js`
- Except Containers and Components, which should be `PascalCase` - eg. `TicketView.js`
- __Directories__
- Folder names should be `lowercase,` with words separated by a hyphen (`-`) - eg. `/components/case-studies`
- Folders and files can be named singular or plural - do what sounds right

## Linting

Please ensure your code is passing through the linter.
Please ensure your code is passing through the GitHub Action EsLint.
4 changes: 2 additions & 2 deletions .github/HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

![img_1.png](img_1.png)
1. Go to `/profile`
2. Create a new Oauth client with redirect URI: `abacusiosapp://redirect`
2. Create a new Oauth client with redirect URI: `abacusfiiiapp://redirect`

![img.png](img.png)

3. Copy and paste `Oauth Client ID` it will be a number (required, Example: `4`).

4. No need to use the secret client but if you do so copy and paste it in the `Oauth Client Secret` field.

<img alt="img_2.png" height="670" src="img_2.png" width="300"/>
<img alt="img_2.jpeg" height="670" src="img_2.jpeg" width="300"/>

### Personal Access Token

Expand Down
63 changes: 63 additions & 0 deletions .github/PRIVACY_POLICY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Privacy Policy for Abacus

*Last Updated: 2023-12-13*

This Privacy Policy outlines how _Abacus_ handle your information.

By using Abacus, you agree to the terms outlined in this policy.

## 1. Information We Don't Collect:

We do not collect or retrieve any user account information, including but not limited to:

- Usernames
- Passwords
- Email addresses
- Phone numbers
- Social media account details
- Device information
- Usage data
- Analytics data
- Location data

## 2. Information We Collect:

We don't collect any information.

## 3. How We Use Collected Information:

We don't collect any information.

## 4. Data Security:

We take appropriate measures to safeguard information, including encryption and secure storage practices.

## 5. Third-Party Services:

Abacus use Expo Update server as Third-Party service for Over-The-Air updates.

*Expo* have [their own privacy policies](https://expo.dev/privacy-explained#:~:text=An%20example%20situation,requested%20an%20update.), and we encourage you to review them.

Each time you open the app, a request is made to fetch the latest update from the Expo Updates server.

Information is anonymized and does not include any personal information.

This request includes the following information:

- `expo-server-url`: `https://u.expo.dev/292ed6dc-804c-4444-95f5-fa5d76d9913b` (https://github.com/victorbalssa/abacus/blob/updates/app.json#L17)
- `expo-runtime-version`: `0.11.1` (https://github.com/victorbalssa/abacus/blob/updates/app.json#L12)
- `expo-platform`: `ios` or `android`

That's it. No other information is collected.

## 6. Children's Privacy:

Our mobile application is not intended for children under the age of 13. We do not knowingly collect personal information from children.

## 7. Changes to Privacy Policy:

We reserve the right to update our privacy policy. Any changes will be reflected on this page, and we recommend reviewing it periodically.

## 8. Contact Us:

If you have any questions or concerns about this Privacy Policy, please contact me at [email protected].
Binary file modified .github/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/img_2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:

- name: npm install
run: |
npm install eslint@^7.32.0
npm install @microsoft/eslint-formatter-sarif@^3.0.0
- name: Run ESLint
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ dist/
service-account.json

detox_test.sh
.artifacts/
artifacts/
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at contact@victorbalssa.fr. All
reported by contacting the project team at github@victorbalssa.ca. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
Loading

0 comments on commit 95132c5

Please sign in to comment.