Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

React #458

Merged
merged 152 commits into from
Nov 1, 2018
Merged

React #458

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
10966ee
initial import of React rewrite
juliangruber Jan 27, 2018
8df5206
fixes typo and delete dat functionality + migrate buttons (#459)
aks- Jan 29, 2018
f39372c
fix state errors after dat delete. #464
juliangruber Jan 29, 2018
5f7ebef
add back single app instance check. closes #475
juliangruber Jan 29, 2018
a1f7054
add back window configuration. closes #474
juliangruber Jan 29, 2018
2ef4d8a
fix display of HexContent
juliangruber Jan 30, 2018
688575e
table-row: make hex icon dynamic again
juliangruber Jan 30, 2018
93d9687
Add standard (#480)
juliangruber Jan 31, 2018
d275d2b
Add prettier. Closes #466 (#481)
juliangruber Jan 31, 2018
5ed5657
Add confirm dialog on dat delete. #464 (#482)
juliangruber Jan 31, 2018
f8d7254
add back 0 dats screen. closes #469 (#484)
juliangruber Jan 31, 2018
5dacdf9
Add status bar (#486)
juliangruber Jan 31, 2018
023911c
add Dat Doctor. closes #478 (#487)
juliangruber Feb 2, 2018
72b1261
add dat drag/drop. #472 (#491)
juliangruber Feb 2, 2018
0e6cbfa
Add inspect component (#493)
aks- Feb 2, 2018
5d76009
Add pause/resume for dats. (#489)
juliangruber Feb 2, 2018
12fb49c
add back auto updater. closes #476 (#490)
juliangruber Feb 2, 2018
0755d5f
add lib/* to standard
juliangruber Feb 4, 2018
c2c7587
ReDat -> Dat Desktop
juliangruber Feb 4, 2018
65384c6
add back Share Folder. closes #492 (#499)
juliangruber Feb 5, 2018
703b431
webpack: add eval sourcemaps
juliangruber Feb 5, 2018
0fdb6de
update dat-node
juliangruber Feb 5, 2018
53e12ff
Using node externals to make sure that native dependencies are loaded…
martinheidegger Feb 7, 2018
659b8de
Merge pull request #508 from dotloom/fix/react-native-deps
martinheidegger Feb 7, 2018
9fe1787
add protocol handler. closes #473 (#503)
juliangruber Feb 8, 2018
c4aafb6
Add progressbar and notification. Closes #479 (#504)
juliangruber Feb 8, 2018
7f9888e
optimize and refactor table-row (#506)
aks- Feb 8, 2018
1a2790c
add persist state on disk. closes #467 (#500)
juliangruber Feb 9, 2018
f7e44a6
remove unneeded code (#511)
aks- Feb 10, 2018
ea732f0
make title field editable (#509)
aks- Feb 10, 2018
0a8ab2d
Fix integration errors (#512)
juliangruber Feb 10, 2018
e96c640
Add intro screen (#502)
juliangruber Feb 12, 2018
1efbea7
add open-file handler, fix open-url (#514)
juliangruber Feb 12, 2018
8b7f52c
fix: should be able to delete dat when not connected to anyone on net…
aks- Feb 14, 2018
2c18d2c
add non-dom based unit tests
aks- Mar 3, 2018
3f006c0
lint code prior to running tests
aks- Mar 6, 2018
b9464cb
extract repeatative `wrapper.find(.is-selectable)` into variable
aks- Mar 6, 2018
24c5176
extract enzyme configuration out of test files
aks- Mar 6, 2018
789c39a
add tests
aks- Mar 6, 2018
48fe220
Merge pull request #522 from dat-land/add/unit-tests
martinheidegger Apr 10, 2018
6db6ef5
Merge branch 'master' into refactor/merge-react
martinheidegger Apr 10, 2018
faee9c0
Reapplying style changes.
martinheidegger Apr 10, 2018
c4352a5
Merge commit '5af70eb010b202d9e5af9d09a8909b92db3330db' into refactor…
martinheidegger Apr 11, 2018
e14a27d
Readded info-screen available on master
martinheidegger Apr 9, 2018
150cc4f
Merge pull request #526 from dat-land/refactor/merge-react
martinheidegger Apr 13, 2018
8590281
Merge pull request #523 from dat-land/add/info
martinheidegger Apr 15, 2018
1b08654
Removed temporary link in the import-dat ui element.
martinheidegger Apr 9, 2018
34ddb04
Merge pull request #524 from dat-land/refactor/remove-test-link
martinheidegger Apr 17, 2018
b20ad7a
Minor dat updates
martinheidegger May 18, 2018
32fd942
Upgraded to electron v2
martinheidegger May 18, 2018
ffd0781
Linting updates
martinheidegger May 18, 2018
39d70d7
More dat specific updates, the breaking change in mirror-folder is in…
martinheidegger May 18, 2018
4fb0286
Updated webpack.
martinheidegger May 18, 2018
beb8b62
Updated react
martinheidegger May 18, 2018
70a6bb9
Updated component dependencies.
martinheidegger May 18, 2018
475790c
deep dependency update
martinheidegger May 18, 2018
d1d3c4a
Fixing path resolution for windows
martinheidegger May 21, 2018
ec7c57d
Using path.normalize on recommendation from soyuka
martinheidegger Jun 1, 2018
0ef0aa3
Merge pull request #533 from dat-land/cleanup/react-version-bump
soyuka Jun 4, 2018
43acfb8
Security improvements (following: https://electronjs.org/docs/tutoria…
martinheidegger May 18, 2018
36ed83d
Setting the mode for build in npm scripts
martinheidegger May 18, 2018
97d98f4
Open devtools only in developer mode
martinheidegger May 18, 2018
32b0a93
Added react developer tools and the `update-rdt` script to update the…
martinheidegger Jun 5, 2018
28ad14f
Readded dist & pack scripts
martinheidegger Jun 5, 2018
6561e75
Added Mac App Icons to package
martinheidegger Jun 5, 2018
052cfe1
Added Linux build support
martinheidegger Jun 5, 2018
c55ae72
Added Windows support
martinheidegger Jun 5, 2018
a77a712
Fixed Environment variables in development process
martinheidegger Jun 5, 2018
b62ffd9
Fix: Auto-Updater can thrown an error, catching and returning it
martinheidegger Jun 5, 2018
ded7be1
Readded clean & burnthemall scripts
martinheidegger Jun 6, 2018
1dd3e43
Readded deps script
martinheidegger Jun 6, 2018
1e849d6
Updated deep-dependencies using "burnthemall"
martinheidegger Jun 6, 2018
2530271
Cleanup: Removed debug console statement
martinheidegger Jun 6, 2018
72b6ea3
Added documentation on the security aspect of preload.js
martinheidegger Jun 11, 2018
9063f74
Added a simple watch Process
martinheidegger Jun 11, 2018
0d1a34f
Running start & watch in parallel to prevent zombie process (and make…
martinheidegger Jun 11, 2018
b08f9e2
Merge pull request #535 from dat-land/dev-improvements
martinheidegger Jun 11, 2018
4ec872e
Fixed header drag & drop through external library. See: https://githu…
martinheidegger Jun 12, 2018
9a9a1e1
Merge pull request #536 from dat-land/fix/drag-drop
martinheidegger Jun 12, 2018
ceb2fe8
Replaced npm-run-parallel with npm-run-all. Because `npm-run-parallel…
martinheidegger Jun 13, 2018
a70483e
Fixed arguments
martinheidegger Jun 13, 2018
d0c06cb
Graceful dat.json title update
Jun 12, 2018
ca58bb1
NODE_ENV can be set quickly via the optimization.nodeEnv property.
martinheidegger Jun 13, 2018
3290328
Merge pull request #538 from dat-land/fix/npm-run-all
martinheidegger Jun 13, 2018
4d8f174
Added Notice if Dat Desktop is running inside a Node version that is …
martinheidegger Jun 14, 2018
29b6102
Merge pull request #537 from soyuka/update-title
martinheidegger Jun 14, 2018
5b3e113
add/download screen
aks- Feb 13, 2018
d680d86
refactor always true conditional
juliangruber Feb 22, 2018
b636749
paused defaults to falsy
juliangruber Feb 22, 2018
1ca6b58
refactor walk fn
juliangruber Feb 22, 2018
562daa3
paused defaults to false
juliangruber Feb 22, 2018
59e62d7
remove unnecessary timeout
juliangruber Feb 22, 2018
577a78d
key always exists in downloadSparseDat
juliangruber Feb 22, 2018
4b79992
remove redundant lines
juliangruber Feb 22, 2018
67908b7
add back missing dats[key] setter
juliangruber Feb 26, 2018
8fc7b89
Extracted dat methods into own middleware.
martinheidegger Apr 16, 2018
91e916d
Fixed removing of a Dat
martinheidegger Apr 18, 2018
26cd3d7
Making sure that deep folders get created through the use of mkdirp
martinheidegger Apr 18, 2018
039cb05
Fixed pause/resume of dat
martinheidegger Apr 18, 2018
3b438ad
Using byteLength instead of length to display in the table-row
martinheidegger Apr 18, 2018
d4d9524
Added CLI Options
martinheidegger Apr 18, 2018
5f3e1ef
Used consistent classnames for buttons
martinheidegger Apr 18, 2018
23ab581
Readded document.title to the app
martinheidegger Apr 18, 2018
eef9103
Reimplemented debug monkeyPatching through environment variables.
martinheidegger Apr 18, 2018
aa760f7
Only log in development environment.
martinheidegger Apr 18, 2018
e57c3e6
Integration tests made working again.
martinheidegger Apr 18, 2018
8521625
Updated package-lock
martinheidegger Jun 13, 2018
f9aba52
Package update
martinheidegger Jun 13, 2018
b459945
Preventing the repeat download of the same dat. The repeat adding of …
martinheidegger Jun 13, 2018
2b062eb
Merge pull request #540 from dat-land/add/warning-node-v
martinheidegger Jun 14, 2018
772055e
no message
martinheidegger Jun 14, 2018
4a3754e
Adding trigger property that doesn't propagate to parent elements. Th…
martinheidegger Jun 20, 2018
d834d51
Common logic used to remove a DAT
martinheidegger Jun 20, 2018
9096dcd
If the dat isn't in the list anymore it can be immediately marked as …
martinheidegger Jun 20, 2018
e4e7597
Destroying the mirroring process on removal, this way no accidental D…
martinheidegger Jun 20, 2018
df1cb77
Significantly simplified TitleField to fix edit inconsistencies.
martinheidegger Jun 28, 2018
472cf38
Added single-unit script that allows to run a single-unit testcase if…
martinheidegger Jun 28, 2018
7205ba7
Lint fix
martinheidegger Jun 29, 2018
472698a
Merge pull request #541 from dat-land/fix/title-edit
martinheidegger Jun 29, 2018
536b53b
Merge commit '472698a1e711b9e9e85b6f3b316d5861619ccd85' into add/down…
martinheidegger Jun 29, 2018
d17dfd5
Lint fix
martinheidegger Jun 29, 2018
67dd5aa
Fixed merge mistake
martinheidegger Jun 29, 2018
3f7256f
Removes package-lock.json from the repository
dkastl Oct 2, 2018
5ae32da
Merge pull request #553 from dat-land/fix/remove-package-lock
martinheidegger Oct 2, 2018
09a2f32
Removed package-lock that still lingered in this branch.
martinheidegger Oct 2, 2018
291c4ce
Uses same scope for tests
dkastl Oct 1, 2018
12f0286
Adds `test` scop to the `deps` command
dkastl Oct 1, 2018
31687e3
Makes cleanup more consistent
dkastl Oct 1, 2018
451957c
Linter suggested modifications
dkastl Oct 1, 2018
71e3af1
Fixes broken webpack version dependency
dkastl Oct 1, 2018
0ae82a6
Reorganizes start run script
dkastl Oct 1, 2018
09cc7dd
Improves naming for start scope
dkastl Oct 2, 2018
799e5c5
Adds development build at the bginning of the build script
dkastl Oct 2, 2018
e8012fe
Merge pull request #551 from dat-land/fix/clean-npm-scripts
martinheidegger Oct 2, 2018
fc522b6
removed: package-lock.json
AtuyL Oct 3, 2018
77d55f2
back to home-screen on the action of DIALOGS_DELETE_CLOSE.
AtuyL Oct 3, 2018
4830c33
Fixed: merge mistake.
AtuyL Oct 3, 2018
668af34
fixed: missing package.
AtuyL Oct 3, 2018
01d46d5
fixed: missing deps.
AtuyL Oct 9, 2018
d9f1369
Merge pull request #554 from dat-land/merge/react-add_download
martinheidegger Oct 9, 2018
47abdb2
apply: https://github.com/dat-land/dat-desktop/pull/516#discussion_r2…
AtuyL Oct 12, 2018
b6a8953
Merge branch 'react' into add/download
AtuyL Oct 12, 2018
7f40bc6
Merge pull request #516 from dat-land/add/download
AtuyL Oct 12, 2018
5be7ec3
added: "consts" dir. and created "screen" consts file for the state.s…
AtuyL Oct 11, 2018
45fcdf4
fixed: From inspect view back to dat view still showed inspect view o…
AtuyL Oct 11, 2018
8461e9f
fixed: From inspect view back to dat view still showed inspect view o…
AtuyL Oct 17, 2018
3c32888
Merge branch 'add/screen_consts' into fix/inspect-view
AtuyL Oct 17, 2018
ebada69
inspect view fix with consts/screen
AtuyL Oct 17, 2018
c999bd2
fixed: for minimum window width.
AtuyL Oct 17, 2018
cdc4802
Merge pull request #563 from dat-land/fix/minimum_window_width
martinheidegger Oct 19, 2018
c8dde46
Merge pull request #561 from dat-land/add/screen_consts
martinheidegger Oct 19, 2018
f687bbe
Merge pull request #562 from dat-land/fix/inspect-view
martinheidegger Oct 19, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"presets": ["react"],
"env": {
"test": {
"plugins": [
"transform-es2015-modules-commonjs",
"transform-es2015-classes",
"transform-object-rest-spread"
]
}
}
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ node_modules
dmgs
npm-debug.log
build/background.tiff
bundle.js
.dat
tags
yarn.lock
package-lock.json
static/bundle.js
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
install:
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- npm install
- npm run build:prod
deploy:
provider: script
script: npm run dist
Expand Down
18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
## Table of Content
- [Download](#download)
- [Commands](#commands)
- [Directory Structure](#directory-structure)
- [FAQ](#faq)
- [License](#license)

Expand All @@ -45,21 +44,8 @@ $ brew update && brew cask install dat
$ npm install # install dependencies
$ npm start # start the application
$ npm run dist # compile the app into an ASAR file to release
$ npm start --dat=<dir> # change the path for new dat archives (default ~/Downloads)
```

## Directory structure

```txt
elements/ Standalone application-specific elements
lib/ Generalized components, should be moved out of project later
models/ Choo models
pages/ Views that are directly mounted on the router
public/ Various assets
scripts/ Various scripts used to build and manage the repository
app.js Client application entry file
index.html Initial HTML served
index.js Electron application entry
$ npm start --data=<dir> # change the path for new dat archives (default ~/Downloads/dat)
$ npm start --db=<dir> # change the path for users settings (default ~/.dat-desktop)
```

## FAQ
Expand Down
36 changes: 0 additions & 36 deletions app.js

This file was deleted.

Loading