Skip to content

Commit

Permalink
Release v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
egeldenhuys committed May 13, 2017
1 parent 40930ef commit 19ae224
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 15 deletions.
17 changes: 13 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
# Change Log

## v1.0.3 - 2017-05-12
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.4 - 2017-05-12
### Fixed
- Incorrect data type returned when session token could not be loaded

## 1.0.3 - 2017-05-12 [YANKED]
### Fixed
- Fix data file arguments not taking effect

## v1.0.2 - 2017-05-12
## 1.0.2 - 2017-05-12 [YANKED]
### Fixed
- Error when database file directory does not exist (Actually fix)

## v1.0.1 - 2017-05-12
## 1.0.1 - 2017-05-12 [YANKED]
### Fixed
- Error when database file directory does not exist

## v1.0.0 - 2017-05-12
## 1.0.0 - 2017-05-12 [YANKED]
- Initial Release
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# clickup-mirror
[![GitHub release](https://img.shields.io/github/release/egeldenhuys/clickup-mirror.svg)](https://github.com/egeldenhuys/clickup-mirror/releases)

Create a file mirror from ClickUP

## Dependencies
- [Requests](http://docs.python-requests.org/en/master/)
- [Requests](https://github.com/kennethreitz/requests)
- `pip install requests`
- [browser-cookie3](https://github.com/borisbabic/browser_cookie3)
- `pip install browser_cookie3`
- python3

## Install
```
git clone https://github.com/egeldenhuys/clickup-mirror
```

## Usage

Expand Down Expand Up @@ -64,15 +73,13 @@ python3 mirror.py --brower chrome --output-directory ~/ClickUp/ --file-types pdf
```
├── INL 240 S1 2017
│   ├── Practical Content
│   │   ├── Class activity 2
│   │   │   └── Class activity 2.docx
│   │   ├── Group Project marks
│   │   │   └── INL 240 Group project marks.pdf
│   │   ├── INL240_Howtowriteanabstract_2016.pdf
│   │   ├── INL 240 Practical Portfolio
│   │   │   ├── Practical Portfolio_2017.docx
│   │   │   └── Practical Portfolio_2017.pdf
│   │   └── IntroductiontoWriting_2016_1.pdf
│   ├── Study Guide and Schedules
│   │   ├── INL240Schedule2017_v2.pdf
│   │   └── INL240_StudyGuide_2017.pdf
│   └── Theory Content
│   ├── INL240_IntroductoryLecture_2017_FINAL.pdf
│   └── Theme 1 - Foundational Concepts in Information Ethics
│   └── Theme 1 (part1)(1).pdf
│   │   ├── IntroductiontoWriting_2016_1.pdf
```
4 changes: 2 additions & 2 deletions clickup-mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

YEAR = 2017

VERSION = 'v1.0.2'
VERSION = 'v1.0.4'

def main():
parser = argparse.ArgumentParser(description='Create a file mirror from ClickUP')
Expand Down Expand Up @@ -103,7 +103,7 @@ def loadDataFile(filePath):
def getCookie(browser):

cj = {}
s_session_id = -1;
s_session_id = '';

if browser == BROWSER_CHROMIUM:
cj = browser_cookie3.chrome(expanduser('~/.config/chromium/Default/Cookies'))
Expand Down

0 comments on commit 19ae224

Please sign in to comment.