Code Monkey home page Code Monkey logo

haskellers's People

Contributors

amitaibu avatar danse avatar folone avatar geraldus avatar jbarberu avatar kerscher avatar mrkkrp avatar nubis avatar psibi avatar simg avatar snoyberg avatar sol avatar stevenspasbo avatar tippenein 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

haskellers's Issues

Some configuration file is missing

When trying to run a development instance via stack exec -- yesod devel, after some successful operations the server fails and it prints the following lines:

devel.hs: InvalidYaml (Just (YamlException "Yaml file not found: config/db/aws"))
Exit code: ExitFailure 1

Indeed, i do not have any config/db/aws.yml file. Probably something changed in the installation process, also because i cannot find the files referred at point 6 of the installation instructions. How to set up a development instance?

OpenID login uses delegate identifier

Signing in with OpenID incorrectly uses the delegate identifier rather than the actual identifier. For example, I signed in with 'http://groovie.org/', my own website that uses a delegate under myopenid.com for the signin.

My 'http://groovie.org/' should be used as the OpenID identifier, so that I am free to change delegates if I choose, etc. however, Haskellers uses the delegate identifier instead which is problematic if I should change delegates and forget about the bug here.

Since existing logins are already associated with delegate identifiers, a way to fix this without impairing existing logins would be to allow OpenID authentication, and look for accounts in the system with either the delegate name or the actual one typed in to begin with, and add the non-delegate one to the users profile. New users signing in will not need the delegate identifier added, and existing users tied to a delegate identifier will be 'upgraded' on login.

Remove confusing attributes in 'config/models' file

Please see second half of this discussion for background:

yesodweb/yesod#1098

In short, this file:

https://github.com/snoyberg/haskellers/blob/master/config/models

is very confusing because it contains a lot of obsolete entity attributes, so @gregwebs asked me to open this issue. Is it possible to remove all the confusing attributes like Ask, Desc, In, Gt, and others?

Since Haskellers site is sort of example (at least I use it as a reference) for Yesod developers, it would be very desirable to keep it understandable. I, for instance, have read most part of Yesod book, but when I started to learn how Haskellers works, I got strong impression that Yesod has a lot of esoteric, undocumented features not explained in Yesod book or documentation, mainly because of this file.

Unable to send verification link email

I have tried several times today to send the verification link email, but each time I get an Internal Server Error:

StatusCodeException (Status {statusCode = 400, statusMessage = "Bad Request"}) [("x-amzn-RequestId","f666844b-62ab-11e3-ac10-f7fa825e6e04"),("Content-Type","text/xml"),("Content-Length","349"),("Date","Wed, 11 Dec 2013 21:34:05 GMT"),("X-Response-Body-Start","<ErrorResponse xmlns=\"http://ses.amazonaws.com/doc/2010-12-01/\">\n <Error>\n <Type>Sender</Type>\n <Code>RequestExpired</Code>\n <Message>Request timestamp: Wed, 11 Dec 2013 21:28:25 +0000 expired. It must be within 300 secs/ of server time.</Message>\n </Error>\n <RequestId>f666844b-62ab-11e3-ac10-f7fa825e6e04</RequestId>\n</ErrorResponse>\n")] (CJ {expose = []})

What is the status of tests here and which strategy would you suggest to restore their functionality?

I am afraid that tests here are not working. When i run stack test, it fails with the following error:

tests/Import.hs:13:2: lexical error at character 'i'

Which is caused by what i think is a conditional compilation directive here. If i comment that directive out, i see a very long list of errors due to missing dependencies for tests, like in:

/Users/francesco/repos/haskellers/tests/Settings.hs:28:8:
    Could not find module ‘Text.Hamlet’
    It is a member of the hidden package ‘shakespeare-2.0.5’.
    Perhaps you need to add ‘shakespeare’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Besides this, it seems that the content of tests mirrors the content of the root folder. Maybe the only true test there is tests/HomeTest.hs. So i am not sure whether this works or ever worked. To me it seems like there was a plan to do something with all these copied files, but then the plan was abandoned.

So, where to go from here? Maybe it would be a good idea to just keep HomeTest and delete all the rest, leaving room for new tests to start from scratch. I am afraid that some problem might still persist though, due to the dependencies missing in the test section of the cabal file. Hopefully there is some goodness coming from Slack which can help us with this.

What is purpose of ‘entities’ file?

I'm having hard time understanding purpose of entities file. You have config/models and that's what is used in Models.hs, however it looks like entities:

  1. …is never used in source code according to grep.
  2. …is older version of config/models(?)

Could we just remove entities file to avoid confusion?

Error when trying to install Haskellers locally for educational purposes

cabal install fails with:

Building haskellers-0.0.0...
Preprocessing library haskellers-0.0.0...
cabal: can't find source for SESCreds in ., dist/build/autogen
Failed to install haskellers-0.0.0

Would it be possible to provide a "safe" version of SESCreds so I can get my local install working?

Allow user to choose their own profile image

As now the only choice you have is to use gravatar, which for a number of reasons (not wanting to use a single profile pic for x sites, etc.) may not be the best choice.

So an idea would be to allow users to uplod their own profile pic if they want so.

Internal Server Error when trying to verify email

I just tried to verify my email adress and got the following error after pressing "send verification link":

SESException (Response {statusCode = 400, responseHeaders = [("x-amzn-RequestId","0aeeef1f-1757-11e1-a9c8- 4f1da61874db"),("Content-Type","text/xml"),("Content-Length","349"),("Date","Fri, 25 Nov 2011 11:17:20 GMT")], responseBody = Chunk "<ErrorResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/\">\n \n Sender\n RequestExpired\n Request timestamp: Fri, 25 Nov 2011 11:11:36 +0000 expired. It must be within 300 secs/ of server time.\n \n 0aeeef1f-1757-11e1-a9c8-4f1da61874db\n\n" Empty})

Internal Server Error when trying to delete my profile

SqlError {sqlState = "23503", sqlNativeError = 7,
sqlErrorMsg = "execute: PGRES_FATAL_ERROR: ERROR:  update or delete on table
\"Haskellers__User\" violates foreign key constraint \"Haskellers__Message_from_fkey\"
on table \"Haskellers__Message\"\nDETAIL:  Key (id)=(850) is still referenced from table
\"Haskellers__Message\".\n"}

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.