Fahri wants to merge 50 commits from /u/fahri/allurafork/ to master, 2020-04-13
This is a importer for allura's own export format. Ticket: #7935
Commit | Date | |
---|---|---|
2020-04-10 22:37:01 | Tree | |
2020-04-10 22:16:47 | Tree | |
2020-04-10 22:06:51 | Tree | |
2020-04-10 22:04:40 | Tree | |
2020-04-10 14:02:25 | Tree | |
2020-04-10 13:31:24 | Tree | |
2020-04-10 13:11:10 | Tree | |
2020-04-10 13:01:26 | Tree | |
2020-04-10 12:58:14 | Tree | |
[c700b4]
by
Fahri Korkmaz
Formatted code so it matches pep8 code style guidelines |
2020-03-13 23:50:01 | Tree |
[845dff]
by
Fahri Korkmaz
Removed unncecessary code |
2020-03-06 17:42:34 | Tree |
[13c1c4]
by
Fahri Korkmaz
Removed commented code |
2020-03-06 17:41:42 | Tree |
[030ba1]
by
Fahri Korkmaz
Removed debug code |
2020-03-05 16:52:06 | Tree |
[bf701b]
by
Fahri Korkmaz
Fixed wrong test |
2020-03-05 16:11:45 | Tree |
[9aa40e]
by
Fahri Korkmaz
Added tests for nested posts |
2020-03-05 16:09:42 | Tree |
[bf5c24]
by
Fahri Korkmaz
Added license comment |
2020-03-05 15:20:59 | Tree |
[3cf0fc]
by
Fahri Korkmaz
Updated creation of nested posts |
2020-03-05 15:13:23 | Tree |
[7992a1]
by
Fahri Korkmaz
Created tests for the controller |
2020-03-05 13:28:54 | Tree |
[817e52]
by
Fahri Korkmaz
Removed some debug code from create method in the controller |
2020-03-05 13:28:13 | Tree |
[67a4c4]
by
Fahri Korkmaz
Added support for nested posts |
2020-03-05 09:52:53 | Tree |
[9e3844]
by
Fahri Korkmaz
Created test_index |
2020-03-04 18:14:27 | Tree |
[309f62]
by
Fahri Korkmaz
Added unicode test to test annotate_text() method |
2020-03-04 18:03:03 | Tree |
[433158]
by
Fahri Korkmaz
Added test for missing keys |
2020-03-04 17:54:24 | Tree |
[4ec13c]
by
Fahri Korkmaz
Added test for add_posts with attachments |
2020-03-04 17:42:22 | Tree |
[5d3dac]
by
Fahri Korkmaz
Created tests for add_posts with last_edited key |
2020-03-04 17:05:10 | Tree |
[55dd2f]
by
Fahri Korkmaz
Added test for add_posts with unicode characters |
2020-03-04 16:53:51 | Tree |
[46099e]
by
Fahri Korkmaz
Added test for add_posts with many posts |
2020-03-04 16:38:45 | Tree |
[886d8b]
by
Fahri Korkmaz
Added test for add_posts |
2020-03-04 16:29:31 | Tree |
[aebb0a]
by
Fahri Korkmaz
Removed assignment of slug to posts |
2020-03-04 16:28:45 | Tree |
[0f0ab3]
by
Fahri Korkmaz
Changed to match unit tests |
2020-03-04 15:56:44 | Tree |
[3c9b36]
by
Fahri Korkmaz
Added tests for import_tool method |
2020-03-04 15:54:26 | Tree |
[911441]
by
Fahri Korkmaz
Added test for unicode characters |
2020-03-04 12:02:10 | Tree |
[f5ca44]
by
Fahri Korkmaz
Created test for creating a general discussion |
2020-03-04 09:38:54 | Tree |
[5e8193]
by
Fahri Korkmaz
Added tests for discussion importer |
2020-03-02 11:32:48 | Tree |
[20bb19]
by
Fahri Korkmaz
Improved error handling of annotate method |
2020-03-02 11:32:18 | Tree |
[f0833e]
by
Fahri Korkmaz
Changed method name to fit naming convention |
2020-03-02 11:01:50 | Tree |
[4af4ba]
by
Fahri Korkmaz
Refactored annotate and get_user method |
2020-02-28 18:19:28 | Tree |
[3e3c27]
by
Fahri Korkmaz
Refactored annotate method |
2020-02-28 18:00:01 | Tree |
[f8168d]
by
Fahri Korkmaz
Added support for anonymous users |
2020-02-28 14:44:03 | Tree |
[6f6385]
by
Fahri Korkmaz
Added unicode support to filenames |
2020-02-28 14:40:01 | Tree |
[8340a5]
by
Fahri Korkmaz
Clean up work |
2020-02-28 10:24:56 | Tree |
[b625e4]
by
Fahri Korkmaz
Fixed bug where forums and threads are related to a wrong app |
2020-02-27 14:10:18 | Tree |
[3f847e]
by
Fahri Korkmaz
Cleaned up |
2020-02-27 11:37:35 | Tree |
[10478a]
by
Fahri Korkmaz
Added missing attributes |
2020-01-30 13:33:44 | Tree |
2020-01-18 11:35:51 | Tree | |
2020-01-18 11:04:24 | Tree | |
2020-01-17 22:49:02 | Tree | |
2019-12-22 14:22:01 | Tree | |
2019-12-21 23:51:37 | Tree | |
2019-12-21 21:05:33 | Tree |
Looking quite good! And quite a lot of tests. Here's a few bits of feedback:
AlluraImporter
class looks like a good idea as a base class to share some logic, I see the methods match some thatForgeTrackerImporter
has. To actually share it, canForgeTrackerImporter
extendAlluraImporter
and remove the methods fromForgeTrackerImporter
?== None
is better asis None
, and!= None
asis not None
ForgeImporters/forgeimporters/forge/alluraImporter.py
andForgeImporters/forgeimporters/forge/templates/discussion/index.html
should have a license header at the beginning of the fileHi Dave,
I've reworked the importer.
Thanks I see you made some other good fixes too. The only issue I see now is some miscommunication about checking for
None
. I meant== None
would better written asis None
, and you changed them all the other way.There are also some minor tweaks for python3 readiness that would be good. I can do that part when I merge it, or if you want to try it you can run
pip install modernize
and thenpython-modernize -n -w ForgeImporters
will make the changes automatically and you can commit it.Last edit: Dave Brondsema 2020-04-10
Oh, that was a mistake on my part. I haven't read your comment that carefully ...
But I've fixed the problem and I have also run the python-modernize module.
Thanks! Closing [#7935] too
Related
Tickets:
#7935