Resource icon

Seeder: test data generator 1.0.0 beta 15

No permission to download

Sim

Well-known member
Licensed customer
Sim submitted a new resource:

Seeder: test data generator - Test data generator for development installs

Seeder fills a development forum with realistic test content, and removes every row of it again.

It is for add-on developers who need a forum with members, dated threads, conversations, resources and the rest to test against. It is not for a live forum.

This is a beta​


  • The classes your own seeders and factories build on may still change before 1.0. Their namespace will not.
  • It has been run beside a few dozen add-ons, not beside yours....

Read more about this resource...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 2

1.0.0 Beta 2 adds forum types, search forums, polls, sticky threads, resource discussion threads, media comments and widgets.

Nothing in Beta 1 has changed its name or its behaviour, and there is no upgrade step: upload the files and upgrade as usual.

New​

  • Forums of any type. forum_type on the Thread seeder makes an article, question or suggestion forum with threads of that type, and forum_types=1 on...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 3

1.0.0 Beta 3 adds administrators, the admin log, members who hold permissions, and crawler user agents.

Nothing from Beta 2 has changed its name or its behaviour, and there is no upgrade step: upload the files and upgrade as usual.

New​

  • Administrators. admins on the User seeder makes members who are administrators, with the administrator record XenForo keeps. In a factory...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

1.0.0 beta 4

1.0.0 Beta 4 adds IP logs, members' histories - the change log, username changes and rejected registrations - and the moderator log.

Nothing from Beta 3 has changed its name, and there is no upgrade step: upload the files and upgrade as usual. One thing behaves differently: see Worth knowing.

New​

  • IP logs. ips=1 on the User seeder gives every member an IP log, as XenForo writes one while a member uses the...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 5

1.0.0 Beta 5 adds permissions on a forum, so seeded members can fall into several permission combinations.

Nothing from Beta 4 has changed its name or its behaviour, and there is no upgrade step: upload the files and upgrade as usual.

New​

  • Permissions on a forum. UserGroupFactory::new()->grantingOn($forum, ['forum' => ['viewOthers' => 'deny']]) gives a user group its own permissions on one forum or other node, as the control...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 6

1.0.0 Beta 6 adds categories and forums inside forums, so a run can build a whole forum tree.

Nothing from Beta 5 has changed its name or its behaviour, and there is no upgrade step: upload the files and upgrade as usual.

New​

  • Categories. CategoryFactory makes a category, and every forum factory now has in($parent): ForumFactory::new()->in($category), or ->in($forum) for a sub-forum. It...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 7

1.0.0 Beta 7 can offer seeded user upgrades for sale, and says so when a factory is used where nothing records what it makes.

Nothing from Beta 6 has changed its name or its behaviour, and there is no upgrade step: upload the files and upgrade as usual.

New​

  • User upgrades offered for sale. UserUpgradeFactory::new()->purchasable(), or -p purchasable=N on the UserUpgrade seeder, lists an upgrade among...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 8

1.0.0 Beta 8 seeds the job queue: weeks of failed jobs, and jobs waiting that will never run.

Nothing from Beta 7 has changed its name or its behaviour, and there is no upgrade step: upload the files and upgrade as usual.

New​

  • Failed jobs. seeder:run Job, or FailedJobFactory, writes the history XenForo 2.3 keeps when a job throws: a few faults that recur and many one-offs, thrown from XenForo's code and the libraries...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 9

1.0.0 Beta 9 seeds profile posts, and can have every member given to a poll vote in it.

Nothing from Beta 8 has changed its name or its behaviour, and there is no upgrade step: upload the files and upgrade as usual.

New​

  • Profile posts. seeder:run ProfilePost, or ProfilePostFactory and ProfilePostCommentFactory, write messages one member leaves on another's profile, status updates, and comments on both...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 10

1.0.0 Beta 10 can have members register through XenForo's own registration service, so another add-on's reaction to a registration happens for them.

Nothing from Beta 9 has changed its name or its behaviour, and there is no upgrade step: upload the files and upgrade as usual.

New​

  • Registration through XenForo's service. seeder:run User -p registered=1, or UserFactory::registered(), saves each member through XenForo's...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

1.0.0 beta 11

1.0.0 Beta 11 makes moderators with the record XenForo keeps for them, and seeds the spam trigger and email bounce logs.

Nothing from Beta 10 has changed its name, and there is no upgrade step: upload the files and upgrade as usual.

New​

  • Moderators. seeder:run User -p moderators=3, or UserFactory::moderator(), makes super moderators with the moderator record XenForo keeps, so they are on the admin control panel's...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

1.0.0 beta 13

1.0.0 Beta 13 fixes seeder:clean leaving behind rows written by a bulk factory whose keys are long, and ships a PHPStan stub for the methods Seeder adds to Faker.

Beta 12 was never released here; this replaces it, and the notes below are everything since Beta 11. Nothing has changed its name. The upgrade widens one column of Seeder's own record table: upload the files and upgrade as usual.

New​

  • A PHPStan stub. phpstan/faker.stub...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 14

1.0.0 Beta 14 types Faker's words(), sentences() and paragraphs() as a string in the PHPStan stub when they are asked for text.

Nothing else has changed, and nothing changes in the database: upload the files and upgrade as usual.

Fixed​


  • phpstan/faker.stub typed words(), sentences() and paragraphs() as a list or a string whatever they were asked for, so passing $faker->words(2...

Read the rest of this update entry...
 
Sim updated Seeder: test data generator with a new update entry:

v1.0.0 beta 15

1.0.0 Beta 15 declares Faker's catchPhrase() and bs() in the PHPStan stub.

Nothing else has changed, and nothing changes in the database: upload the files and upgrade as usual.

Fixed​

  • phpstan/faker.stub did not declare catchPhrase() or bs(), so a seeder calling $faker->catchPhrase() was method.notFound from level 2. Both are now declared, returning string. Only...

Read the rest of this update entry...
 
Back
Top Bottom