Commit Graph

81 Commits

Author SHA1 Message Date
FranklinDM
3769f80342
Don't strip port from returned weave node 2018-11-18 21:52:55 +08:00
FranklinDM
feb449e479
Fix 'Only variables should be passed by reference' notices in PHP7 2018-11-18 19:34:06 +08:00
wolfbeast
269d4da4f6 Un-bust creating new accounts. 2018-07-12 01:43:22 +02:00
wolfbeast
360a494fd4 Store login time of users after successful auth. 2018-07-06 14:38:08 +02:00
wolfbeast
d69e27564b Issue #7 part 1: add login field to users table
A standard int suffices to store an epoch timestamp returned by time()
2018-07-06 14:36:22 +02:00
Moonchild
e20fc1662a
Update README.md 2018-03-31 08:50:43 +00:00
wolfbeast
c545d28ae1 Update readme for release. 2018-03-21 22:34:38 +01:00
wolfbeast
6d4ce8199b Improve quota handling further:
- Adjust limit to not have a gap of 1 exactly at MAXQUOTA
- Add a date/time stamp to the log + slight rewording
- Send an X-Weave-Quota-Remaining header to the client
2018-01-22 16:52:20 +01:00
wolfbeast
ca9ae02b0e Remove erroneous over quota message when over min quota but not at max quota yet.
Follow-up to #5
2018-01-21 13:39:17 +01:00
Moonchild
b91b3fdbc1
Merge pull request #5 from computersalat/dev
improve Quota handling
2018-01-21 13:33:55 +01:00
ChrisWi
f27e734fc0 make Quota configurable, add Soft-/Hard-Quota [Min|Max] 2018-01-05 03:12:14 +01:00
ChrisWi
c249a5cf49 rework 'Invalid request' message, don't give too much info about what service is offered 2018-01-05 02:29:39 +01:00
ChrisWi
3d368459e0 update README: fix typos, add missing v013b info 2018-01-05 00:14:43 +01:00
wolfbeast
407cc8d3fa Stop debug spam + increase cap to 35M 2017-01-30 21:29:56 +01:00
wolfbeast
6d4ca91888 Credit update 2016-04-23 11:21:19 +02:00
wolfbeast
06158570c5 Only use "on duplicate key update" insert statement on MySQL connections.
(SQLite does not support this statement)
2016-04-23 11:13:55 +02:00
wolfbeast
1d840ef750 Implement quota hard cap (refusal if over)
- Added quota logging for debugging/monitoring
- Hard-coded for now to 25000 KB, should be configurable in settings.php in the future.
2016-02-07 14:41:47 +01:00
wolfbeast
540b41055b Replace REPLACE INTO with INSERT INTO, take 2: now without a dumb typo. 2016-01-07 00:13:01 +01:00
wolfbeast
53cde46604 Revert "Replace the REPLACE INTO call for a much less expensive INSERT INTO call. This solves issue #4."
This reverts commit 7439ba61db.
2016-01-06 23:56:34 +01:00
wolfbeast
7439ba61db Replace the REPLACE INTO call for a much less expensive INSERT INTO call. This solves issue #4. 2016-01-06 20:54:08 +01:00
Moonchild
370ac68f88 Update README.md 2015-07-15 12:43:03 +02:00
wolfbeast
7712ec174d Delete account: add auth check. 2014-12-12 12:29:52 +01:00
wolfbeast
3397c87059 Add stub for account removal. 2014-12-11 22:35:12 +01:00
wolfbeast
a31d12ed96 Re-word registration messages 2014-09-21 14:23:37 +02:00
balu
ad6e57a8c6 Merge pull request #18 from Trellmor/for-balu/changepwd
Password wasn't hashed before saving it in the database
2014-04-18 14:53:48 +02:00
Daniel Triendl
b22f18d5e5 Password wasn't hashed before saving it in the database
if the user changed the password in the browser.

Fixes #17
2014-04-10 18:35:22 +02:00
balu
8bbcbd00a1 New version
readme
2013-07-05 03:44:56 +02:00
balu
f87c57fa2e Update TODO 2013-06-12 03:48:21 +03:00
balu
3e6ff76fc3 Update TODO 2013-06-12 03:21:59 +03:00
balu
583f11ada4 Change lenght of md5 field
Change lenght of md5 field to be able to store crypt output (maxlenght should be 123 corresponding to http://php.net/manual/de/function.crypt.php)
2013-06-12 03:19:22 +03:00
balu
b20b5ea640 added missing contibutor (myself) 2013-06-12 03:12:25 +03:00
balu
bc576a7058 Merge pull request #12 from Trellmor/bcrypt
Replace MD5 password crypt with bcrypt
2013-06-11 16:55:37 -07:00
Daniel Triendl
c6f4f1a801 add bcrypt to settings.php on setup 2013-06-05 02:17:13 +02:00
Daniel Triendl
649fa92bfa Check if BCRYPT const is defined 2013-06-05 02:08:17 +02:00
Daniel Triendl
0030dd14be bcrypt testcase 2013-06-05 01:11:41 +02:00
Daniel Triendl
3eecd85257 bcrypt 2013-06-05 01:11:26 +02:00
balu
221ea8177c Update setup.php
Issue #10
2013-02-21 18:56:18 +01:00
balu
aeff7cb167 add hint that guessed server url may be wrong 2013-02-10 18:39:26 +01:00
balu
3cc70411d0 Added ToDo list 2013-01-14 18:04:07 +01:00
balu
228319992f Merge pull request #6 from thedd/master
New variable for the sqlite file location
2012-12-21 10:45:34 -08:00
David
0e53c7a7c1 Created a new variable in config.php and settings.php for the SQLite file 2012-12-20 16:12:12 +01:00
balu
982b704f69 Update README.md
v012 Compatibility update
2012-10-20 15:53:25 +03:00
balu
96f5c50dc4 added GPL license header 2012-10-20 14:38:54 +02:00
j-ed
5634fa0d3f fixed typo. 2012-10-20 14:31:30 +02:00
j-ed
4931d9523f modification to support iPhone/iPod Touch devices
check http://www.rfkd.de/?p=974 for further details
2012-10-20 14:30:42 +02:00
j-ed
4a7046cb71 moved iPhone/iPod Touch specific code from index.php to user.php
The added code snippet was never reached because the original code now includes a redirection to user.php.
2012-10-20 14:29:24 +02:00
j-ed
c09c18fbe8 applied patch to support iPhone/iPod Touch devices
further details about this patch could be found on the follwing website: http://www.rfkd.de/?p=974
2012-10-20 14:28:18 +02:00
j-ed
2011e0b534 include weave_utils.php to prevent 'function not found' error. 2012-10-16 16:19:49 +03:00
j-ed
9b8208b289 made sure that all values are properly initialized
made sure that the path is splitted into parts and and all values are properly initialized.
2012-10-16 16:16:44 +03:00
j-ed
c5a6001588 replaced 'report_error' by 'log_error' function
replaced 'report_error' by 'log_error' function to prevent invalid function error message.
2012-10-16 16:11:54 +03:00