Code Monkey home page Code Monkey logo

tempvs's People

Contributors

ahlinist avatar skajushka avatar

Watchers

 avatar  avatar  avatar

tempvs's Issues

Allow multiple sources per item

  • Item-source relationship in domain-model should be changed from one-to-one to one-to-many.
  • Source tab on item/show page should contain a list of button-styled links to distinct sources and an "add source button."
  • sourceDropdownPopulator script should be revised and deleted if no further usage is supposed

Set up role-based access to library/sources functionality

Create and add to bootstrap (demo data set) 3 hierarchical roles:

  • archivarius
  • scribe
  • contributor

Limit functionality access by role:

  • Any contributor and scribe action should be available for archivarius (assigning scribes as well)
  • A scribe should be able to edit sources, delete images + everything avaialbe for contributor
  • A contributor should be able to add sources and images

Reorganize Image hierarchy

ItemImage and SourceImage should be created. They must implement a BasePersistent trait (see #4 ) and inherit at Image class. Image class should be moved to src/main/groovy but remain non-abstract to be included into Profile class as avatar.

Update domain classes constraints

ImageInfo length: 255
Comment text length: 2000
Item/ItemGroup/Source/Passport names: 35
Item/ItemGroup/Source/Passport descriptions: 2000
User email/password: 35
Profile firstName, lastName, nickName, clubName, location, profileEmail, profileId: 35

Create a 'SourceType' enum

Sources should be classified also by types as:

  1. Written
  2. Graphic
  3. Archaeological

Item Type enums should be renamed to ItemType.

Sources should be grouped by source types on UI.

Improve email messages content

Make more user-friendly content of the following email messages:

  • User registration
  • User email change
  • Profile email change

Exception when navigating to /auth

When logged in and navigating to /auth

ERROR StackTrace - Full Stack Trace:

2018-03-09T00:00:26.152329+00:00 app[web.1]: org.grails.taglib.GrailsTagException: [views/layouts/main.gsp:103] Error executing tag sec:ifLoggedIn: [views/layouts/main.gsp:40] Error executing tag <g:link>: Cannot get property 'userProfile' on null object

2018-03-09T00:00:26.152357+00:00 app[web.1]: at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

2018-03-09T00:00:26.152395+00:00 app[web.1]: at org.grails.gsp.GroovyPageWritable.writeTo(GroovyPageWritable.java:82)

2018-03-09T00:00:26.152454+00:00 app[web.1]: at grails.plugin.springsecurity.web.UpdateRequestContextHolderExceptionTranslationFilter.doFilter(UpdateRequestContextHolderExceptionTranslationFilter.groovy:64)

2018-03-09T00:00:26.152491+00:00 app[web.1]: at org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)

2018-03-09T00:00:26.152514+00:00 app[web.1]: at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)

2018-03-09T00:00:26.152533+00:00 app[web.1]: at org.grails.gsp.GroovyPage.invokeTag(GroovyPage.java:415)

2018-03-09T00:00:26.152555+00:00 app[web.1]: at groovy.lang.Closure.call(Closure.java:408)

2018-03-09T00:00:26.152564+00:00 app[web.1]: at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

2018-03-09T00:00:26.152584+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2018-03-09T00:00:26.152618+00:00 app[web.1]: at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

2018-03-09T00:00:26.152656+00:00 app[web.1]: at org.grails.taglib.TagBodyClosure.captureClosureOutput(TagBodyClosure.java:102)

2018-03-09T00:00:26.152685+00:00 app[web.1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2018-03-09T00:00:26.152723+00:00 app[web.1]: at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)

2018-03-09T00:00:26.152764+00:00 app[web.1]: at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.groovy:64)

2018-03-09T00:00:26.152795+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

2018-03-09T00:00:26.152837+00:00 app[web.1]: at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

2018-03-09T00:00:26.152892+00:00 app[web.1]: at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)

2018-03-09T00:00:26.152921+00:00 app[web.1]: at org.grails.taglib.TagBodyClosure.executeClosure(TagBodyClosure.java:200)

2018-03-09T00:00:26.152948+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)

2018-03-09T00:00:26.152970+00:00 app[web.1]: at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)

2018-03-09T00:00:26.152986+00:00 app[web.1]: at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)

2018-03-09T00:00:26.153009+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)

2018-03-09T00:00:26.292950+00:00 heroku[router]: at=info method=GET path="/assets/application-6b742c0c767ed6b5c6a8e2923da9c949.js" host=dev.tempvs.club request_id=86836f41-ba15-49d2-9720-7c845e592a79 fwd="46.216.21.94" dyno=web.1 connect=0ms service=10ms status=304 bytes=119 protocol=http

2018-03-09T00:00:26.153083+00:00 app[web.1]: at groovy.lang.Closure.call(Closure.java:414)

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.