guluc3m / gul-gultalks Goto Github PK
View Code? Open in Web Editor NEWGUL UC3M Technical Conferences Management System
Home Page: http://cursos.gul.es
License: Other
GUL UC3M Technical Conferences Management System
Home Page: http://cursos.gul.es
License: Other
To build the app in production environment and test it locally, use the following command:
$ bundle install --without development
$ rails server [-p $PORT] # Port is optional
Now MySQL is used as DB engine instead of SQLite.
When proposing an event, the checkbox that a speaker can check in order to ask for a certificate has the text appearing below the checkbox itself (even in same row)
As some of you already know, we are working in the app again, fixing some bugs and some other things that needs a good polish, we hope to be ready for the next gig ;-).
Well, an important thing that needs to be revamped is the deploy method. Until now, we were using Capistrano, but some weeks ago I decided to switch to Mina. I find this much more reliable and simpler to be handle for anyone. One of the best things of Mina is the speed.
Mina is faster than Capistrano because this employs only one SSH connection for whole deploy process, instead multiple connections as Capistrano does. In addition, the configuration process is easier than Capistrano too.
If you desire to help, you can contacting me or pull-request :-)
Thanks.
According to the API, the conferences route is /conferences/:id
but the actual is /:id
. We could add this one:
match 'conference', to: 'conferences#show', via: :get, path: '/conferences/:id', id: /\d+/
Since the project uses Friendly URLs, conferences and other models are initialized with friendly
. I can't get them by the ID as the API says.
@conference = Conference.friendly.find(params[:id])
To maintain both URLs, we could do something like this, but dunno if there is a better way:
class ConferencesController < ApplicationController
[...]
def show
# Not a friendly url, just the real ID.
if params[:id].to_i != 0
@conference = Conference.find(params[:id])
else
@conference = Conference.friendly.find(params[:id])
end
The pagination doesn't works as expected. Probably due a early filtering during the retrieving. A clear example is that the magellan is affected by this bug, it should show entire list instead partial pages.
When an event is edited through the edition token (edit/SOMETHINGSOMETHING
), current tags don't appear in the form, making them impossible to edit.
Need to fix the application deploying. Ping @javierhonduco
Undefined local variable or method `wizard_status'
Strange bug in the event model does not allow the create events.
I am using the Gemfile from the develop trunk and It could be due by gems upgrade.
We should rethink how the wicked
gem is being used and maybe try to reimplement it in the "conventional" way rather than using sessions, as they are giving problems most of the times.
Find a way to:
Since Rails 4 uses strong parameters by default and the app started development in 3.x, attributes should be updated to use strong parameters.
Character counters do not work correctly. The counter displays negative values for many fields
I found this tutorial[1]. Well, I think this could be a good way to generate a status list for the events, instead of use a integer as ID. What do you think?
[1] http://richonrails.com/articles/active-record-enums-in-ruby-on-rails-4-1
On latest commit, development branch (default).
Tried
bundle install
bin/rails db:migrate
bin/rails db:seed
as per the instructions in the README.md
Got:
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:abort_if_pending_migrations
/usr/lib/ruby/gems/2.7.0/gems/activerecord-5.1.1/lib/active_record/connection_adapters/sqlite3_adapter.rb:30: warning: rb_check_safe_obj will be removed in Ruby 3.0
rake aborted!
BCrypt::Errors::InvalidHash: invalid hash
Traceback (most recent call last):
bin/rake: invalid hash (BCrypt::Errors::InvalidHash)
bin/rake: undefined method `reject' for nil:NilClass (NoMethodError)
Then, when launching the server with rails server
, the page displays this error:
ActionView::Template::Error at /conferences
uninitialized constant ActionView::CompiledTemplates::ARG
I guest this last error is because it's trying to fetch conferences
from db/development.sql
, which has the tables created, but not populated (because db:seed failed).
Any ideas what could be the cause?
With the aim of improve the app, here go some proposals for future releases:
I don't remember who proposed this field name... but honestly just can say that " speaker_contact_info" is a bad name. I believe that "email" could be better for this purpose. Sorry for the inconvenience. 鈾伙笍
Session secret should be deleted/changed config/initializers/secret_token.rb#L7
The switch from the speaker fields in mobile view is not working (and also appears duplicated)
When sharing a link over Telegram, Whatsapp, Twitter or any other service with link preview, no description about the talk is provided.
In Spanish. I'm too lazy to translate...
Para que vay谩is d谩ndole vueltas un primer borrador de requisitos ser铆a:
gultalks_host/verify?token=TOKEN
Fields that are represented by an enum
in the model are not correctly localized in the Rails Admin panel.
The upgrade to Ruby on Rails 4.2.1 looks like incomplatible with the gem 'activevalidators'. Many errors in mare all validators. Any idea or alternative?
Errors occur upon reaching the last step of the wizard and detailed information has not been provided.
The admin form for events fails (error) before save the updated values.
I know this issue has not a straightforward solution, but we have, IMO, too many gems.
Maybe we can reconsider some of them!
Some sections of the API documentation point to the wrong endpoint, (eg. /conferences
instead of /api/conferences
)
Some ideas that @mvaello, @rmed, and I have been having:
O al menos visible porque se paginen las charlas
I think "act-as-taggable-on"[1] it's a good gem for manage tags.
What do you think?
Under these lines it is described what's left to complete the first stable release:
Revise events form. (WIP)
Event and vote validations. (WIP)
Pagination. (FIX)
Add a better event and conference status system.
Public comments.
Improve mailer. (WIP)
Customize ActiveAdmin.
Fix calendar. (responsive)
Add & update some schema fields.
Misc.
Add social buttons
Improve style & UX
Fix fortunes
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.