Commit graph

173 commits

Author SHA1 Message Date
Hylke Bons de7971e214 repo base: Start initial remote check in a new thread. Prevents blocking an fixes #321 2011-11-13 00:57:00 +00:00
Hylke Bons acd149df21 repo: When listening, make poll interval long for every repo 2011-11-13 00:27:25 +00:00
Hylke Bons a785c78522 Merge branch 'enhancements' of https://github.com/travisghansen/SparkleShare into thansen
Conflicts:
	SparkleLib/SparkleListenerBase.cs
	SparkleLib/SparkleRepoBase.cs
2011-11-12 17:47:39 +00:00
Travis Glenn Hansen 44ff41976c bit more sync/listener logic 2011-11-07 08:39:33 -07:00
Hylke Bons edf64d1181 Fix build. Closes #403 2011-11-06 14:37:56 +00:00
Travis Glenn Hansen a4fa7988af making announcements more robust and intelligent 2011-11-05 15:09:09 -06:00
Hylke Bons c37435db52 repo: cover case where we're in a poll triggered syncdown and a message comes in half way through 2011-11-04 16:24:50 +00:00
Hylke Bons f922ccf7fb repo: add better check for duplicate messages 2011-11-04 00:05:25 +00:00
Hylke Bons 3124b2e950 listener: don't add duplicate messages to queue. attempt #2 2011-11-03 16:54:01 +00:00
Hylke Bons c708fb4e90 Remove OS detection code, rely on an abstract base controller with similarly named custom controller subclasses for each OS instead. 2011-09-25 22:52:03 +02:00
Hylke Bons 360dc1ab40 setup: add images to tutorial pages 2011-09-14 02:09:03 +02:00
wimh 1e32374e81 fix crash if file was renamed remote
see #8 (https://github.com/wimh/SparkleShare/issues/8)
2011-09-03 22:11:28 +02:00
Hylke Bons ac0fc4ceb0 Add events to tcp listener 2011-07-24 19:22:17 +01:00
Hylke Bons fd62154f6c Refactor config and merge with Paths 2011-07-24 02:00:40 +01:00
Hylke Bons 1436477bad lib: add a User object 2011-07-23 22:33:15 +01:00
Hylke Bons 68a90b1948 Add notifications for new notes 2011-07-23 22:23:14 +01:00
wimh 47f9439dfa fix bug in CheckForChanges 2011-07-23 21:41:56 +01:00
Hylke Bons e2da8ede57 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 fba5162e4e log: get commits from the last week, instead of the last X commits 2011-07-23 20:57:10 +01:00
Hylke Bons 683dc5a635 Fix notifications
The check wether it was a new commit always returned false
2011-07-21 00:49:16 +01:00
Hylke Bons bc79205308 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 8cef98a010 fix notes 2011-07-17 01:22:39 +01:00
Hylke Bons 03d547e0c7 notes: stop using git-notes, use files instead 2011-07-16 23:30:46 +01:00
Hylke Bons c498347931 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 6af7fdf1e8 Fix nullreference exception when adding new files before starting sparkleshare 2011-06-28 20:54:47 +01:00
Hylke f4c2a3e951 repo: create watch after initial change set 2011-06-28 20:06:04 +01:00
Alex Hudson e49992a1da Make listener type configurable from config file 2011-06-28 20:03:10 +01:00
Hylke b467b1937b don't show a notification on new notes 2011-06-24 23:55:23 +01:00
Hylke 02ec2faf93 Merge branch 'master' into notes
Conflicts:
	SparkleLib/Git/SparkleRepoGit.cs
2011-06-24 19:13:02 +01:00
Hylke eaebd1a9b2 Merge branch 'master' of github.com:hbons/SparkleShare 2011-06-23 15:24:08 +01:00
Hylke 1428f486b1 repo: don't show warning statusicon upon initial commit 2011-06-23 13:56:25 +01:00
Hylke Bons bb7fe1d888 continue implementing notes 2011-06-23 01:44:43 +01:00
Hylke Bons 268d5c8027 save progress on notes 2011-06-23 01:44:43 +01:00
Hylke Bons ad8c96e2f4 add AddNote method 2011-06-23 01:44:43 +01:00
Hylke Bons 904a7052b2 repo: ignore external watchers when watching is disabled 2011-06-22 16:02:38 +01:00
Hylke Bons 9cfc42e812 repo: Move watcher to its own subclass 2011-06-14 23:14:03 +01:00
Hylke Bons 16b73f82d0 repo base: disable watching by using the existing method instead 2011-06-14 14:25:25 +01:00
Hylke Bons 4f59a03a6f repo base: disable watching when syncing down 2011-06-13 18:57:56 +01:00
Hylke Bons 37e20be1b7 repo base: make polling intervals setting a bit more readable 2011-06-12 02:56:01 +01:00
wimh 63dc37cad3 fix portability issue in OnFileActivity 2011-06-12 01:53:38 +01:00
Hylke Bons 711de7b85b default disconnected polling interval is 3min 2011-06-10 11:08:03 -07:00
Hylke Bons 057c96c288 repo: don't poll every 10sec when disconnected 2011-06-09 23:59:56 +01:00
Hylke Bons b17e91e132 repo base: poll continously even when connected (but not as frequent) 2011-06-09 21:20:57 +01:00
Hylke Bons 96c54807c5 repo base: add some properties to be used for the manual polling 2011-06-09 18:53:36 +01:00
Travis Glenn Hansen 3073d9d038 removing is_polling completely 2011-06-09 10:21:55 -06:00
Hylke Bons 0a845a336f Work with repos on host names with a dash in them 2011-06-08 02:04:54 +01:00
Hylke Bons 209a30c0ab repo base: only emit NewChangeSet event when SyncDown was successful 2011-06-03 01:33:41 +01:00
Hylke Bons 1dcecf13a6 Code cleanup 2011-06-03 00:35:51 +01:00
Hylke Bons 987127f5ec Update out of date SparkleShare tagline 2011-06-02 00:08:05 +01:00
Hylke Bons 8457204cc5 Use custom folder watcher on Mac 2011-05-31 21:02:08 +01:00
Hylke Bons db71ae2ce9 listener: get announcement server url from the config file 2011-05-30 02:19:58 +01:00
Hylke Bons 2ae578db39 repo base: don't call AnyDifferences on changes in .git or .hg 2011-05-29 13:53:09 +01:00
Hylke Bons d47435573c listener: move reconnect timer from repo. rename channelmessage event. add debuginfo 2011-05-29 00:52:46 +01:00
Hylke Bons aab6e36e4d repo: remove obsolete static IsRepo method 2011-05-28 20:23:33 +01:00
Hylke Bons 857cf4e57d config: add url as part of the folder config xml 2011-05-26 23:41:55 +01:00
Hylke Bons 865582eef6 Fix configuration issues 2011-05-26 20:46:49 +01:00
Hylke Bons 160485cff7 repo base: move method for consistency 2011-05-26 02:05:30 +01:00
Hylke Bons 800f70b3ac repo base: use new config scheme to get the user name's and email 2011-05-26 01:44:10 +01:00
Hylke Bons 7977ce90c0 rough Mercurial log implementation and crash fixes on empty repo 2011-05-23 04:06:07 +01:00
Hylke Bons fcef8df9c1 repo: fix listener connecting 2011-05-23 01:18:10 +01:00
Hylke Bons 866f97908a don't watch for addition of ~/SparkleShare subfolders 2011-05-22 23:51:12 +01:00
Hylke Bons 5b064f065b Do host name checking the same way in back- and frontend 2011-05-22 19:08:14 +01:00
Hylke Bons 3a42d1c1de 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 09a8fb6021 repo, listener base: make syncdown queue handle multiple channels 2011-05-22 18:37:36 +01:00
Hylke Bons ee2f21f2ac repo: also announce changes after a syncup->down->up 2011-05-22 18:12:40 +01:00
Hylke Bons cdefa6dc95 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 3efe9060c2 repo: do a full SyncUpBase after a git rebase 2011-05-22 17:51:58 +01:00
Hylke Bons f93983bd57 add debug info 2011-05-22 16:38:34 +01:00
Hylke Bons 3b9cb28fea repo: get the remote changes if detected on a first connect 2011-05-22 16:05:35 +01:00
Hylke Bons 8a35a4a490 repo: tweak algorithm 2011-05-22 15:46:24 +01:00
Hylke Bons fd3e0b5191 listener: use one connection with multiple channels per server 2011-05-22 01:02:16 +01:00
Hylke Bons 749d83c832 Rework and abstract the backend. Add basic Mercurial support 2011-05-20 01:55:49 +01:00
Hylke Bons 0826a8287d save work 2011-05-19 17:07:42 +01:00