• Bruno Michel's avatar
    Fix the daily number of votes · 47416af8
    Bruno Michel authored
    The daily number of votes is computed every day, via a crontab. It
    updates the accounts, and the account model needs to be valid for the
    change to be applied. But, there was a validator on the length of
    uploaded_stylesheet, and when a user has uploaded a stylesheet, the
    uplodaded_stylesheet field was a mounter uploaded instance, not a
    string, and its length was larger than the allower 255 characters. As
    the uploaded_stylesheet in database is generated by the uploader (code
    on the server), and not controlled from client side, we can safely
    remove the validation on the length, and it should fix the issue.
    47416af8
Name
Last commit
Last update
..
statistics Loading commit data...
account.rb Loading commit data...
banner.rb Loading commit data...
board.rb Loading commit data...
bookmark.rb Loading commit data...
category.rb Loading commit data...
comment.rb Loading commit data...
content.rb Loading commit data...
diary.rb Loading commit data...
forum.rb Loading commit data...
friend_site.rb Loading commit data...
image.rb Loading commit data...
lang.rb Loading commit data...
link.rb Loading commit data...
log.rb Loading commit data...
logo.rb Loading commit data...
news.rb Loading commit data...
news_version.rb Loading commit data...
node.rb Loading commit data...
page.rb Loading commit data...
paragraph.rb Loading commit data...
poll.rb Loading commit data...
poll_answer.rb Loading commit data...
post.rb Loading commit data...
push.rb Loading commit data...
response.rb Loading commit data...
section.rb Loading commit data...
stylesheet.rb Loading commit data...
tag.rb Loading commit data...
tag_list.rb Loading commit data...
tagging.rb Loading commit data...
threads.rb Loading commit data...
tracker.rb Loading commit data...
user.rb Loading commit data...
wiki_page.rb Loading commit data...
wiki_version.rb Loading commit data...