Giter Club home page Giter Club logo

kitsu-tools's People

Contributors

ainam avatar btf064 avatar cybrox avatar dna avatar epictek avatar erengy avatar eschon avatar gnawf avatar infrequent avatar inket avatar jaflo avatar joshfabian avatar kustosan avatar megagm avatar mikunj avatar milk avatar nashby avatar nuckchorris avatar pathway27 avatar pchen4south avatar pixeldesu avatar qgustavor avatar skcihmit avatar tivervac avatar toyhammered avatar trmcnvn avatar ubermouse avatar vikhyat avatar wopian avatar zogstrip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kitsu-tools's Issues

Improve cover photo upload

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:

http://forums.hummingbird.me/t/upload-cover-preview/8048

Link profile "Message" button to Discourse PMs

This will mainly require modifications to the Discourse plugin, I'm still creating this here to keep track of everything.

  • Add an endpoint on the Discourse side that will open a new private message.
    • If you have already created a message to this user, take you to the bottom of that conversation.
    • Otherwise open the user's forum profile and show the composer with a new PM open.
  • Link to this endpoint from the message button.

Header mobile issues

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.

Make anime IDs permanent

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:

  • Make sure slugs don't ever change. This is likely the easiest solution, and it's compatible with APIv1 too. But it will eventually result in mismatched title-slug pairs for entries with changed titles, which could potentially confuse users and affect SEO.
  • Expose numeric anime IDs to the outside world via the API. Seems like it's already the case for other entities such as characters, people, quotes and reviews, so why not?
  • If you'd like to keep the integers internal after all, generate a UUID or a similar identifier for each anime entry and expose them instead. Also make sure these values stay unchanged.

xmllint MAL import files before processing

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.

Optimize story rendering

Right now it is super inefficient -- rendering each story takes upto 80-100 ms. Fixing this will let the homepage load a lot faster.

li class dropdown notifications bug

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.

hb-bug-report-photo

Fix changelog

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.

Wiki based local env setup testing

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.

Clear misleading anime synopses

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

Inconsistent Notification style

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.

Standard:

In a compressed window:

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.

Fix rails_admin or remove it

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

Forum Avatars rendered as 45px instead of 80px

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">

Stop hard-coding isAdmin functions

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

Handling two-col layout on mobile

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.

Header changes between pages

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.