Git Product home page Git Product logo

emuform's Introduction

EMUForm

Join the chat at https://gitter.im/SMERM/EMUForm Build Status Code Climate Test Coverage Inline docs Issue Count

Form for EMUFest submissions

If you are getting bored, feel free to help. Here is our TODO list.

PLEASE NOTE: if you want to test mail send/receive in the development environment, please install (and then run) mailcatcher, like so:

$ gem install mailcatcher
$ mailcatcher

then, as described in the mailcatcher documentation, you may check the testing mail sent pointing your browser here.

License

EMUForm - submission form software for the EMUfest Festival Copyright (C) 2016 SMERM Group

Released under the GNU GPL v.2.0 License.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

emuform's People

Contributors

nicb avatar grammaton avatar gitter-badger avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar  avatar  avatar

Forkers

gitter-badger

emuform's Issues

on WORKS/_FORM

    <div class="field">
      <%= f.label :category %><br>
      <%= f.collection_select :category_id, Edition.current.categories, :id, :full_title, prompt: true %>
    </div>

print NOTHING

work edit view/form need to be refactored

Work edit form is quite different from the new form in that you already have selected stuff which might need to be changed etc.

As of now, this requires a pretty substantial refactoring otherwise it won't work.

Move all forms to formtastic?

formtastic seems to be pretty promising for complicated forms. Maybe we should investigate this and other tools to make our life easier.

all jquery(...).js not works

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery.iframe-transport.js, line 0)

Get me the keys!

I am trying to make the social login work with facebook, twitter etc. (related to #10 and #15) but maybe the code is a bit old the APIs have changed or whatever I am totally unable to get the proper keys myself. HEEELP!

The keys should all go in a file in config/social_keys.yml like so:

#2015-07-23 RICHARD:
# THIS IS A SAMPLE FOR social_keys.yml which is git-ignored as it should be, because it will have your keys in it.
# REMEMBER TO COPY THIS FILE TO social_keys.yml AND CHANGE THE KEYS IN THERE TO MATCH YOURS.
development:
  facebook_key: '1667484636870927'
  facebook_secret: 'I dont have a secret for this :-('

  twitter_key: "YOUR_KEY"
  twitter_secret: "YOUR_SECRET"

  github_key: "YOUR_KEY"
  github_secret: "YOUR_SECRET"

  linkedin_key: "YOUR_KEY"
  linkedin_secret: "YOUR_SECRET"

  google_key: "YOUR_KEY"
  google_secret: "YOUR_SECRET"

production:
  facebook_key: '1667484636870927'
  facebook_secret: 'I dont have a secret for this :-('

  twitter_key: "YOUR_KEY"
  twitter_secret: "YOUR_SECRET"

  github_key: "YOUR_KEY"
  github_secret: "YOUR_SECRET"

  linkedin_key: "YOUR_KEY"
  linkedin_secret: "YOUR_SECRET"

  google_key: "YOUR_KEY"
  google_secret: "YOUR_SECRET"

Missing Data

Account/New Author

  • First author precompiled by owner data
  • telephone number
  • location --> addresss, city, zip code, state/prov/region (string) , country (tendina)

Authors

  • Nationality
  • Role

Works

  • Category ID
  • [ ]

Category

  • Category
  • Short description
  • Long description

Add role and context objects

contexts; music, text, video, performance, etc.
roles: author, etc.

Note: this implementation is too complicated (the relationship between them is many-to-many. Let's do a simpler one right now.

MANDRILL for mailing

Is a part of MailChimp that we use for mailing list. It could simplify the mail workaround.

on EDIT WORKS

there is not possibility to add other files. There should be.

Some CSS bugs

There are some death CSS pointer like:

class='work_title'

find a way to search it, like with a validator

role as a nested resource of author (instead of a three-way many to many)

At the end of the day, it is better that:

  1. the relationship between works, authors and roles is asymmetrical (instead of a symmetrical one that implies a three--way many-to-many relationship with the AuthorWorkRole table, which is almost unmanageable
  2. true, this becomes a deeply nested architecture which is frowned upon in the rails world, but I think things are anyway clearer this way.

Thus: at the end of #34, the next step is to nest roles into authors. Therefore, the user journey will become:

  1. Account adds a new work
  2. Account selects one or more authors along with the work created (should be mandatory, but how is it to be done, since these relationships are many-to-many?)
  3. by selecting each Author, Account has to decide upon the role and/or roles (this should be mandatory too, if we can figure out how to do it mandatory)

sign up procedure has some problems

We need to make a capybara test upon failing sign up procedures. There are no flash notices, thus it is difficult to understand what is going on. Furthermore: it's a bit funny. Signing in requires an e-mail but then the e-mail is not reported in the inner form.

Author age

Author shouldn't be younger of 18 years old

on WORKS/_FORM

  <div class="actions">
    <%= f.submit 'Select author(s)' %>
  </div>

The listing page sucks.

The listing of works is not properly agenced. Also, we should think about who exactly should be able to see this page (it should not be in the common routing mechanism).

send me password reset has some problems

We have some reports (@micsuperfly, #47) that the password reset has some problems (though the problems themselves are not specified).

We should:

  1. create a capybara features test to check the password reset procedure thoroughly
  2. fix the problems :-)

Add Edition object/table

The editions table should contain the following fields:

  • :year, :null =› false, :uniq =› true
  • :title, :null =› false
  • :introduction_en,
  • :introduction_it

A has_many/belongs_to' relationship should be added with the Work object

This should have a default class method which reads a config/editions.yml configuration and caches the default edition for every year

upload error

Encoding::UndefinedConversionError in WorksController#upload_file

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.