Improve setting of cloud URL (positive set to either default or user-
Change default server
Increment version number
Improve setting of cloud URL (positive set to either default or user-
Merge branch 'master' into GordonGeo
Change default server
Move definition of process cloud reg to proper location
Hide cloud interface until we are ready for it (not yet)
- Increase font size of "add worker" button
Work adding password to the company setup
Make keep-on-top option also disable the close/minimize buttons
Merge branch 'master' into custom
Enable type-ahead in user list
Delete punches for user when deleting user
Fix issues with menu and behavior when current user is deleted
Prevent entry of commas in User Quick Entry Box
Add auto-complete to company input
Add Quick Add User dialog from main punch window
Fix backup file name and remove the "run command on punch" option when on mac (since we are sandboxed, it simply won't work)
Wrap appstore calls in ifdef for non-appstore builds
Remove debugging code
Fix loginbox appearance/behavior when using username/password logins rather than selecting from a list
Fix automatic logout if the punch window is not the active window at the scheduled logout time
Code/text cleanup
Properly hide dock icon on launch when option is selected
Tweak some in-app purchase behavior and appearance
Fixup the registration and setup dialogs
Change settings object to a pointer so it can be instantiated slightly later in the initalization process
Update the EmailConfig example file and add some missing files back into git
Add in-app purchase for EZPunch Server functionality
Fix crash on preferences window close now that it is not using a local settings object
Fix double-showing of read files when authenticating on punch
Remove seperate authentication and password checks in favor of having checking the password be part of authentication
Give unencrypted password to the check login function for use in bcrypt
Tweak admin check when turning on admin password protection for admin functions
Refactor server to use new checkLogin function
Tweak remote password check to pass the "checkPass" variable, as sometimes we need to override the "login" option and require a password check
Remove error messages from implementation of "checkLogin" (let the calling function be responsible for that)
Add bcrypt library for better password hashing
Convert md5 passwords to bcrypt on succesfull login, and store new/changed passwords as bcrypt rather than md5
Refactor authentication to a single function
Replace all QSettings instances with references to the global settings object
Remove debugging code
Pull the latest user information when opening the userManager
Implement server signaling on user manager closed
Work on client side of server signaling user update
Make get accumulated hours code asynchronous to avoid blocking time entry display in bad network conditions
Fix race condition with retrieving user photos and opening the login window
Fix local/server photo comparison and local photo removal routines so already existing photos are not re-transfered each time
Remove unused "waitForResponseReady" function
Have server use special rejected message
Don't close the server until actual shutdown, so current users can still get messages through
Remove unused "wait for response ready" function
Reject new clients when server is shutting down
Fix lockup when calling waitForFinished on an invalid Communicator/ComFuture object
Add special message type for client, refused conn
Switch sendMessage base function to using std::function rather than explicit function pointers for greater flexability
Fix race condition and behavior when connecting to a server in the "shutting down" state (not accepting new connections)
Fix sending extra ACK on server request
Refactor serer "Receive data" to use a communicator object rather than the "processData" function that contains the potentially problematic "waitForReadyRead" function
Add debug parameter to communicator
Only show one error at a time, and don't show the "Remote host closed connection" message more than once.
When shutting down server immediately with a message, don't disconnect clients until the message has been sent.
Add "send message" button to server window
Don't connect the "master" socket connection to the processData function on the server side. It will not be sending data to the server, except in response to something the server sends.
Add more safeguards in communicator for when socket closes unexpectedly.
Refactor client receipt to use comm object and signals/slots rather than waitForReadyRead
Remove now-unneded "readResponse" function, debugging code, and reset timeout to something reasonable
Make BoolFutureSychronizer work with CommFutures
tweak communicator destructor
Remove hackish socket cleanup code to see if it is still needed or not (hopefully not now that everything seems to be working properly)
Fix crash/memory leak when opening readFileAdmin window
"Fix" odd visual glitch in group manager when deleting multiple groups
Fix needing to double-quit and date/time not showing up in menu widget until switching users
Ditch threaded sendMessage calls in favor of "plain" asynchronous programming
Remove some debugging output
Merge branch 'ssl-async' of ssh://git.code.sf.net/p/mactimeclock/GitRepo into ssl-async
Properly process results even if the result value is not used
Fix race condition between writing ack/finishing socket and processing the result.
Close progress dialog when connection is complete
Make connectToServer asynchronous, but not seperate threads. Improves reliablitlity significantly (apparenlty)
Refactor ACK sending to just use signals/slots
Tweak some debugging code
Wait to close the socket until we get the signal that all three ACK bytes have been written
Add Debugging
Properly set expect response in communicator based on the presence of a callback, and disconnect the readyRead signal from the inital responder
Properly set close on finish in send message function to close the socket when we are done with it
Merge branch 'ssl-async' of ssh://git.code.sf.net/p/mactimeclock/GitRepo into ssl-async
Merge branch 'ssl-async' of ssh://10.211.55.2:/Volumes/Promise6TB/Development/EZPunch into ssl-async
Minor refactoring to not connect the ready read signal after reading the ACK if we already have enough data available.
Add Debugging
Refactor communications object to behave more like QFuture objects, and create a watcher object
Fix a potential problem with the commumnicator object being deleted too soon
Disconnect lambda slot when done with it to prevent crashing
Additional changes to try to combat race conditions
Add more checking for potential error conditions in send
Add some debugging code
Frist stab at trying to add an ACK/Retry system to message sending.
Try implementing send/receive function using signals/slots rather than waiting
Try to eliminate race condition, and add more debugging