Coder Social home page Coder Social logo

iskylims_drylab's Introduction

iskylims_drylab's People

Contributors

jlgarciapacheco avatar luissian avatar saramonzon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iskylims_drylab's Issues

Problem in generation of pdf with images

Warning in httpd log that could be related:
[Wed Jun 20 17:18:36 2018] [error] [client 10.15.60.49] File does not exist: /srv/iSkyLIMS/static/iSkyLIMS_common_static/vendor/swiper/js/maps
[Wed Jun 20 17:18:44 2018] [error] [client 10.15.60.49] /srv/iSkyLIMS/virtualenv/lib/python3.6/site-packages/weasyprint/text.py:28: UserWarning: There are known rendering problems with Cairo <= 1.14.0, referer: http://flavia.isciii.es/drylab/service_request_internal_sequencing
[Wed Jun 20 17:18:44 2018] [error] [client 10.15.60.49] warnings.warn('There are known rendering problems with Cairo <= 1.14.0'), referer: http://flavia.isciii.es/drylab/service_request_internal_sequencing
[Wed Jun 20 17:18:45 2018] [error] [client 10.15.60.49] /srv/iSkyLIMS/virtualenv/lib/python3.6/site-packages/weasyprint/fonts.py:43: UserWarning: @font-face support needs Pango >= 1.38, referer: http://flavia.isciii.es/drylab/service_request_internal_sequencing
[Wed Jun 20 17:18:45 2018] [error] [client 10.15.60.49] warnings.warn('@font-face support needs Pango >= 1.38'), referer: http://flavia.isciii.es/drylab/service_request_internal_sequencing
[Wed Jun 20 17:18:46 2018] [error] [client 10.15.60.49] File does not exist: /srv/iSkyLIMS/static/iSkyLIMS_common_static/vendor/swiper/js/maps

Drylab/services statistics/services requested: repeted graphs?

when asking for statistics for a given user, there seems to be two instances of each of the following graphs in the provided information:
-service requested by center
-service requested by area

Ponder to choose one representation of each and dump the other.

Access to "resolution form for Service" from a "delivered" service

When pulling information from menu manage services >> search service, about service "SRVCNM081",
the "display service" view includes on the right hand side a pannel named "Allowed actions on SRVCNM081" with a button "Add resolution" underneath.
Clicking on that button leads to the following formulaire.
Does it makes sense if the service has been already delivered?

resolutionform

(BLOCKS access to DRYLAB) Attribute error at /drylab/: 'NoneType' object has no attribute 'strftime'

Traceback:

File "/srv/iSkyLIMS/virtualenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
35. response = get_response(request)

File "/srv/iSkyLIMS/virtualenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
128. response = self.process_exception_by_middleware(e, request)

File "/srv/iSkyLIMS/virtualenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
126. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/srv/iSkyLIMS/virtualenv/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
21. return view_func(request, *args, **kwargs)

File "/srv/iSkyLIMS/drylab/views.py" in index
44. service_delivery_date = Resolution.objects.filter(resolutionServiceID = service).last().resolutionEstimatedDate.strftime("%d %B, %Y")

Exception Type: AttributeError at /drylab/
Exception Value: 'NoneType' object has no attribute 'strftime'

Coded unprotected

Resolution object doesn't exit when first if in the function doesn't exit, protect the code so no ugly error is prompted to the user.

estimated_date = resolutions.resolutionEstimatedDate.strftime("%d %B, %Y")

Creating new account issues

If you submit an incorrect new account form, there is a broken link to the image it is supposed to be shown. Happened when "passsword1 != password2".

Also, passwords requisites include "Your password can't be a commonly used password" and "Your password can't be too similar to your other personal information". Is this being checked at all? Dummy passwords as "password1234" are still accepted.

Feature - Admin privileges: view with services recorded and in progress.

  • Form for resolution. Recorded services go to form for save all information in resolution model. Once resolved, service pass to state approved or rejected, mail is sent to user and service pass to queued state.
  • Queued services can be selected and change state to in progress.
  • Queued services can be selected for delivery and form for delivery model fields can be completed. Mail is sent to user with all the information.

Service selection checkboxes

You can uncheck checkboxes of the subdirectories containing your request. Would the service request work anyway?

#Statistics

  • Services requested by date and by user (StartDate, EndDate, User) Shows all services order by the user
  • Services ordered by users (StartDate, EndDate) Shows services per user
  • Services completed, ongoing, not started (StartDate , EndDate) Shows all services and their state

More to go :shipit:

Issues modifying account details

Same broken link image as when creating new account.

When modifying your account details, you are asked to modify your password too.

Old password can be updated to the same password. This can be a security issue if in the future users are asked to change their passwords periodically or after a security breach.

After modifying your account details, you are not redirected to the previous page, nor the home page.

After modifying your account details, you are automatically logged out.

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.