Commit Graph

89 Commits (master)
 

Author SHA1 Message Date
Moonchild d89f0cd23a
Issue #10 - Follow-up: don't use cache is user is over the soft quota limit. 3 years ago
Moonchild 03c7e09b97
Update readme for release 3 years ago
Moonchild 908e9c3311
Issue #10 - Add caching to quota totals calculation.
-> Merge branch '10'
3 years ago
Moonchild 5f1f5f914b
Clear quota usage immediately when data is deleted, triggering a recalc. 3 years ago
Moonchild e092b46d79
Fix cache and increase TTL to 1 hour, make configurable.
Apparently 'usage' is a reserved word which prevented this from working.
Fixed whitespace/indenting too (really need to fix all whitespace
someday)
3 years ago
Moonchild 9f233f50ea
Add rudimentary 5-minute cache to get_storage_total() 3 years ago
wolfbeast c1b3ddfde2 Update readme for release 6 years ago
Moonchild 3ce6eeddfe
Merge pull request #9 from FranklinDM/master
Port PHP7 and cluster port changes across
6 years ago
FranklinDM 3769f80342
Don't strip port from returned weave node 6 years ago
FranklinDM feb449e479
Fix 'Only variables should be passed by reference' notices in PHP7 6 years ago
wolfbeast 269d4da4f6 Un-bust creating new accounts. 6 years ago
wolfbeast 360a494fd4 Store login time of users after successful auth. 6 years ago
wolfbeast d69e27564b Issue #7 part 1: add login field to users table
A standard int suffices to store an epoch timestamp returned by time()
6 years ago
Moonchild e20fc1662a
Update README.md 6 years ago
wolfbeast c545d28ae1 Update readme for release. 6 years ago
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
6 years ago
wolfbeast ca9ae02b0e Remove erroneous over quota message when over min quota but not at max quota yet.
Follow-up to #5
6 years ago
Moonchild b91b3fdbc1
Merge pull request #5 from computersalat/dev
improve Quota handling
6 years ago
ChrisWi f27e734fc0 make Quota configurable, add Soft-/Hard-Quota [Min|Max] 6 years ago
ChrisWi c249a5cf49 rework 'Invalid request' message, don't give too much info about what service is offered 6 years ago
ChrisWi 3d368459e0 update README: fix typos, add missing v013b info 6 years ago
wolfbeast 407cc8d3fa Stop debug spam + increase cap to 35M 7 years ago
wolfbeast 6d4ca91888 Credit update 8 years ago
wolfbeast 06158570c5 Only use "on duplicate key update" insert statement on MySQL connections.
(SQLite does not support this statement)
8 years ago
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.
8 years ago
wolfbeast 540b41055b Replace REPLACE INTO with INSERT INTO, take 2: now without a dumb typo. 8 years ago
wolfbeast 53cde46604 Revert "Replace the REPLACE INTO call for a much less expensive INSERT INTO call. This solves issue #4."
This reverts commit 7439ba61db.
8 years ago
wolfbeast 7439ba61db Replace the REPLACE INTO call for a much less expensive INSERT INTO call. This solves issue #4. 8 years ago
Moonchild 370ac68f88 Update README.md 9 years ago
wolfbeast 7712ec174d Delete account: add auth check. 10 years ago
wolfbeast 3397c87059 Add stub for account removal. 10 years ago
wolfbeast a31d12ed96 Re-word registration messages 10 years ago
balu ad6e57a8c6 Merge pull request #18 from Trellmor/for-balu/changepwd
Password wasn't hashed before saving it in the database
10 years ago
Daniel Triendl b22f18d5e5 Password wasn't hashed before saving it in the database
if the user changed the password in the browser.

Fixes #17
10 years ago
balu 8bbcbd00a1 New version
readme
11 years ago
balu f87c57fa2e Update TODO 11 years ago
balu 3e6ff76fc3 Update TODO 11 years ago
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)
11 years ago
balu b20b5ea640 added missing contibutor (myself) 11 years ago
balu bc576a7058 Merge pull request #12 from Trellmor/bcrypt
Replace MD5 password crypt with bcrypt
11 years ago
Daniel Triendl c6f4f1a801 add bcrypt to settings.php on setup 11 years ago
Daniel Triendl 649fa92bfa Check if BCRYPT const is defined 11 years ago
Daniel Triendl 0030dd14be bcrypt testcase 11 years ago
Daniel Triendl 3eecd85257 bcrypt 11 years ago
balu 221ea8177c Update setup.php
Issue #10
11 years ago
balu aeff7cb167 add hint that guessed server url may be wrong 11 years ago
balu 3cc70411d0 Added ToDo list 11 years ago
balu 228319992f Merge pull request #6 from thedd/master
New variable for the sqlite file location
12 years ago
David 0e53c7a7c1 Created a new variable in config.php and settings.php for the SQLite file 12 years ago
balu 982b704f69 Update README.md
v012 Compatibility update
12 years ago