Skip to content

Commit

Permalink
Finish 7.0.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaschampagne committed Feb 19, 2022
2 parents 5f40ebe + 8caf211 commit ffa91a9
Show file tree
Hide file tree
Showing 1,581 changed files with 1,104,019 additions and 1,897,295 deletions.
5 changes: 3 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 120

[*.md]
max_line_length = off
Expand Down
41 changes: 0 additions & 41 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/desktop-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Desktop bug report
about: To be use if you encounter a bug with the desktop app
title: '[Desktop][Bug] Your bug title'
labels: bug, desktop
assignees: ''

---

**⚠ BEFORE ANYTHING: Are you in the right place?**

Before creating any issues, you HAVE TO check if issue already exists:

* Check for answer in Frequently Asked Questions here: https://thomaschampagne.github.io/elevate-docs/
* Check for already existing issues matching with yours: https://github.com/thomaschampagne/elevate/issues

Any unsuitable issues will not be handled. Since this project is performed on free time and has hundreds
of thousands users now, there's no room to handle duplicate or irrelevant issues...

Please be wise when opening an issue.

Thank you for your understanding!

If your issue is suitable, you can remove this warning before submitting it.

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment**
- OS: [e.g. Windows, Linux, MacOS]
- Desktop app version [e.g. 7.0.0]

**Additional context**
Add any other context about the problem here.
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/desktop-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Desktop feature request
about: Suggest an idea for the desktop app
title: '[Desktop][Feat] Your feature title'
labels: desktop, feature-request
assignees: ''

---

**⚠ BEFORE ANYTHING: Are you in the right place?**

Before creating any issues, you HAVE TO check if issue already exists:

* Check for answer in Frequently Asked Questions here: https://thomaschampagne.github.io/elevate-docs/
* Check for already existing issues matching with yours: https://github.com/thomaschampagne/elevate/issues

Any unsuitable issues will not be handled. Since this project is performed on free time and has hundreds
of thousands users now, there's no room to handle duplicate or irrelevant issues...

Please be wise when opening an issue.

Thank you for your understanding!

If your issue is suitable, you can remove this warning before submitting it.

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/web-extension-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Web extension bug report
about: To be use if you encounter a bug with the desktop app
title: '[Web-Ext][Bug] Your bug title'
labels: bug, web-extension
assignees: ''

---

**⚠ BEFORE ANYTHING: Are you in the right place?**

Before creating any issues you HAVE TO check if issue already exists:

* Check for answer in Frequently Asked Questions here: https://thomaschampagne.github.io/elevate-docs/
* Check for already existing issues matching with yours: https://github.com/thomaschampagne/elevate/issues

Any unsuitable issues will not be handled. Since this project is performed on free time and has hundreds
of thousands users now, there's no room to handle duplicate or irrelevant issues...

Please be wise when opening an issue.

Thank you for your understanding!

If your issue is suitable, you can remove this warning before submitting it.

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment**
- OS: [e.g. Windows, Linux, MacOS]
- Browser name and version: [e.g. Chrome v85, Edge v85, Opera v70]
- Web extension version [e.g. 7.0.0]

**Additional context**
Add any other context about the problem here.
21 changes: 6 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
# common
.idea/
*.git/
*/.gitignore
**/node_modules/
dist/
package/
chrome-win32/
firefox-win32/

# Core karma testing
plugin/core/**/*.js
specs.log

!plugin/core/karma.conf.js
!plugin/core/core.webpack.config.js
browsers.karma.conf.js
**/dist/
**/package/
**/coverage/

# local workspace folders
.vscode/

# OS
.DS_Store
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install pretty-quick --staged
38 changes: 38 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Templating
*.css
*.scss
*.html
*.svg

# Generated data
coverage
dist
node_modules

# OS/IDE
.vscode
.idea
.DS_Store

# Others
*.json
*.md
*.yml
*.log
*.pdn
.editorconfig
.gitignore
.prettierignore
LICENSE

# Project specific
*.gpx
*.tcx
*.fit
*.7z
*.zip
*.tar
*.tar.gz
*.fake
desktop-boot.js

11 changes: 11 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"printWidth": 120,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "avoid",
"parser": "typescript",
"endOfLine": "auto"
}
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ after_success:
- SHA01=$(echo $TRAVIS_COMMIT | cut -c1-8)
- for f in package/*.zip; do mv "$f" "`echo $f | sed s/.zip/.$TRAVIS_BRANCH.$SHA01.zip/`"; done
- ARTIFACT_FILENAME=package/$(ls package | grep .zip)
# Delete last build from bitbucket
# Delete last build from bitbucket
- maxAvailableBuilds=5
- builds=$(curl -X GET https://api.bitbucket.org/2.0/repositories/thomaschampagne/elevate-ci-builds/downloads?pagelen=100 | awk -F"[,:}]" '{for(i=1;i<=NF;i++){if($i~/'name'\042/){print $(i+1)}}}' | tr -d '"' | grep zip | sed -e 's/^[ \t]*//' )
- buildCount=$(echo $builds | tr ' ' '\n' | grep -c 'zip')
- if [ $buildCount -ge $maxAvailableBuilds ]; then lastBuild=$(echo $builds | tr ' ' '\n' | tail -n1); echo Removing old $lastBuild; curl -u "$BITBUCKET_USERNAME:$BITBUCKET_PASSWORD" -X DELETE https://api.bitbucket.org/2.0/repositories/thomaschampagne/elevate-ci-builds/downloads/$lastBuild; fi
# Push the new one to bitbucket
# Push the new one to bitbucket
- curl -u "$BITBUCKET_USERNAME:$BITBUCKET_PASSWORD" -X POST https://api.bitbucket.org/2.0/repositories/thomaschampagne/elevate-ci-builds/downloads --form "files=@$ARTIFACT_FILENAME"
branches:
only:
- master
- develop
only:
- master
- develop
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ WORKDIR /build
ENV OUTDIR=/package
COPY . .
RUN npm install --unsafe-perm
CMD npm run package && cp ./package/* ${OUTDIR}
CMD npm run package:webextension && cp ./package/* ${OUTDIR}
VOLUME ${OUTDIR}
Loading

0 comments on commit ffa91a9

Please sign in to comment.