Commit graph

566 commits

Author SHA1 Message Date
Mirco Bauer ffbb5bce7b Enhance user's privacy of the IRC connection
Use the invisible IRC usermode and random username instead of his
real username.
2011-09-11 20:24:17 +02:00
wimh 3d9d7bb246 default path to git
avoid it stays null when not found in paths[]
2011-09-03 22:11:49 +02:00
wimh 6f27b23719 fix crash if file was renamed remote
see #8 (https://github.com/wimh/SparkleShare/issues/8)
2011-09-03 22:11:28 +02:00
wimh b6d17da8ef avoid crash if remote folder is deleted by user.
When all files including the .git folder are removed from a remote folder, but that folder is not removed from the SparkleShare config, SparkleShare crashes at startup, and when showing the log for that folder. This commit should avoid a crash.
2011-09-03 22:09:55 +02:00
Hylke Bons 8d062a059f Add nicer error reporting 2011-08-27 20:57:34 +02:00
Hylke Bons f3b53db8ab Fix whitespace for last commit 2011-08-27 17:53:17 +02:00
Hylke Bons f3cb3e6e0f setup: Add progress indication when adding a new folder 2011-08-27 17:10:39 +02:00
Hylke Bons 824fd3392b Use 'h' as hour-minute separator, as Windows doesn't allow ':' in file names 2011-08-27 02:42:09 +02:00
Hylke Bons 36d7269974 config: fix some whitespace 2011-08-27 01:11:53 +02:00
Hylke Bons 4d42639fcb fetcher git: don't prepend ssh:// when using git:// 2011-08-27 00:49:08 +02:00
Hylke Bons 3a571c7baf Create a new config.xml if it exists but is empty. Throw an error if the format is invalid. Fixes #315 2011-08-26 23:53:04 +02:00
Hylke Bons 79f3473467 Allow initial sync to be cancelled by adding a cancel button. Closes #307 2011-08-26 22:47:46 +02:00
Hylke Bons 57a6d8dbf0 Bring back descriptive commit message. Fixes #317 2011-08-26 21:00:22 +02:00
Wizard_85 33826c0735 Resolving Bug with already defined variable 'n' 2011-07-30 20:48:47 +02:00
Hylke Bons bf015d32f0 fetcher: add configuration option to show special characters in the git log. Fixes 288 2011-07-29 23:03:45 +01:00
Hylke Bons b326c85638 setup controller: fix wrong path being created 2011-07-25 02:26:46 +01:00
Hylke Bons dbce0e14e9 Add events to tcp listener 2011-07-24 19:22:17 +01:00
Hylke Bons 5afd3dc59f Refactor config and merge with Paths 2011-07-24 02:00:40 +01:00
Hylke Bons 253111e901 lib: add a User object 2011-07-23 22:33:15 +01:00
Hylke Bons 1eece7806e Add notifications for new notes 2011-07-23 22:23:14 +01:00
wimh 06ede455b7 fix bug in CheckForChanges 2011-07-23 21:41:56 +01:00
Hylke Bons 2d7b78df72 ... 2011-07-23 21:34:04 +01:00
Hylke Bons d92879d830 Revert "log: get commits from the last week, instead of the last X commits"
This reverts commit fba5162e4e.
2011-07-23 21:20:19 +01:00
Hylke Bons 1ed107e6e9 cleanup log and fix some small porting bugs 2011-07-23 20:57:36 +01:00
Hylke Bons d42dfe728f log: get commits from the last week, instead of the last X commits 2011-07-23 20:57:10 +01:00
Hylke Bons 89bb89afe8 hook up linux event log to new controller 2011-07-23 16:57:46 +01:00
Hylke Bons 6e4ace9643 add some comments 2011-07-23 15:27:35 +01:00
Hylke Bons 943dfcc767 Merge pull request #296 from ways/master
Rewritten autocomplete
2011-07-23 06:06:22 -07:00
Lars Falk-Petersen 3d707244b7 FolderPaths 2011-07-22 22:27:16 +02:00
Hylke Bons 14da54b8b6 Squash events per day+user+folder 2011-07-22 02:12:09 +01:00
Hylke Bons 67056369af Fix notifications
The check wether it was a new commit always returned false
2011-07-21 00:49:16 +01:00
Hylke Bons 55b75f84a8 Fix bug where large amounts of files aren't being added/commited/pushed (process class hung on the large outputs) 2011-07-21 00:02:21 +01:00
Hylke Bons 9e48917e03 ignore note adds in the log 2011-07-17 01:37:36 +01:00
Hylke Bons 6cf8eca2b7 fix notes 2011-07-17 01:22:39 +01:00
Hylke Bons f496a3b854 notes: stop using git-notes, use files instead 2011-07-16 23:30:46 +01:00
Hylke Bons 9ff8e7cf95 Fix css and add Show All N feature 2011-07-16 19:41:37 +01:00
Hylke Bons 4b74b09f75 Update project and make files 2011-07-08 22:53:03 +01:00
Hylke 1e13ca711f intro config: we want to prefill a host only once 2011-07-02 17:20:54 +01:00
Hylke 118591e262 UI is not allowed to access config. go via controller and talk about hosts 2011-07-02 17:10:57 +01:00
Hylke b57a59cc60 config: get urls in a simpler way and clean up 2011-07-02 17:05:05 +01:00
Hylke c8df2ce85a Merge https://github.com/ways/SparkleShare into bookmarks 2011-07-02 16:53:01 +01:00
Lars Falk-Petersen b102609899 Formatting and removing of comments. 2011-07-02 14:56:42 +02:00
Lars Falk-Petersen f28b6e8512 Formatting and removing of comments. 2011-07-02 14:55:56 +02:00
Lars Falk-Petersen 70adad83b4 Strip ssh:// and git:// from urls. 2011-07-02 14:46:08 +02:00
Lars Falk-Petersen 3fc7ff54cd Added GetUrls 2011-07-02 13:29:37 +02:00
Lars Falk-Petersen 8ab8c847fc Removed PrevServer, PrevFolder 2011-07-02 12:37:04 +02:00
Hylke Bons beafcebd5a Fix tcp listener (needed newlines at the end of messages) 2011-07-02 02:24:12 +01:00
Hylke Bons cf1a7a5e2b adjust tcp listener to work with nodejs server (subscribing doesn't work yet) 2011-07-02 02:13:33 +01:00
Lars Falk-Petersen 046199428b If options don't exist in config, create them! 2011-07-01 09:58:51 +02:00
Lars Falk-Petersen b9645cc4ae Problems with missing options in earlier config. 2011-07-01 02:10:13 +02:00
Lars Falk-Petersen dc3d65562a Added PrevFolder to config. 2011-07-01 01:43:55 +02:00
lars 27504373ef Added saving of last used server. 2011-06-30 23:31:55 +02:00
Alex Hudson f61212b930 Project Evil: allow SparkleShare to take full http(s) URIs without choking. 2011-06-30 12:53:05 +01:00
Alex Hudson 524496efc9 Put in XML fragment parsing - listener now basically works over tcp 2011-06-29 23:36:18 +01:00
Alex Hudson b94e7c846a Convert JSON commands to TCP server into XML fragments. 2011-06-29 23:36:18 +01:00
Alex Hudson 2769e38866 Remove IRC listener code from TCP version 2011-06-29 23:36:18 +01:00
Alex Hudson 5fea05f84d Make tcp listener startup-able 2011-06-29 23:36:18 +01:00
Alex Hudson c385fe21ea Fix bpbb on git callout 2011-06-29 22:40:34 +01:00
Hylke Bons cfbdf98150 repo git: don't hang on huge command outputs 2011-06-29 20:45:37 +01:00
Hylke Bons de564d89ff repo: add a property that shows the currenly unsynced paths (to hook up with the badger) 2011-06-29 20:28:49 +01:00
Hylke 138e8e744f Fix nullreference exception when adding new files before starting sparkleshare 2011-06-28 20:54:47 +01:00
Hylke d3e20e22d7 repo: create watch after initial change set 2011-06-28 20:06:04 +01:00
Hylke ca762a9220 repo git: sync up initial commit 2011-06-28 20:03:10 +01:00
Alex Hudson 2e31e0094d Change 'notification' language to 'announcement' 2011-06-28 20:03:10 +01:00
Alex Hudson b27725ab72 Make listener type configurable from config file 2011-06-28 20:03:10 +01:00
Alex Hudson 7a7da66a50 Simplify some config functions, add a notification server entry 2011-06-28 20:03:10 +01:00
Hylke Bons 4018f82728 remove some TODOs 2011-06-26 02:41:00 +01:00
Hylke Bons c9b56efb3a Move translations initialization to SparkleUI and add translations to Mac UI 2011-06-26 02:00:53 +01:00
Hylke Bons a9c52ea738 note: don't push notes to read only repos 2011-06-25 22:39:53 +01:00
Hylke cd0b76bba8 fetch notes periodically 2011-08-25 16:02:34 +01:00
Hylke 7b87b1f6b9 avatars: save to buffer instead of file: less blinking of event log, simpler, so fewer bugs 2011-08-25 15:36:26 +01:00
Hylke ee51f685ef don't show a notification on new notes 2011-06-24 23:55:23 +01:00
Hylke b9eab774dc git fetch all branches 2011-06-24 23:43:11 +01:00
Hylke 52e44b2053 add note fetching line to config 2011-06-24 23:23:41 +01:00
Hylke ef292b34cc Merge branch 'master' into notes
Conflicts:
	SparkleLib/Git/SparkleRepoGit.cs
2011-06-24 19:13:02 +01:00
Hylke 6889b42963 Merge branch 'master' of github.com:hbons/SparkleShare 2011-06-23 15:24:08 +01:00
Hylke c5a092c8a4 repo: don't show warning statusicon upon initial commit 2011-06-23 13:56:25 +01:00
Hylke Bons 25e08545d2 continue implementing notes 2011-06-23 01:44:43 +01:00
Hylke Bons b7c9fe4431 save progress on notes 2011-06-23 01:44:43 +01:00
Hylke Bons de98e29f70 Add each note to its own namespace to avoid conflicts 2011-06-23 01:44:43 +01:00
Hylke Bons a801f68340 fix AddNote, add Note object 2011-06-23 01:44:43 +01:00
Hylke Bons 1d5dd2a8b0 make adding a note work 2011-06-23 01:44:43 +01:00
Hylke Bons f1ff61950c add AddNote method 2011-06-23 01:44:43 +01:00
Hylke Bons 75afaff2cd repo: ignore external watchers when watching is disabled 2011-06-22 16:02:38 +01:00
Hylke Bons 4574ae6056 Add a TCP based listener 2011-06-18 22:42:34 +01:00
Hylke Bons 06683678b2 Fix timzones in timestamps, again... 2011-06-15 00:34:29 +01:00
Hylke Bons 296d830917 repo: Move watcher to its own subclass 2011-06-14 23:14:03 +01:00
Hylke Bons 1d2a077b91 update NEWS and version 2011-06-14 19:08:28 +01:00
Hylke Bons 1f0d0c9da9 fetcher: create .ssh if it's not there 2011-06-14 14:48:18 +01:00
Hylke Bons 593d327660 repo base: disable watching by using the existing method instead 2011-06-14 14:25:25 +01:00
Hylke Bons 93bb772db0 repo base: disable watching when syncing down 2011-06-13 18:57:56 +01:00
Alex Hudson d139a53a3f Merge branch 'master' of https://github.com/hbons/SparkleShare 2011-06-13 13:30:11 +01:00
Alex Hudson a5cf9d3bed Attempt to merge the smartirc4net references into single build reference 2011-06-13 13:27:48 +01:00
Hylke Bons 773f940e69 repo base: make polling intervals setting a bit more readable 2011-06-12 02:56:01 +01:00
wimh 35c9c043dd fix portability issue in OnFileActivity 2011-06-12 01:53:38 +01:00
Hylke Bons 72f4052526 repo git: strip quotes from git commit message 2011-06-11 18:51:39 +01:00
Hylke Bons 4fdee4bf07 default disconnected polling interval is 3min 2011-06-11 18:51:39 +01:00
Hylke Bons c16b2cb420 Save work 2011-06-10 00:01:45 +01:00
Hylke Bons a07e0a6b8d repo: don't poll every 10sec when disconnected 2011-06-09 23:59:56 +01:00
Hylke Bons 911a1f941a changeset: Add a Folder property 2011-06-09 21:25:36 +01:00
Hylke Bons 18ec890574 repo base: poll continously even when connected (but not as frequent) 2011-06-09 21:20:57 +01:00
Hylke Bons 5b9455b73e repo base: add some properties to be used for the manual polling 2011-06-09 18:53:36 +01:00
Travis Glenn Hansen 267987763c removing is_polling completely 2011-06-09 10:21:55 -06:00
Travis Glenn Hansen e937aa168f Merge branch 'master' of git://github.com/hbons/SparkleShare into fixes
Conflicts:
	SparkleLib/SparkleConfig.cs
2011-06-09 10:20:15 -06:00
Hylke Bons 169b5dfd7a about: remove references to SparkleLib 2011-06-08 22:37:29 +01:00
Hylke Bons 1319a566f9 config: Only trim user name if it isn't null 2011-06-08 21:40:12 +01:00
Travis Glenn Hansen 1704d86b2f Merge branch 'master' of git://github.com/hbons/SparkleShare into fixes 2011-06-07 19:39:34 -06:00
Hylke Bons f658ea2b86 Work with repos on host names with a dash in them 2011-06-08 02:04:54 +01:00
Hylke Bons 60ffd9ef7a config: never let user name be null or empty 2011-06-08 01:30:01 +01:00
Hylke Bons ae8d03ebdc listener irc: Fix race condition joining channel when not connected 2011-06-08 01:30:01 +01:00
Travis Glenn Hansen b54ac8b259 fixing upstream issue 200 2011-06-07 14:39:35 -06:00
Hylke Bons 50dd9b1a95 config: never let username be empty 2011-06-06 21:00:06 +01:00
Hylke Bons 33338c2c0c listener irc: adjust ping interval and timeout 2011-06-05 23:08:17 +01:00
Hylke Bons 9df0fd6440 Detect the correct .shh path on Windows 2011-06-05 19:59:48 +01:00
Hylke Bons 80e5343908 fetcher base: check if thread exists before disposing it 2011-06-05 17:35:22 +01:00
Hylke Bons 91bd2bff63 config: get default username depending on platform 2011-06-05 17:22:40 +01:00
Hylke Bons b3fb85c305 Move OS detection code to the backend 2011-06-05 17:07:33 +01:00
Hylke Bons efb2d2c878 Don't check for root user on non-unix systems. 2011-06-05 01:47:45 +01:00
Hylke Bons f6dac691ca controller: add a Initialize () method, instead of doing everything in the constructor 2011-06-04 18:16:00 +01:00
Hylke Bons 0458cf826d paths: Use more the more crossplatform Environment.SpecialFolder enumeration to determine used paths. 2011-06-04 15:16:32 +01:00
Hylke Bons 4d972c66d1 repo base: only emit NewChangeSet event when SyncDown was successful 2011-06-03 01:33:41 +01:00
Hylke Bons 85be7121ab Code cleanup 2011-06-03 00:35:51 +01:00
Hylke Bons 04d63c0a27 Update out of date SparkleShare tagline 2011-06-02 00:08:05 +01:00
Hylke Bons 503b02e85f listener irc: only join a channel once 2011-06-01 23:59:18 +01:00
Hylke Bons 1e91f40569 Use custom folder watcher on Mac 2011-05-31 21:02:08 +01:00
Hylke Bons 6dfab204e7 fetcher git: fix url construction 2011-05-31 18:30:28 +01:00
Hylke Bons 71b43d530a Move url forming logic to the fetcher 2011-05-31 02:28:23 +01:00
Hylke Bons bda1bc3bc4 comment out debug rule 2011-05-30 16:22:09 +01:00
Hylke Bons a941bd3b80 repo git: only disable emable watching once 2011-05-30 16:20:25 +01:00
Hylke Bons 39394de3bc listener: get announcement server url from the config file 2011-05-30 02:19:58 +01:00
Hylke Bons e2d75a57fb listener: add Dispose method 2011-05-29 20:01:56 +01:00
Hylke Bons 6298c86a36 repo git: convert commit timestamps by converting them to utc, then converting them to our timezone 2011-05-29 17:47:40 +01:00
Hylke Bons 6926638822 repo: normalise timezones for the log 2011-05-29 16:48:47 +01:00
Hylke Bons a7547f5076 repo base: don't call AnyDifferences on changes in .git or .hg 2011-05-29 13:53:09 +01:00
Hylke Bons ec6c69452a listener: move reconnect timer from repo. rename channelmessage event. add debuginfo 2011-05-29 00:52:46 +01:00
Hylke Bons 9549ae3816 repo: remove obsolete static IsRepo method 2011-05-28 20:23:33 +01:00
Hylke Bons c2cff43f46 controller, backend: determine repo backend type in a cleaner way 2011-05-28 19:29:16 +01:00
Hylke Bons 0b937a0dda config: user Unknown as default username instead of empty string 2011-05-28 17:52:50 +01:00
Hylke Bons 10ac5cbe5c config: add url as part of the folder config xml 2011-05-26 23:41:55 +01:00
Hylke Bons 109f75aee9 Fix configuration issues 2011-05-26 20:46:49 +01:00
Hylke Bons 898c685cb6 repo base: move method for consistency 2011-05-26 02:05:30 +01:00
Hylke Bons 2e075959c4 repo base: use new config scheme to get the user name's and email 2011-05-26 01:44:10 +01:00
Hylke Bons 942aecc710 Use new XML based config scheme 2011-05-25 21:46:46 +01:00
Hylke Bons cb27d3f551 Move the default backend initialisation to SparkleBackend 2011-05-25 20:24:25 +01:00
Hylke Bons 04c3aeca3b hg: fix compile error 2011-05-25 20:20:20 +01:00
Hylke Bons aa01351e2a lib: Fix makefile whitespace 2011-05-25 20:15:15 +01:00
Hylke Bons 4e6fc33e3f hg: remove some debug output 2011-05-25 20:13:26 +01:00
Hylke Bons d5ec6472fd backend: don't be inheritable explictly 2011-05-25 20:07:13 +01:00
Hylke Bons ae87d1e68b config: remove debug output 2011-05-25 19:38:25 +01:00
Hylke Bons c2d844268d config: fix RemoveFolder method 2011-05-25 19:36:43 +01:00
Hylke Bons 1f3ab4f529 save scp backend work 2011-05-25 19:33:45 +01:00
Hylke Bons f2320abc11 config: fix style 2011-05-25 01:22:02 +01:00
Hylke Bons 44572da5c7 config: throw exception whenever config file doesn't exist 2011-05-25 01:20:37 +01:00
Hylke Bons 607b347dd5 config add exception when config file is not found 2011-05-25 01:15:30 +01:00
Hylke Bons 7634b7f655 config: add a default static SparkleConfig 2011-05-25 01:00:32 +01:00
Hylke Bons 80c676de6c Add SparkleConfig class to deal with configuration 2011-05-25 00:46:55 +01:00
Hylke Bons 1288494ae5 hg: implement event logs for Mercurial 2011-05-23 21:16:21 +01:00
Hylke Bons 6779d3bdea defines: remove unused OPEN_COMMAND 2011-05-23 19:42:28 +01:00
Hylke Bons 3d286a4b60 rough Mercurial log implementation and crash fixes on empty repo 2011-05-23 04:06:07 +01:00
Hylke Bons 5a0c45bc6a repo: fix listener connecting 2011-05-23 01:18:10 +01:00
Hylke Bons 1bbf352028 don't watch for addition of ~/SparkleShare subfolders 2011-05-22 23:51:12 +01:00
Hylke Bons e881206ab9 lib: update csproj file 2011-05-22 19:22:13 +01:00
Hylke Bons bd60da2627 lib: update csproj file 2011-05-22 19:21:20 +01:00
Hylke Bons 4d6ea9d707 Do host name checking the same way in back- and frontend 2011-05-22 19:08:14 +01:00
Hylke Bons 0167aef16a repo git: turn off garbage collection by default 2011-05-22 18:54:47 +01:00
Hylke Bons 4eb8abad8d listener base: code cleanup 2011-05-22 18:52:50 +01:00
Hylke Bons 00327a1eb0 repo: set HasUnsyncedChanges to true after a resolved conflict, so we'll push them later 2011-05-22 18:49:04 +01:00
Hylke Bons 2e6d8ac33e repo, listener base: make syncdown queue handle multiple channels 2011-05-22 18:37:36 +01:00
Hylke Bons b4329eb928 repo: also announce changes after a syncup->down->up 2011-05-22 18:12:40 +01:00
Hylke Bons b1950be6ff repo base: Syncup after a SyncDownBase triggered by an initial SyncUpBase. leave it to the remote_timer to push afterwards 2011-05-22 18:06:28 +01:00
Hylke Bons b18db88b61 repo: do a full SyncUpBase after a git rebase 2011-05-22 17:51:58 +01:00
Hylke Bons 37cd521d44 add debug info 2011-05-22 16:38:34 +01:00
Hylke Bons 442dc62980 repo git: fix compile error 2011-05-22 16:29:23 +01:00
Hylke Bons 0a91597291 repo git: push changes after conflict resolution 2011-05-22 16:27:06 +01:00
Hylke Bons 0a1fa73196 repo: get the remote changes if detected on a first connect 2011-05-22 16:05:35 +01:00
Hylke Bons c9a472ee80 helpers: make debug info easier to read by using whitespace 2011-05-22 16:04:28 +01:00
Hylke Bons 7be63b07c9 repo: tweak algorithm 2011-05-22 15:46:24 +01:00
Hylke Bons 16bfce692a build: fix build system 2011-05-22 12:42:22 +01:00
Hylke Bons 3e65a4fc94 build: move backend classes into subfolders 2011-05-22 12:28:14 +01:00
Hylke Bons fbfd8885ed use shorter Hg as class names instead of Mercurial 2011-05-22 01:15:46 +01:00
Hylke Bons 359ec616f9 listener: use one connection with multiple channels per server 2011-05-22 01:02:16 +01:00
Hylke Bons 3c1c0ed4f3 Rework and abstract the backend. Add basic Mercurial support 2011-05-20 01:55:49 +01:00
Hylke Bons 2168fa2ab9 save work 2011-05-19 17:07:42 +01:00
Hylke Bons 19aca9d238 listener: only reference relevant libs 2011-05-19 16:51:49 +01:00
Hylke Bons 50473764c8 listener: fix message queueing of last rework 2011-05-19 16:44:01 +01:00
Hylke Bons 73f2b2c2dd listener: move more logic from Irc to Base 2011-05-19 16:41:46 +01:00
Hylke Bons bd5fd01533 Edited SparkleLib/SparkleListenerBase.cs via GitHub 2011-05-19 08:14:50 -07:00
Hylke Bons cf54ba0ddd repo: abstract syncdown parts 2011-05-18 23:18:11 +01:00
Hylke Bons 9a4c950823 repo: block on commands in methods instead of starting in a new thread afterwards 2011-05-18 19:57:52 +01:00
Hylke Bons e13b4d8501 repo: move some member declarations up 2011-05-18 19:31:43 +01:00
Hylke Bons 4920d4a61d repo: give more members accessors 2011-05-18 19:12:45 +01:00
Hylke Bons f45eeefbd4 repo: rename RemoteOriginUrl to the more git agnostic Url 2011-05-18 17:00:02 +01:00
Hylke Bons 685fa91e47 repo: rename and reduce number of enums in SyncStatus. ditch IsSyncing member 2011-05-18 16:34:31 +01:00
Hylke Bons 04cc6debfd repo: use accessors for HasUnsyncedChanges 2011-05-18 14:03:50 +01:00
Hylke Bons 80289b499a repo: list up to 20 changes in the commit message 2011-05-17 22:37:22 +01:00
Hylke Bons d589a79a66 repo: fix whitespace in commit messages and remove some useless debuginfo 2011-05-17 20:40:14 +01:00
Hylke Bons d544400234 repo: fix bug where the first commit hash wasn't used for the channel name 2011-05-17 13:15:44 +01:00
Hylke Bons f887b28e45 Use 'revision' instead of 'hash' 2011-05-17 11:43:02 +01:00
Hylke Bons 1eac6ea67b repo: add Status member that gets updates dynamically 2011-05-17 02:54:38 +01:00
Hylke Bons be219a85dc repo: remove IsFetching and IsPushing members 2011-05-17 02:51:25 +01:00