Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
opatry committed Jan 5, 2024
0 parents commit df65b26
Show file tree
Hide file tree
Showing 48 changed files with 3,375 additions and 0 deletions.
85 changes: 85 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Project
* text eol=lf

*.cmd eol=crlf

*.cpp diff=cpp
*.h diff=cpp
*.java diff=java
*.kt text diff=kotlin
*.kts text diff=kotlin
*.sh text eol=lf

# Documents
*.doc binary diff=exif
*.docx binary diff=docx
*.dot binary diff=exif
*.dotx binary diff=exif
*.xls binary diff=exif
*.xlsx binary diff=exif
*.xlt binary diff=exif
*.xltm binary diff=exif
*.odb binary diff=exif
*.odf binary diff=exif
*.odg binary diff=exif
*.odi binary diff=exif
*.odp binary diff=exif
*.ods binary diff=exif
*.odt binary diff=odt
*.otc binary diff=exif
*.otg binary diff=exif
*.oti binary diff=exif
*.otp binary diff=exif
*.ots binary diff=exif
*.ott binary diff=exif
*.pdf binary diff=exif
*.ppt binary diff=exif
*.pptx binary diff=exif
*.ps binary diff=exif

# Fonts
*.eot binary
*.otf binary diff=exif
*.ttc binary diff=exif
*.ttf binary diff=exif
*.woff binary
*.woff2 binary

# Audio Visual
*.fla binary diff=exif
*.flv binary diff=exif
*.mov binary diff=exif
*.mp3 binary diff=exif
*.mp4 binary diff=exif
*.swf binary diff=exif

# Images
*.ai binary diff=exif
*.bmp binary diff=exif
*.gif binary diff=exif
*.hqx binary
*.icns binary
*.ico binary
*.jpeg binary diff=exif
*.jpg binary diff=exif
*.png binary diff=exif
*.psd binary diff=exif
*.svg text
*.tif binary diff=exif
*.tiff binary diff=exif

# Archives
*.7z binary
*.cab binary
*.ear binary
*.gz binary diff=exif
*.jar binary
*.rar binary diff=exif
*.tar binary
*.tgz binary
*.war binary
*.zip binary diff=exif

gradlew binary
gradlew.bat binary

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @opatry
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

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

**To Reproduce**
Steps to reproduce the behavior:
1.
2.

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

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

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: request
assignees: ''

---

**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.
8 changes: 8 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Description
Please explain the changes you made here.

### Checklist
- [ ] I have read the [CONTRIBUTING](../../blob/main/CONTRIBUTING.md) guide
- [ ] Code compiles correctly
- [ ] Created tests which fail without the change (if possible)
- [ ] All tests passing
34 changes: 34 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build & Test

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'

- name: Build
run: ./gradlew --no-daemon build

- name: Test
run: ./gradlew --no-daemon test

- name: Publish Test Reports
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.gradle/
*.iml

local.properties

build/

.DS_Store
11 changes: 11 additions & 0 deletions .idea/.gitignore

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

132 changes: 132 additions & 0 deletions .idea/codeStyles/Project.xml

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

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

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

6 changes: 6 additions & 0 deletions .idea/copyright/opatry.xml

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

3 changes: 3 additions & 0 deletions .idea/copyright/profiles_settings.xml

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

7 changes: 7 additions & 0 deletions .issuetracker
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Integration with Issue Tracker
#
# (note that '\' need to be escaped).

[issuetracker "GitHub Rule"]
regex = "#(\\d+)"
url = "https://github.com/opatry/ticktick-kt/issues/$1"
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Contributing

You are more than welcome to help improving this toy project 🤝.

The rules are simple:
- Do your best to follow commit messages pattern
- Open a Pull Request with explanation for your change (if needed)
- Try to cover any bug fix with a non regression test

Happy coding!
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Olivier Patry

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit df65b26

Please sign in to comment.