Commit Graph

233 Commits

Author SHA1 Message Date
Schuyler Erle
3a09d2d314 Add abbreviations. 2011-08-31 03:19:51 -07:00
Sanj
fed4baa1d5 views.py: extra indent 2011-08-31 15:49:39 +05:30
Sanj
5b49036c8f syntax :P 2011-08-31 15:47:25 +05:30
Sanj
5165d8a0f3 merged schuylers changes; url / maps to search 2011-08-31 15:36:38 +05:30
Sanj
cafa78538c make URL field longer; remove view similar 2011-08-31 15:26:36 +05:30
Sanj
7eb4b7bbb4 authority record, time frame list displays 2011-08-31 15:21:03 +05:30
Schuyler Erle
c5501c7ff6 merge 2011-08-31 11:17:36 +02:00
Schuyler Erle
9906e46b71 Refer to feature types by their names alone. 2011-08-31 11:16:06 +02:00
Schuyler Erle
da73dfa1b3 Add threshold to find(). 2011-08-30 17:47:57 -07:00
Schuyler Erle
a9c5064c95 Revise overlaps() function to be find() function, support searching by string alone. 2011-08-30 17:43:00 -07:00
Schuyler Erle
6c7fee843c Add languages 2011-08-31 01:53:53 +02:00
Schuyler Erle
e6aeaa5741 Add new feature alternate name types. 2011-08-31 01:42:14 +02:00
Sanj
62519ff4ff make features readonly in relationship admin 2011-08-31 04:31:35 +05:30
Sanj
bdd3fa0cea bad copy paste 2011-08-31 04:26:37 +05:30
Sanj
92676514b2 add ajax_selects js / css to relationship change_form 2011-08-31 04:22:43 +05:30
Sanj
549bffeca8 er, forgot to add form to RelationshipAdmin 2011-08-31 04:09:49 +05:30
Sanj
459e38e758 features in relationship admin ajax_selects 2011-08-31 04:06:08 +05:30
Sanj
c09706d8b6 add search link to admin (ugly) 2011-08-31 02:38:33 +05:30
Sanj
279cb18b91 display time_frame and is_primary in similar features list 2011-08-31 02:31:51 +05:30
Sanj
777f41a16f add URI to feature geojson, add to table in authority record admin page 2011-08-31 02:13:45 +05:30
Sanj
3933e87dfb make URI field in Authority Record admin widet 2011-08-31 02:07:42 +05:30
Sanj
a53719b3a5 apply table css to feature list on authority record page 2011-08-31 02:02:34 +05:30
Sanj
22eaef8161 some more css for tables 2011-08-31 01:58:04 +05:30
Sanj
f11fd61bd7 some styling for custom tables in the admin 2011-08-31 01:55:25 +05:30
Sanj
5bbcaed101 as expected, adding to readononly_fields breaks everything; off to hack the django patch. 2011-08-31 01:41:27 +05:30
Sanj
f5bda38337 add geometry to readonly_fields 2011-08-31 01:39:44 +05:30
Sanj
b75a1af0d2 reorder fields in Feature admin 2011-08-31 01:33:57 +05:30
Sanj
9280f70546 some more styling of autocomplete stuff 2011-08-31 01:23:34 +05:30
Sanj
fe3a5556a3 oops 2011-08-31 01:18:20 +05:30
Sanj
2438b51c1c added default iconic.css for better autocomplete styling 2011-08-31 01:11:58 +05:30
Sanj
7e072f5e88 forgot to add feature type autocomplete field to admin form 2011-08-31 01:04:54 +05:30
Sanj
9232052135 feature type ajax-select (with custom lookup class) 2011-08-31 01:02:30 +05:30
Sanj
86b2e2f597 Relationship verbose_name to Relation 2011-08-31 00:33:40 +05:30
Sanj
da2770e1e3 sort authority record by preferred_name 2011-08-31 00:28:25 +05:30
Sanj
22de5a47ae timeframe list view 2011-08-31 00:27:32 +05:30
Sanj
01908081b6 err, oops, thats what you get when you violate DRY. 2011-08-30 23:56:23 +05:30
Sanj
b83866f10e change blank to alternate, make default 2011-08-30 23:54:36 +05:30
Sanj
bd54ef155b alternate names from stacked inline to tabular inline 2011-08-30 23:51:02 +05:30
Sanj
b8d113558d minor, add title for feature list table in authority record admin. 2011-08-30 23:03:49 +05:30
Sanj
c5cbbaa4b7 oops, import 2011-08-30 23:01:49 +05:30
Sanj
b633d3b864 minor, missing { 2011-08-30 23:00:27 +05:30
Sanj
0ac0ca9236 add list of features in authority record admin; cleaner urls for json end-points 2011-08-30 22:56:53 +05:30
Sanj
b2bb640808 js to display similar features in feature admin page 2011-08-30 22:25:41 +05:30
Sanj
c0dd1a7d36 add auto-complete for time-frame 2011-08-30 19:03:38 +05:30
Sanj
4ad1869eab oops, forgotten import 2011-08-30 19:00:12 +05:30
Sanj
ccd8f454f8 try basic autocomplete for authority records 2011-08-30 18:58:41 +05:30
Sanj
052561ebc5 oops, ajax_select, not ajax-select 2011-08-30 18:44:32 +05:30
Sanj
e6cd24f021 added django-ajax-selects to requirements.txt and INSTALLED_APPS 2011-08-30 18:41:48 +05:30
Sanj
3160e49aae cruft for extending admin change_form templates 2011-08-30 18:16:26 +05:30
Sanj
435e9e9c21 admin changes 2011-08-30 15:35:45 +05:30
Sanj
332191af9a argh, silly error in urls.py 2011-08-29 19:49:46 +05:30
Sanj
0981f4d927 minor, css 2011-08-29 18:51:51 +05:30
Sanj
4addbcf705 argh! nbsp.. 2011-08-29 18:47:16 +05:30
Sanj
441c7bd629 syntax 2011-08-29 18:45:21 +05:30
Sanj
60ac6d466f return similar features correctly 2011-08-29 18:43:22 +05:30
Sanj
3a2c3852f4 silly - import FeatureType 2011-08-29 18:40:03 +05:30
Sanj
b2382b96b6 try to display feature name instead of id 2011-08-29 18:38:47 +05:30
Sanj
67a4a7ce94 basic similar features page 2011-08-29 18:33:29 +05:30
Sanj
5493c5f251 ups, silly import 2011-08-29 18:25:00 +05:30
Sanj
f4bb714dde start view similar page 2011-08-29 18:22:10 +05:30
Sanj
4c9dcf7246 feature_type is sometimes null? :/ 2011-08-29 17:58:21 +05:30
Sanj
7a90d8ede4 minor, css 2011-08-29 17:51:55 +05:30
Sanj
90b039a55a minor, syntax 2011-08-29 17:44:00 +05:30
Sanj
fd141fbf82 search page: use <table> for results; restrict set to 20; simplify css / page 2011-08-29 17:34:48 +05:30
Sanj
3808453878 comment out search_related for now to try and deal with weird admin issue 2011-08-29 06:47:12 +05:30
Sanj
cc03ca0e85 er, id, not class 2011-08-29 06:40:03 +05:30
Sanj
1c60cbbef3 remove isBaseLayer stuff 2011-08-29 06:34:42 +05:30
Sanj
7c93f2c7de projection 2011-08-29 06:32:15 +05:30
Sanj
85541ed4b1 geometry.geojson 2011-08-29 05:55:25 +05:30
Sanj
a6334a26d1 geojson 2011-08-29 05:52:27 +05:30
Sanj
3a9ebfb9dd oops, set JSON_DEBUG=DEBUG in settings and overlaps function now works. 2011-08-28 18:13:57 +05:30
Schuyler Erle
3563cc8135 Drop the score filter and instead limit result quantity in similar_features() 2011-08-28 10:11:44 +02:00
Schuyler Erle
863c49575f Get .similar_features() working right. 2011-08-28 09:55:00 +02:00
Schuyler Erle
960eb21283 Order overlaps results by similarity if text is provideed. 2011-08-28 09:37:21 +02:00
Schuyler Erle
abd06fc0e2 Fixed broken .overlaps() query. 2011-08-28 09:31:23 +02:00
Sanj
04bed12052 pass params properly, pass srid 2011-08-28 08:52:09 +05:30
Sanj
8671238bab geometry_bboverlaps -> geometry__bboverlaps 2011-08-28 08:31:44 +05:30
Sanj
262a795d50 merged 2011-08-28 08:26:57 +05:30
Sanj
07bad63fef testing overlaps with bbox 2011-08-28 08:25:39 +05:30
Schuyler Erle
5ed70efd54 Fix possible bug in .similar_features() (wkt) 2011-08-27 19:19:57 -07:00
Schuyler Erle
c30f5775fc Support non-lon/lat projections in overlaps() 2011-08-27 19:06:51 -07:00
Schuyler Erle
7a03aa238a make the bbox param more self-documenting 2011-08-27 18:41:54 -07:00
Schuyler Erle
3f36a2e2af make the bbox param more self-documenting 2011-08-27 18:41:15 -07:00
Sanj
640b59825a :) 2011-08-28 07:05:55 +05:30
Sanj
cc0e7e4ae6 fixed line 25, resolved conflict. 2011-08-28 07:00:10 +05:30
Schuyler Erle
393d0f0291 Fix manager import error 2011-08-27 18:27:47 -07:00
Schuyler Erle
5f1824742d Add .similar_features() method to Feature 2011-08-27 18:26:00 -07:00
Sanj
195e8b3931 line 20 syntax error fixed 2011-08-28 06:50:30 +05:30
Schuyler Erle
a6dfee7375 Fix up (renamed) FeatureSearchManager; add set_threshold 2011-08-27 17:56:57 -07:00
Schuyler Erle
5ed7e0f0b5 useless merge 2011-08-27 17:52:34 -07:00
Schuyler Erle
08e5165bba Add GeoSearchManager to use both spatial and trigram similarity queries 2011-08-27 17:52:00 -07:00
Sanj
be2c88b7af JS to display FeatureCollection on map and render list (not tested) 2011-08-28 05:24:13 +05:30
Sanj
3a5253aaab some more outline to search_json 2011-08-28 04:57:53 +05:30
Sanj
e1241a49fd add verbose_names for state and county 2011-08-28 04:26:22 +05:30
Sanj
f6ef9ea4ca basic search view at /search sending search requests with term and bbox to search_view_json 2011-08-28 04:21:57 +05:30
Sanj
f2dbce73ad added basic structure for urls and views 2011-08-28 03:44:32 +05:30
Sanj
5b43299967 oops, authority_record can be null 2011-08-28 03:14:41 +05:30
Sanj
40fd95d5d2 adjust imports script for new dump with admin2 field 2011-08-28 03:01:36 +05:30
Sanj
911a72d0b4 front-end cruft: modified paths in templates, put css in folder, added openlayers, etc.. 2011-08-28 02:54:42 +05:30
Sanj
e4d535ea06 authority record to feature is one-to-many not many-to-many 2011-08-28 01:54:57 +05:30
Sanj
10d4e70648 add admin1 and admin2 to Feature (models, admin and imports) 2011-08-28 01:14:19 +05:30
Sanj
147a5d57f5 list_display to 30 2011-08-25 17:57:03 +05:30
Sanj
452ea759ca comment out filter, revert to old version of django on server 2011-08-25 17:52:10 +05:30
Sanj
f710ea8088 try extra_js 2011-08-25 17:49:19 +05:30
Sanj
9dd062d7d8 try list instead of tuple? 2011-08-25 17:41:38 +05:30
Sanj
9cfbfb70de err 2011-08-25 17:23:14 +05:30
Sanj
40099d3cc5 ok, sorry 2011-08-25 17:21:20 +05:30
Sanj
17d00627ea ups 2011-08-25 17:19:00 +05:30
Sanj
b18abe2757 SimpleListFilter is a property of admin not gis.admin 2011-08-25 17:17:16 +05:30
Sanj
aa41d90ac3 merged 2011-08-25 16:57:23 +05:30
Sanj
9fae2d95ca implement custom filter 2011-08-25 16:55:52 +05:30
f9f6ba9420 aligned the pagination div. 2011-08-25 16:50:28 +05:30
a409b04767 merged 2011-08-25 16:33:39 +05:30
56d603802b committed first run of front end gazetteer. 2011-08-25 16:28:23 +05:30
Sanj
4a5e61e2b0 form widget, etc. db change: ALTER TABLE 'places_timeframe' ALTER COLUMN 'description' TYPE varchar; 2011-08-25 02:33:25 +05:30
Sanj
584afc94e7 some admin changes as per schuyler email 2011-08-24 18:38:09 +05:30
Sanj
5bda2ad896 ups, short_description, not description for list_display column headers 2011-08-23 20:58:01 +05:30
Sanj
9697290f95 added list_display fields in admin; show only 300 features per page, not 500 2011-08-23 20:29:20 +05:30
Sanj
715fe5ccf1 latlon, lonlat, i admit this is silly 2011-08-22 02:18:57 +05:30
Sanj
cb87f695ea try using OSMGeoAdmin 2011-08-22 02:15:19 +05:30
Sanj
ba083186f3 um, latlng, lnglat .. 2011-08-22 01:54:57 +05:30
Sanj
7ca34d42bd remove relation inline; try to fix broken base-map 2011-08-22 00:44:31 +05:30
Sanj
069742262b silly hacking, openlayers_img_path needs definition in admin.py with bug-fix patch 2011-08-21 03:41:26 +05:30
Sanj
f30e5fbd45 change openlayers url, add debug toolbar for some debug foo 2011-08-21 03:36:06 +05:30
Sanj
ff02d90143 err, wrong fk_name 2011-08-20 15:59:55 +05:30
Sanj
02bb6034f2 add fk_name in admin to deal with multiple foreign keys 2011-08-20 15:57:46 +05:30
Sanj
c8aad377a0 relations widget 2011-08-20 15:52:58 +05:30
Sanj
824e2d5418 add django_extensions to INSTALLED_APPS 2011-08-20 15:43:16 +05:30
Sanj
75e63566a6 timeframe models bug - add timeframe and ftypes to admin 2011-08-20 15:41:23 +05:30
Sanj
bda7f3b3f1 admin css 2011-08-19 19:03:18 +05:30
Sanj
3a886ed4cb local_settings 2011-08-19 18:44:38 +05:30
Sanj
da67482965 basic imports / admin working 2011-08-19 18:35:24 +05:30
Sanj
c3a86f17e0 added places app 2011-08-18 22:44:56 +05:30