Dave
ee92afd7da
changed hashing method to use toString, bytearray may have proved
...
inconsistent
2015-12-05 14:05:09 +02:00
Dave
d0e2b2d69a
Changed from static system var to explicit constructor
...
(consider changing to a generic NoCore/NoSession type in future)
2015-11-29 15:50:26 +02:00
Dave
d230b610da
added exception to ClassNotFound error in setupNoUserClass
2015-11-29 15:27:56 +02:00
Dave
495a227da1
clean up this.
2015-11-29 11:53:53 +02:00
Dave
9108b2720a
stopped ignoring actions on Hash (they are lifetime incremetors)
2015-11-29 11:36:30 +02:00
Dave
24c44e08d6
NoUser is now abstract
2015-11-29 11:24:47 +02:00
Dave
44d2ee3cc5
added @NoHash annotation to the correct fields in TestNoUser
2015-11-29 11:09:55 +02:00
Dave
72900ea252
Added extra catches to user state change
2015-11-28 23:02:10 +02:00
Dave
7c0271f527
cleanup
2015-11-28 22:53:54 +02:00
Dave
256ba00cf8
fixed equals for subclasses
2015-11-28 22:34:27 +02:00
Dave
aea01e35ed
added GSON, assorted changes to try get a different file system working
2015-11-28 22:19:47 +02:00
Dave
21669a1477
enabled env RSA strength
2015-09-06 22:30:01 +02:00
Dave
7f137556aa
exception now passed up with class not found
2015-09-06 22:29:53 +02:00
Dave
a96ea6c130
pass IO exceptions down through confirm
2015-09-06 20:27:00 +02:00
Dave
3058f440d3
IO exceptions now pass up through UserNotValid
2015-07-21 21:41:46 +02:00
Dave
b4f55a80d0
added exported jar to gitignore
2015-07-05 22:42:39 +02:00
Dave
5f5a75bafa
test suite testing NoDashBasicTests and NoRoutineTest
2015-07-05 22:14:49 +02:00
Dave
6bc466954e
System.out cleanup
2015-07-05 22:14:16 +02:00
Dave
c7596effeb
warning cleanup
2015-07-05 22:13:54 +02:00
Dave
2865590088
large set of functional tests, passing all except the HandshakeAction
2015-07-05 20:08:45 +02:00
Dave
333473a511
comment
2015-07-05 18:58:17 +02:00
Dave
f59d60d066
added action count to change hash properly
2015-07-05 18:58:03 +02:00
Dave
06fd5e9845
changed byteSet from Collection to List so as to iterate by index
2015-07-05 18:57:25 +02:00
Dave
81f9361eda
shred() takes into account new user status to set the correct hash to
...
offline
2015-07-05 18:56:13 +02:00
Dave
ad951798e8
starting to add a functional test suite showcasing basic implementation
...
details and action behaviour
2015-07-04 17:43:55 +02:00
Dave
e46620cb37
javadoc
2015-07-04 16:33:29 +02:00
Dave
6176bede43
adding license
2015-07-04 15:36:56 +02:00
Dave
a0321aa45a
more javadoc
2015-07-04 15:34:04 +02:00
Dave
5fd699c805
- removed NoSessionConfirmedException from getSessionState
...
- added javadocs
2015-07-04 15:30:08 +02:00
Dave
1cc6f9c4b9
merged adapter into master, moved NoRegister to models package
2015-07-04 14:54:39 +02:00
Dave
7a3a78f78f
import cleanup
2015-07-04 14:50:10 +02:00
Dave
fa5b5628a4
ignoring nosystem.hash
2015-07-04 14:47:38 +02:00
Dave
cd1c7bdc69
all basic tests pass!
2015-07-04 14:46:22 +02:00
Dave
1c1a6012bf
import cleanup
2015-07-03 23:43:06 +02:00
Dave
9dac03891c
removed system.out.println
2015-07-03 23:27:10 +02:00
Dave
788e2a8dc4
set up NoUtil to use a env secret key
2015-07-03 23:24:57 +02:00
Dave
c0b2c1c82d
massive changes
...
- Changed NoCore to a non-static object
- Cut out all spheres in favour of a NoAdapter interface
- Added basic NoDefaultAdapter object, should be overridden in prod uses
2015-07-03 22:44:28 +02:00
Dave
1e543bafc1
name refactors
2015-06-29 22:34:47 +02:00
Dave
178616adcb
warning fixes
2015-06-29 22:29:25 +02:00
Dave
59b2be78c1
Test tweaks, expecting the correct error
2015-06-29 22:27:54 +02:00
Dave
7f641d31e3
Declaring generic List interface rather than ArrayList
2015-06-28 22:37:07 +02:00
Dave
a40d5e9738
renaming to adhere to GoogleStyle conventions
2015-06-28 21:50:46 +02:00
Dave
6ff5e60046
added register constructor method
2015-06-28 21:48:00 +02:00
Dave
bd931e1dce
removed unnecessary catch
2015-06-28 21:32:24 +02:00
Dave
e3873ed22c
removed some catches, added nullpointer checks
2015-06-28 21:32:15 +02:00
Dave
64e408a67a
added a test for allowed secret key size
2015-06-28 21:17:29 +02:00
Dave
6166e77646
unit tests
2015-06-27 23:46:46 +02:00
Dave
bb12dcc555
added NoUserTest
2015-06-27 22:33:47 +02:00
Dave
01d15cc24d
changed getHashString to use Base64
2015-06-27 22:33:39 +02:00
Dave
ae4266b9ba
removed shitty """"unit tests""""
2015-06-27 22:00:13 +02:00
Dave
213df01c78
Converted ArrayList to List declaration
2015-06-27 21:56:19 +02:00
Dave
34b9a748f9
formatting
2015-06-27 21:50:28 +02:00
Dave
7bb6c6fdfa
unused
2015-02-01 00:06:06 +02:00
Dave
9df51e1cb6
Merge branch 'master' of https://github.com/Saguine/no-java.git
2015-01-31 22:13:23 +02:00
Dave
ff35dd8680
Added a private randomizer field to prevent editing user data so as to
...
affect the resultant hash
2015-01-31 22:12:56 +02:00
Saguine
def2d163f8
Update README.md
2015-01-07 07:27:57 +02:00
Dave
fb63626fc5
removed unused imports
2015-01-06 23:56:01 +02:00
Dave
e43f696b9f
Added some printIf comments to ActionInfluenceLifecycle
2015-01-06 23:54:48 +02:00
Dave
88ceee62ac
getRSAPublicKey now returns a copy of the public key rather than the
...
object itself
2015-01-06 23:54:15 +02:00
Dave
4c2ae7fa8a
Removed System.out.println
2015-01-06 23:53:36 +02:00
Dave
4e42c51581
Added action-influence lifecycle test
2015-01-06 23:45:33 +02:00
Dave
787d66b87d
removed unused imports
2015-01-06 22:45:15 +02:00
Dave
aa8bb07300
Added a test to test logging in, modifying data and logging out
2015-01-06 22:43:20 +02:00
Dave
707252b62b
ignores and unused dependency removal
2015-01-06 19:43:39 +02:00
Dave
e5ca4b6048
Finalized Registration and Login tests
2015-01-06 18:59:49 +02:00
Dave
2f71b567a8
changes to Base64 (sun --> apache codec)
2015-01-06 18:59:34 +02:00
Dave
2d754af0c2
New classes for testing
2015-01-05 23:10:59 +02:00
Dave
329cfb4d97
adding isReady()
2015-01-05 23:10:48 +02:00
Dave
54ca67d27a
Adding isReady()
2015-01-05 23:10:40 +02:00
Dave
df651d96c9
Added null check to UUID decryption
2015-01-05 22:22:36 +02:00
Dave
7e2c130561
renamed encrypt/decryptByteStream to just enc/dec (overload consistency)
2014-12-26 17:37:40 +02:00
Dave
ee72415e63
Removed all incidents of e.printStackTrace, wrapped errors with
...
NoDashFatalExceptions instead of overwriting
2014-12-26 17:15:54 +02:00
Dave
3b97efec74
Changed charToBytes to charsToBytes
2014-12-26 16:51:26 +02:00
Dave
794b55e366
Util logging changes
2014-12-23 22:10:18 +02:00
Dave
6ceecd430d
removed unnecessary import
2014-12-23 15:33:55 +02:00
Dave
6b12e42f0c
Catch nullpointerexception on NoCore.getUser, convert into
...
SessionExpired
2014-12-23 10:48:10 +02:00
Dave
b270be5795
added .process() to NoAction
2014-12-21 23:27:09 +02:00
Dave
3b356ef774
Fixed interactions with old config setups
2014-12-21 17:21:24 +02:00
Dave
c29e3880fe
Changed size() for NoHashSphere from int to long
2014-12-21 17:18:22 +02:00
Dave
db05ad4866
Created extendable NoConfigBase
2014-12-21 17:17:46 +02:00
Dave
219253c518
Interface additions and global changes to allow config to be modified
2014-12-21 16:35:21 +02:00
Dave
902a00d625
Updated NoSession to use newest NoHashSphere changes
2014-12-21 00:33:28 +02:00
Dave
ffe8531824
made static hashSphere public
2014-12-21 00:32:43 +02:00
Dave
30c90b123c
Changed NoHashSphere to NoHashSphereInterface, allow for default
...
constructor with setup() or to feed new NHSI.
2014-12-21 00:31:08 +02:00
Dave
897491e159
Added setup features for custom fileName
2014-12-21 00:30:28 +02:00
Dave
3e671520b6
Renamed interface and base implementation, changed methods from static
2014-12-21 00:25:37 +02:00
Dave
c85ff25617
Added a NoHashInterface to allow users to control their own hash db
2014-12-21 00:20:57 +02:00
Dave
bce0155abe
Added license
2014-12-21 00:13:27 +02:00
Dave
335b20ac69
readme additions
2014-12-16 02:12:21 +02:00
Saguine
b48639b99f
Create README.md
2014-12-16 01:11:46 +02:00
Dave
d3dc4d5b98
gitignore additions
2014-12-16 01:04:46 +02:00
Dave
38c2d0de5d
Initial commit
2014-12-16 01:01:48 +02:00