hummingbird-me / kitsu-tools Goto Github PK
View Code? Open in Web Editor NEW:hammer: The tools we use to build Kitsu, the coolest platform for anime and manga
Home Page: https://kitsu.io
License: Apache License 2.0
:hammer: The tools we use to build Kitsu, the coolest platform for anime and manga
Home Page: https://kitsu.io
License: Apache License 2.0
I'm currently checking if the local dev environment setup with the given instructions works fine.
Running into the following errors when starting the new test machine (Win/Ub VM inst.):
14:16:42 unicorn.1 | config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:
14:16:42 unicorn.1 |
14:16:42 unicorn.1 | * development - set it to false
14:16:42 unicorn.1 | * test - set it to false (unless you use a tool that preloads your test environment)
14:16:42 unicorn.1 | * production - set it to true
[...]
14:16:42 unicorn.1 | :6379/0/cache (URI::InvalidURIError)vm/rubies/ruby-2.1.2/lib/ruby/2.1.0/uri/common.rb:176:in `split': bad URI(is not URI?): redis://localhost
config.eager_load
is set in all environment files.
The test machine is running ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
A redis instance is also running (redis-server start/running, process 1031
)
Will have to look into this later this week.
When I click remove on my activity, it removes everything in its column.
Reference:
http://forums.hummingbird.me/t/removing-activity-removes-all-activity-in-that-section/8249
Building on this idea here, I'm wondering if it can be implemented using this jquery plugin. There's an example here http://www.smoothdivscroll.com/#quickdemo
Currently, images are just stretched, which can look pretty bad on smaller screens / mobile. Also, the cover breaks the mobile design completely.
Reference:
http://forums.hummingbird.me/t/cover-pics-are-stretched-in-the-forum-activity-page/5385/4
Hi, i noticed a curious bug today.
When we try to search the word "Strange", we have the follow error message "We're sorry, but something went wrong."
As a web dev, i don't understand why the search process is crashing for this string ...
I use the last version of Firefox and i realized some "slowdown" on Hummingbird.
Thanks for reading.
Reference:
http://forums.hummingbird.me/t/bug-when-we-search-strange/9072
Currently the avatars in the notification dropdown are using the original size rather than the processed size.
http://cl.ly/image/3D1c1k0K1r2y/Screen%20Shot%202014-06-13%20at%209.53.38%20PM.png
We should handle slug generation ourselves.
On the forum threads user's avatars are rendered as 45px by 45px
but are made to fit the 80px by 80px
avatar box.
<img width="45" height="45" src="/user_avatar/forums.hummingbird.me/wopian/45/12854.png" class="avatar" title="wopian">
Or at least settle on one method for determining whether somebody is an admin lol
You check emails in the User model, but you check username in the CurrentUserController
Ideally, you should probably be storing this in a column in the Users table
We don't really use it anyway.
num is being returned as null.
Example: http://hummingbird.me/user_infos/Kenshii
File involved: app/models/user.rb
Also, are "updated_at" or "description" needed?
Edit: Alright, cool :)
Rails admin appears to be broken, which is throwing a bit of a wrench in my work.
Can't mass-assign protected attributes for Quote: user_id, positive_votes, substory_ids
Happens whenever I try to add anything to the database, which sucks, because the lack of a database is most of what causes other errors.
Presumably this error would be fixed by the switch to strong parameters, but that would likely mean some serious overhauling: what do we do until then? Manual SQL queries?
(Or am I doing something wrong here?)
Also, why do Quotes have substories when they aren't stories? o_o
Need to add a has_many association on the anime model with dependent: :destroy.
Be sure to also add a test for this.
In standard full window mode the notification icon is grey until a notification is present, but when the header re-adjusts for the compact style, the notification icon remains orange.
I don't think it's needed, but 64 bit Windows, Chrome.
Sorry about the crime of a desktop also, it's a bit offensive.
The discussion at issue #42 reminded me of something that has been bothering me for a while. Synopses of some anime begin with "No synopsis has been added for this series yet", which is the default text at MyAnimeList. This makes it obvious where the data came from, and it's misleading as it's not actually possible to click on "Click here".
Example:
http://hummingbird.me/anime/ojamanga-yamada-kun-movie
The error pages that are part of the application and the ones returned by Cloudflare need to be consistent.
http://forums.hummingbird.me/t/api-returning-html-instead-of-json-with-certain-status-codes/9339
The current mobile style only displays the right side of the user profile and dashboard.
Just having the left column hidden on mobile devices is definitely not a solution.
The scroll bar is set to be always shown which is unnecessary and quite ugly.
Post actually contains fix.
Reference:
http://forums.hummingbird.me/t/update-dropdown-scrollbar-always-shown/9014/3
Right now it is super inefficient -- rendering each story takes upto 80-100 ms. Fixing this will let the homepage load a lot faster.
Title. The dashboard will always link you to the first post of a thread when it should link you to the post you last read(if you had visited the thread prior).
Reference:
http://forums.hummingbird.me/t/dashboard-doesnt-respect-last-read-position-for-threads/9205
Pretty much title.
2 requests are sent to /notifications when only 1 is necessary.
Also, the requests are sent even if not logged in.
I didn't like my cover's position so I clicked the upload button to reposition it but in doing so I found that the preview window had disappeared. Only when selecting a different file does it return and only then can the previously uploaded picture be previewed.
Side note: Can the preview box be made bigger? The one provided is too small to judge and doesn't include what's displayed (profile pic, name, gradient). Perhaps the crop box can direct the user back to their library (no refresh) and use the upload button for confirmation?
Reference:
This is a continuation of the issue described at this topic. I'm currently unable to release Taiga with Hummingbird support; its local database gets corrupted with duplicate entries and such because of this.
From what I gathered, Hummingbird's database uses incremental integers as primary keys for anime entries, but the application prefers to use slugs, with the help of FriendlyId. However, the fact that IDs can change over time without notice makes things awfully difficult for API users. I believe that IDs must be constant, and any kind of workaround would be a non-solution.
Possible solutions that come to mind:
This will mainly require modifications to the Discourse plugin, I'm still creating this here to keep track of everything.
Might also want to get rid of structure.sql once this is done.
Be sure to update it in the Discourse configuration at the same time.
It's holding us back from upgrading.
Looks like the avatar hook between main site ans forums is broken.
As a reminder for this: http://forums.hummingbird.me/t/restricted-to-use-gravatar-i-sincerely-refuse/10249/
Any assets that don't need to be digested should be in the public/ folder.
Currently when an import fails due to invalid UTF-8 characters in MAL backups I manually run the following command to generate a clean import file:
xmllint animelist_1394048377_-_3317493.xml --format --encode utf-8 | gzip > animelist_fixed.xml.gz
The new ansible deploy script installs xmllint on the server so it should be done automatically for all imports.
It's still visible on all pages where it shows up, but does nothing when you're not signed in.
Reference:
http://forums.hummingbird.me/t/hide-update-button-when-not-signed-in/9271
class ChangelogsController < ApplicationController
def index
# DEVNOTE: This is not really a solution, will eventually
# need to rewrite the PHP script to ruby.
# This will need to be cached, don't really know how to
# realize that yet but this works as a temp solution.
data = open("http://hb.hummingboard.me/hbapi.php").read
render json: data
end
end
The changelog doesn't seem to be working properly. Is the PHP script configured to another repository, @cybrox?
Or perhaps we should remove this entirely, now that Hummingbird is open source.
When I click the plan to watch button on an anime in the recommendations page, it just constantly loads and won't add it to my plan to watch.
For reference:
http://forums.hummingbird.me/t/cant-add-anime-from-the-anime-recommendations-page/10332
When changing from tracking to regular/muted/etc. I get this bug.
Same thing also happens on top of the latest page.
Reference:
Something similar to the community widget loading state would be great.
Operating System: Windows 7.1
Browser: Google Chrome Version 35.0.1916.153 m
Screen Resolution: 1600x900 (17.3" HP dv7 notebook)
Bug description: Logged into the website a few hours prior and the issue was not occuring, now once logged in the notification icon sits against the top of the website. Most likely a bug in the css.
Now that you use both TravisCI and CodeClimate, you should integrate them so that test coverage is included in your code quality.
Y'know, so that your quality will diiiiiiiiip to zero.
Hi there,
I have meant to submit this to the forums for some time but didn't get around to it.
The header bar changes between Dashboard and Anime.
The font changes and the Update option on the bar disappears. If I knew more about Ruby I would submit a pull request myself but I don't know where to look for this problem.
Thanks
Definitely something that needs to be done.
The header is not mobile optimized and using the site on mobile is a pain in the ass due to it not having all the menu options available.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.