erikdubbelboer / phpRedisAdmin

Simple web interface to manage Redis databases.
http://dubbelboer.com/phpRedisAdmin/
3.11k stars 666 forks source link

Enhancements in security and viewing。 #57

Closed cherrot closed 10 years ago

cherrot commented 10 years ago

I added 'debug' configuring item (and default to FALSE) to disable keys operation because this is very very slow and may block the redis server. And more, I added custom pagination controlling (by from & to param) , even support zRangeByScore and datetime as zSet's score value (datetime would be converted to timestamp). This is supported by 'cursor' param (cursor could be any of these: index, score, datetime) Even more, If the value is a serialized string. I would automatically unserialize the value.

erikdubbelboer commented 10 years ago

I like all the improvements except for disabling the keys command by default. I think new users wouldn't understand this at first and would be wondering why they don't see their keys listed. I think it should be enabled by default with the option to disable it. Even better would be switching to a scan based solution, but I haven't had time to fix this yet.

cherrot commented 10 years ago

I agree your opinon :) I'll change the default option for that :)