Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move reusable files from bin/bbstored to lib/bbstored. | Chris Wilson | 2015-12-20 |
| | | | | Break dependendency of test/bbackupd on individual files from other modules. | ||
* | Make Protocol take control of the socket object passed in. | Chris Wilson | 2014-03-01 |
| | | | | | | | | | | | | | We pass a std::auto_ptr<SocketStream> to every Protocol subclass when we construct it, and it takes control of this object. This reduces the risk of: * accidentally reusing the same SocketStream for multiple Protocols (it happened to me in testbackupstore); * holding onto a reference to the SocketStream; * allowing a locally-scoped SocketStream to go out of scope and be released while still being referenced by a live Protocol. | ||
* | Fix crash in BackupStoreContext with no HousekeepingInterface pointer. | Chris Wilson | 2014-02-27 |
| | | | | | | Rename mrDaemon to mpHousekeeping and make it a pointer, so that it can officially be NULL, and don't crash if it is, and we fail to get a lock on the account. | ||
* | Revert "Get backup connection stats from BackupProtocolServer." | Chris Wilson | 2014-02-09 |
| | | | | | | | Until the groundwork is prepared by changing Protocol's use of IOStream to SocketStream. This reverts commit 78531354753f3ce9bb3ef1d906b2aeaac5b73d58. | ||
* | Get backup connection stats from BackupProtocolServer. | Chris Wilson | 2014-02-09 |
| | | | | One less reason to hang onto a Stream reference, that will go away soon. | ||
* | Log reason for housekeeping, or not (timer status). | Chris Wilson | 2012-11-27 |
| | |||
* | Fix duplicate tagging of housekeeping messages. | Chris Wilson | 2012-11-17 |
| | |||
* | Add housekeep command to bbstoreaccounts to run housekeeping right now. | Chris Wilson | 2012-06-29 |
| | |||
* | Tag housekeeping logging with the account number and name. | Chris Wilson | 2012-05-03 |
| | |||
* | Use the correct default config file for bbstored, thanks Pete! | Chris Wilson | 2012-05-03 |
| | |||
* | Make BackupStoreDaemon::RunHousekeepingIfNeeded public to allow tests to ↵ | Chris Wilson | 2012-04-28 |
| | | | | call it. | ||
* | Log which account we're housekeeping, to help debug housekeeping ↵ | Chris Wilson | 2012-02-02 |
| | | | | crashes/failures. | ||
* | Add remote host and port to post-login login message, requested by Pete Jalajas. | Chris Wilson | 2011-12-13 |
| | |||
* | Log the account name with connections, disconnections and statistics, ↵ | Chris Wilson | 2011-12-12 |
| | | | | requested by Pete Jalajas. | ||
* | Combine client and server protocols to make way for an offline/local protocol. | Chris Wilson | 2011-08-27 |
| | | | | | Rename ProtocolObject to Message. | ||
* | Log net traffic (in-out) in bbstored, as requested by Pete Jalajas. | Chris Wilson | 2011-08-27 |
| | |||
* | Major refactoring to make lib/backupclient depend on lib/backupstore rather | Chris Wilson | 2011-04-26 |
| | | | | | | | than the other way around. This is needed to allow clients to have all the code that they'd need to implement local backups (using the Local protocol) in subsequent commits. | ||
* | Add a macro to simplify sending protocol errors back to client. Check for | Chris Wilson | 2011-04-22 |
| | | | | | | MultiplyReferencedObject exception and send the appropriate error code back to the client rather than crashing. | ||
* | Add an exception code and a protocol error code for modifying a | Chris Wilson | 2011-04-22 |
| | | | | | multiply referenced object. | ||
* | Fix incorrect generation of temporary file name for applying | Chris Wilson | 2011-01-09 |
| | | | | | | | patches while restoring old versions of files, many thanks to Matto Marjanovic for debugging this issue and submitting a patch! | ||
* | Fix date overflow in new CA certificates, make them valid until 2038, | Chris Wilson | 2011-01-08 |
| | | | | | thanks to JP Vossen for reporting this. | ||
* | Implement write buffering on directories. | Chris Wilson | 2010-09-13 |
| | |||
* | Adjust numbers of files and blocks in current files during backup store | Chris Wilson | 2010-08-27 |
| | | | | | operations. | ||
* | Report changes to object and block counts that are made by housekeeping. | Chris Wilson | 2010-08-27 |
| | |||
* | Compile fix for [2694]. | Chris Wilson | 2010-06-06 |
| | |||
* | Build the reference counts for a directory before we start deleting | Chris Wilson | 2010-02-28 |
| | | | | | files, to ensure that it's initialized and memory allocated for it. | ||
* | Log keeping referenced files and deleting unreferenced ones on the | Chris Wilson | 2010-02-28 |
| | | | | | store. | ||
* | Run Perl scripts quietly during make. | Chris Wilson | 2010-01-24 |
| | |||
* | Add methods to get the number of refcounts adjusted by the last | Chris Wilson | 2009-11-11 |
| | | | | | housekeeping, for testing. | ||
* | Add method to get the number of refcounts adjusted by the last | Chris Wilson | 2009-11-11 |
| | | | | | housekeeping, for use by tests. | ||
* | Make housekeeping check the object reference counts and fix them if | Chris Wilson | 2009-06-28 |
| | | | | | | | | | | | they're wrong. Add a callback interface to decouple housekeeping from the BackupStoreDaemon, allowing it to be called directly in tests. Allow housekeeping callers to request it to keep trying forever to get a lock on the account if it's busy. | ||
* | Update reference counts when files and directories are uploaded. | Chris Wilson | 2009-06-28 |
| | |||
* | Change default location for config files from /etc/box to | Chris Wilson | 2009-04-09 |
| | | | | | /etc/boxbackup, thanks to Reinhard Tartler and the Debian Project. | ||
* | Change type of BackupStoreFilename not to derive from std::string, so | Chris Wilson | 2009-03-29 |
| | | | | | | | | it can't accidentally be used as one. Fix use of encrypted filename in deleted file message, thanks to Kenny Millington for reporting. | ||
* | Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as | Chris Wilson | 2008-12-30 |
| | | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve. | ||
* | Remove unused and wrong default path for accounts database. | Chris Wilson | 2008-10-18 |
| | |||
* | Add command to undelete a file, to complete the set of commands | Chris Wilson | 2008-09-13 |
| | | | | | implemented by the bbstored server. | ||
* | Allow stopping housekeeping during a run, between accounts, when the | Chris Wilson | 2008-09-13 |
| | | | | | daemon is requested to terminate or to reload its configuration. | ||
* | Use logging tagger to identify clients during connections, both | Chris Wilson | 2008-09-13 |
| | | | | | in syslog and on the console. | ||
* | Make statistics back into a NOTICE level log again, as they're pretty | Chris Wilson | 2008-08-22 |
| | | | | | important and useful. | ||
* | Run housekeeping synchronously on all platforms if daemon is run in | Chris Wilson | 2008-08-21 |
| | | | | | | | single process mode (-D), not just on Windows. Add a housekeeping interface to allow Boxi to run housekeeping. | ||
* | Rename BackupContext to BackupStoreContext. | Chris Wilson | 2008-08-07 |
| | | | | | Add a TestHook to help test weird server behaviour such as crashes. | ||
* | Shorten names used by daemons. | Chris Wilson | 2008-05-28 |
| | |||
* | Catch exception on reading a directory that doesn't exist, and return a | Chris Wilson | 2008-05-28 |
| | | | | | protocol error message instead. | ||
* | Reformat for readability. | Chris Wilson | 2008-05-28 |
| | | | | | Log removal of directories by housekeeping. | ||
* | Undo mangling by tailor | Chris Wilson | 2008-04-04 |
| | |||
* | Tailorization | Chris Wilson | 2008-04-04 |
| | | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00 | ||
* | Replace all remaining use of TRACEx() macros with logging framework. | Chris Wilson | 2008-03-29 |
| | | | | | Remove the old TRACEx macros to catch any remaining uses. | ||
* | Correct sysconfdir and localstatedir as they weren't doing what they were ↵ | James O'Gorman | 2008-03-25 |
| | | | | supposed to. | ||
* | * Move all commands from bin to sbin on Unix platforms | James O'Gorman | 2008-02-27 |
| | | | | | | * Update all associated docs and contributed distribution files |