Giter VIP home page Giter VIP logo

web's Introduction

Code Climate Test Coverage Dependency Status security

Master

CircleCI

Stage

CircleCI

Our live websites

fsektionen.se

  • Follows the master-branch and running on the production database

stage.fsektionen.se

  • Follows the stage-branch and running on a separate database
  • Is okay to merge and force push and to use as a crash course.

Getting started

Head to the wiki to learn how to setup and use the system.


What you should never do:

  • Change files directly on the server (especially running commands as root!)
  • Force-push to master
  • Create commits directly on master

web's People

Contributors

abcd4321 avatar albheim avatar bashubebbe avatar codeyboi avatar davidkrantz avatar davidwessman avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar edde333 avatar fredriklastow avatar gustaphe avatar henrikssn avatar jessicalastow avatar jforberg avatar kingjohanna avatar ldrenth avatar lham avatar lindervii avatar lullebullelukas avatar magsteroh avatar markussq avatar navro avatar olofenglund96 avatar pelicanq avatar rfvcft avatar snelhest1337 avatar spindelman avatar william-lundgren avatar zofz avatar

Stargazers

 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

web's Issues

Notifications

A Notification system for example the Car Rental-module so the one responsible easily is routed to the right place.

At first only for administrative reasons, but eventually more Facebook-like.

Bilbokning: bokningskontroll

En kontroll måste göras om en ny bokning överlappar med en (eller flera) bokning. Har haft lite problem med att det inte blir helt rätt. Finns en del undantagsfall som måste hanteras först osv.

Fel i databas migration

Hej,

Jag mailade lite med er förut idag, och fick länken så jag tänkte titta på hur er kod såg ut.

När jag clonade ner ert repo och skulle köra koden för att titta lite så fick Jag följande fel:

undefined method `exists?' for #<FsekStructure:0x007fb922512268>

Det verkar beror på att det saknas ett underscore här

Inloggning: användarnamn/mejladress

Det ska gå att utöka Devise(det gem som hanterar användare) så att man kan logga in med sin mejladress också.
Problemet uppstod då någon försökte logga in med sin mejl, och endast lyckades logga in efter att lösenord återställts - eftersom att då fyller devise automatiskt i användarnamn.

Står inget i återställningsmejl om att det är användarnamnet som är för inloggning.

HABTM > has_many, through

@jforberg have been speaking about it, for example in #69 .

We should merge from our HABTM table to an actual model, which gives us the ability to actually validate before the join is created.

How do you move the data from the HABTM-join table to a new one?
@fsek/admins

Use deliver_now/deliver_later instead of deliver in rent.rb

DEPRECATION WARNING: #deliver is deprecated and will be removed in Rails 5. Use #deliver_now to deliver immediately or #deliver_later to deliver through Active Job. (called from send_email at /home/travis/build/fsek/web/app/models/rent.rb:123)

Rework registration

  • Create a user system where everyone can register.
  • Require email confirmation
  • Let users confirm their accounts towards medcheck
  • Define guest-user, member, nolla and other roles, perfect together with Cancancan
  • Should be integrated in issue #105 and #109

Bildgalleri: jquery

Just nu är visning uppbyggd på jQuery som heter MixItUp, denna har valt att sluta fungera.

Access Code

I have implemented editing with an access_code on both Bilbokning and Cafebokning (since they allow users without logins).
Should we port this functionality into a separate resource?

We should get some way for non-members to sign up as well, for example this summer we want to allow all the new students to sign up to the website before they turn up in medcheck, perhaps we could build the access_code-feature to involve codes for signing up as well.

Ideas?

@fsek/admins

Kontaktsida

Ändra strukturen till "dragspel" likt det som finns på F.A.Q.

Update ruby version

We are currently running 1.9.3-p194 on the server and I have some problems updating gems. I think this may be due to our ruby version as I do not get the error under ruby 2.1.4

Do you think it is safe to update the ruby version running on the server? @jforberg

Refactor CSS

We need fewer files, would be nice to refactor to scss as well.

Profil: för- & efternamn

Ändra så att profiler har två fält för namn - uppmana folk till att ändra sina data när de loggar in!

Tinyurl typ

Implement a way to create redirect links like http://fsektionen.se/link/undersokning instead of the current www.tinyurl.com/fundersokning.

Wishes from the board.
Any problems with implementing this?
Should you include some nice confirmation or just redirect directly?

Dokument

Refactor and sharpen up the view

Navigation

Bildgalleri: mobilvänligt

Bytte vy för ett tag sedan för att det blev snyggt på datorn och det var efterfrågat av några.

Dock så fungerade det senare inte alls som det skulle på mindre skärmar - vi behöver en ny lösning eller lägga till ett mobilalternativ.

Bildgalleri: fillagring

Just nu ligger bilderna i public (inte optimalt och borde fixas snarast!)

Man kan använda sig av något som heter sendfile för att få servern att endast leverera filer när vi tillåter det. Detta används nu för Dokumentmodulen, vet inte riktigt hur man implementerar det för att ladda alla bilder samtidigt.

Backup: Database

Schedule backup of database for ability rollback and restore.
On production it is currently running on mysql.
Anyone know how to do this?
@fsek/admins

Bug with gem on master.

def value_for(key, strict: true) #:nodoc:from wice_grid, cannot run the rails c on server.

Something has also changed with jquery and the CarRent-module, because it does not work.

Cafebokning: Cafetävling

Ett sätt att hålla koll på Cafetävlingen.
Varje pass som någon jobbar kan man välja att representera ett utskott samt vara med i den individuella tävlingen.
Just nu har vi:

CafeWork:
belongs_to :profile
has_and_belongs_to_many :councils

Profile:
has_many :cafe_works

Council
has_and_belongs_to_many :cafe_works

Individuella pass är inte så svårt, frågan är vad man gör lättast för att t.ex. hitta den som leder den individuella tävlingen.
Jag vet inte riktigt om man kan använda scopes eller något smart ActiveRecord för att köra det direkt i databasen. Annars skulle jag säga att loopa igenom läsperiodens arbetspass och på så sätt räkna.

Tips och idéer behövs!

FactoryGirl rent factory fails lint

When turning on lint for FactoryGirl the factory :rent fails linter with

* rent - Ett fel uppstod: Användaravtal måste anges, Syfte måste anges (ActiveRecord::RecordInvalid)

EU Cookie law

Rails does save cookies for some things (for example, stay logged in (which might not yet be completely implemented in our Devise config)) and since 2012 there is actually a law that you need to inform users that this happens.

So if I am not completely lost I think we should implement something to show this, and I found a gem:
https://github.com/infinum/cookies_eu
What do you think?
@fsek/admins

Eventmodul

Ändra ordet "Ansvarig" till "Upplagt av".

SQL: Text colum can't have default value

Någon har råkat checka in lite trasig kod i vårt schema. Text får inte ha ett defaultvärde i Mysql. Anledningen är att Text är en referenstyp och lagras utanför tabellen.

BLOB/TEXT column 'purpose' can't have a default value: CREATE TABLE rents (idint(11) auto_increment PRIMARY KEY,d_fromdatetime,d_tildatetime,namevarchar(255),lastnamevarchar(255),emailvarchar(255),phonevarchar(255),purposetext DEFAULT '',disclaimertinyint(1) DEFAULT 0,statusvarchar(255) DEFAULT 'Ej bestämd',aktivtinyint(1) DEFAULT 1,council_idint(11),profile_idint(11),commenttext,servicetinyint(1) DEFAULT 0,created_atdatetime,updated_atdatetime,access_code varchar(255)) ENGINE=InnoDB

Better SMTP?

The board would like some kind of web mail interface instead of using the current google-hook-up.

Ideas? Problems?

I looked a bit and think that Roundcube seems nice, also found a guide for Roundcube+Postfix.

Refs:
Roundcube
Postfix+Roundcube

Cancan port

The thread where we discuss the cancan port

Veckobrev:

Lägg till länk till engelska versionen Weektorn.

Which "Läsvecka"?

A way for students to easily check current Läsvecka and perhaps examperiods.

How do you check?
Do you have to create all the weeks before?

Startsidan:

Lägga till en modell som heter "Notis" det är som en nyhet fast mer statiska, dessa ska ha egenskaper som: plats: (startsida), ordning, visningstid(visas mellan två datum), bild, rubrik, text.
En "col-md-7" kan vara lagom i storlek på framsidan.

Nyhetskolumn liknande den som finns idag, lite bredare

Eventlista: en liten rad precis under bilden (som borde bli en slider igen), kort beskrivning av kommande event.

FNU vill kanske ha något(sponsorer eller så) som borde uppdateras också.

Kontaktsida

Lägg till fält för anonyma mejl, t.ex. för Likabehandlingsombud

Synka bättre med utskott,
Council:
has_many :contacts

borde det vara, med bra sätt att visa på utskottssidorna.

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.