• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

andela / ah-shakas / 118
95%

Build:
DEFAULT BRANCH: develop
Ran 10 Oct 2018 11:45PM UTC
Jobs 1
Files 29
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
118

push

travis-ci

FawazFarid
[Feature #160577479] User should be able to create and view their profile (#12)

* Create Profile model with relationship to the User model

* Fix syntax error in the models file

* Create the serializer class to map the the user profile

* Add get and put method in the ProfileAPIView

* Add the urls for getting and updating the user profile

* Add the renderer for the user profile

* Include the profiles app url in the main application urls file

* Override the default update in order to manualy update the user model

* Update the imports in the views

* feat(profile): implement user profile creation and update

- create user profile on user registration
- update user profile

[Delivers #160577479]

* Add the renderer for the user profile

* Include the profiles app url in the main application urls file

* Add username validation in the serializers

* Add the url name to redirect to a specific view

* Add the corresponding status code when getting a user profile

* Add tests for the user profile

* Add permissions.py to handle profileupdates

* Solve syntax errors

* Change from CharField to ImageField

* Change from charfield to imagefield

* Add permission class IsAuthenticatedOrReadOnly

* Update jwt to encode the email in the payload

* Update from django 2.1.1 to django 2.1.2

* Update the jwt token to use email in the payload

* Add authorization features to the tests

* Delete the custom permission file

* Update the image_url field to handle URLs

* Delete unncessary fileds from the serializers

* Update the permission classes

* Update the renderers file

* Pdate the pipfile

* Make migrations

* Refactor code and add docstrings

* Add a base model class to handle timestamped models

* Inherit from the TimeStampedModel class created in the core

* Associate the profile with a time stamp for creation and updation

* Make the necessary migrations

352 of 429 relevant lines covered (82.05%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 118.1 10 Oct 2018 11:45PM UTC 0
82.05
Travis Job 118.1
Source Files on build 118
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #118
  • f3839ea2 on github
  • Prev Build on develop (#56)
  • Next Build on develop (#155)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc