This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from simde-utc/release/v0.2.0
Release version v0.2.0
- Loading branch information
Showing
63 changed files
with
1,287 additions
and
538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
/node_modules/* | ||
config.js | ||
assets/scripts/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export const title = 'PayUTC'; | ||
export const short = `The wallet of the associations of the University of Technology of Compiègne`; | ||
export const description = `The University of Technology of Compiègne and its associations use the PayUTC cashless system. | ||
Through this application, each member of the UTC and its partner schools will be able to log in to access their account and their wallet. | ||
It is possible to: | ||
- Check your balance | ||
- Consult your history | ||
- Transfer money to other members | ||
- Reload directly from a secure interface | ||
- Get statistics based on your account | ||
- Lock your badge`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export const title = 'PayUTC'; | ||
export const short = `Le porte-monnaie des associations de l'Université de Technologie de Compiègne`; | ||
export const description = `L'Université de Technologie de Compiègne et ses associations utilisent le système cashless PayUTC. | ||
Via cette application, chaque membre de l'UTC et des écoles partenaires pourront se connecter pour accéder à leur compte et leur porte-monnaie électronique. | ||
Il est possible notamment de: | ||
- Consulter son solde | ||
- Consulter son historique | ||
- Transférer de l’argent aux autres membres | ||
- Recharger directement depuis une interface sécurisée | ||
- Obtenir des statistiques basées sur son compte | ||
- Verrouiller son badge`; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
const fs = require('fs'); | ||
|
||
let currentVersion = process.argv[2] || JSON.parse(fs.readFileSync('app.json', 'utf8')).versionName; | ||
if (currentVersion[0] !== 'v') currentVersion = 'v' + currentVersion; | ||
|
||
const showData = (data, space) => { | ||
for (subKey in data) { | ||
const element = data[subKey]; | ||
|
||
if (typeof element === 'string') { | ||
console.log(space + '- ' + element); | ||
} else { | ||
console.log(space + '- ' + element.title); | ||
|
||
showData(element.data, space + ' '); | ||
} | ||
} | ||
}; | ||
|
||
const showChangelog = (lang, langText) => { | ||
const changelogs = JSON.parse(fs.readFileSync('assets/changelogs/' + lang + '.json', 'utf8')); | ||
|
||
console.log('<' + langText + '>'); | ||
|
||
for (key in changelogs) { | ||
const { version, data } = changelogs[key]; | ||
|
||
if (version === currentVersion) { | ||
for (subKey in data) { | ||
const element = data[subKey]; | ||
|
||
if (typeof element === 'string') { | ||
console.log(element); | ||
} else { | ||
console.log(element.title); | ||
|
||
showData(element.data, ''); | ||
} | ||
|
||
if (subKey < data.length) { | ||
console.log(''); | ||
} | ||
} | ||
|
||
console.log('</' + langText + '>'); | ||
|
||
return; | ||
} | ||
} | ||
|
||
throw 'Missing version changelogs for ' + lang; | ||
} | ||
|
||
showChangelog('fr', 'fr-FR'); | ||
showChangelog('en', 'en-IN'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
const fs = require('fs'); | ||
|
||
const appJson = JSON.parse(fs.readFileSync('app.json', 'utf8')); | ||
const code = appJson.versionCode; | ||
const name = appJson.versionName; | ||
|
||
switch (process.argv[2]) { | ||
case 'code': | ||
console.log(code); | ||
break; | ||
|
||
case 'name': | ||
console.log(name); | ||
break; | ||
|
||
case 'fullname': | ||
default: | ||
console.log(`v${name}`); | ||
break; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
const fs = require('fs'); | ||
|
||
const changelogs = JSON.parse(fs.readFileSync('assets/changelogs/en.json', 'utf8')); | ||
|
||
let currentVersion = process.argv[2] || JSON.parse(fs.readFileSync('app.json', 'utf8')).versionName; | ||
if (currentVersion[0] !== 'v') currentVersion = 'v' + currentVersion; | ||
|
||
const showData = (data, space) => { | ||
for (subKey in data) { | ||
const element = data[subKey]; | ||
|
||
if (typeof element === 'string') { | ||
console.log(space + '- ' + element); | ||
} else { | ||
console.log(space + '- ' + element.title); | ||
|
||
showData(element.data, space + '\t'); | ||
} | ||
} | ||
}; | ||
|
||
for (key in changelogs) { | ||
const { version, data } = changelogs[key]; | ||
|
||
if (version === currentVersion) { | ||
console.log('# Changelog'); | ||
|
||
for (subKey in data) { | ||
const element = data[subKey]; | ||
console.log(''); | ||
|
||
if (typeof element === 'string') { | ||
console.log(element); | ||
} else { | ||
console.log(`## ${element.title}`); | ||
|
||
showData(element.data, ''); | ||
} | ||
} | ||
|
||
console.log('\n# Deprecated versions: < ' + version); | ||
|
||
return; | ||
} | ||
} | ||
|
||
throw 'Missing version changelogs'; |
Oops, something went wrong.