Commit Graph

16 Commits

Author SHA1 Message Date
a38e053c1a Added CLI command to create blogs. 2016-11-01 16:47:55 +01:00
f72890cc59 Define standard set of node types 2016-11-01 16:47:55 +01:00
0929a80f2b New data structure for attachments. 2016-11-01 16:47:55 +01:00
8d3c4745aa Remove unnecessary form_schema fields. 2016-10-20 13:05:43 +02:00
3afeeaccd0 Removed permission keys from node type definitions.
This prevents replace_pillar_node_type_schemas() from overwriting existing
permissions.
2016-10-20 13:05:43 +02:00
dd58d4ad04 Created AbstractPillarTest.create_project_admin() function. 2016-09-30 12:54:21 +02:00
40896fc70b Better logging when bad extension class is given.
This was necessary to debug an issue with different unit tests influencing
each other in Attract.
2016-09-20 15:59:39 +02:00
68666f0650 Updated unittest code so that we can create 100% valid projects.
This means also creating a user and groups so that the references are
valid.
2016-09-08 12:03:17 +02:00
a0cc76259e Renamed TestPillarServer to PillarTestServer
TestXXX classes are seen as unit tests by py.test, so anything that's not
a unit test should not be called TestXXX.
2016-08-31 11:29:16 +02:00
2c5dc34ea2 Introducing Pillar Framework
Refactor of pillar-server and pillar-web into a single python package. This
simplifies the overall architecture of pillar applications.

Special thanks @sybren and @venomgfx
2016-08-19 09:19:06 +02:00
ebcb6bc5f8 Added setup.py to allow automated testing.
Also moved the tests directory to top-level, as they shouldn't be part
of the pillar directory.
2016-03-25 11:46:01 +01:00
93439be9ac Moved unit test to its proper spot, and added @httpretty.activate 2016-03-04 18:46:53 +01:00
da601747bb Added mocking of Blender ID with HTTPretty 2016-03-04 18:46:53 +01:00
172e8a8ba0 Fixed bug in validate_token(), it now returns the validation status.
Also separated on-the-fly creation of user in our database into its
own function.
2016-03-04 18:46:53 +01:00
7ca22691eb Added a few unit tests for user authentication.
Far from complete, and we need a way to mock the Blender ID server, so
that we can auth against a well-known, fake set of users.
2016-03-04 18:46:53 +01:00
1e141492a3 Added unit testing support + moved make_unique_username() to module level
Also cleaned up make_unique_username() code to no longer be recursive,
and to correctly handle numerical suffixes ≥ 10.
2016-03-04 18:46:53 +01:00