Commit Graph

  • 601a953f21 Add all the settings available to settings.py, even the ones that are normally overwritten using settings_local.py. Magnus Hagander 2010-06-13 15:17:25 +02:00
  • 047982b81d Refactor the list of objects needing moderation into utils/moderation.py, and create a script to use this to generate a moderation report email. Magnus Hagander 2010-06-13 15:11:53 +02:00
  • faf023d269 psycopg2 doesn't need an explicit import anymore Magnus Hagander 2010-06-13 14:54:18 +02:00
  • 2254d72893 Add 8.0 docs links to manual list, not just index page Magnus Hagander 2010-06-13 13:05:34 +02:00
  • 613981f2fe Add the planet RSS feed to the initial fixtures Magnus Hagander 2010-06-11 19:36:09 +02:00
  • 7934c64c85 Make the RSS feeder use the django model framework, to be consistent. Magnus Hagander 2010-06-11 19:31:29 +02:00
  • ba9e37d9d6 Make the pending moderations request page look a lot nicer (more like the rest of the admin site) Magnus Hagander 2010-06-11 16:07:01 +02:00
  • 81caa54e1b Clean up the admin interface - move our special links to the index page only, remove them from the login form. Remove the Sites application, since we don't use it. Magnus Hagander 2010-06-11 15:58:03 +02:00
  • 2604d42777 Fix security link Magnus Hagander 2010-06-11 14:41:05 +02:00
  • 405fe4fafc Handle references to .html pages, for example the link to security. We can fix the links, but we need to keep the old references for links coming in from other sites. Magnus Hagander 2010-06-11 14:37:17 +02:00
  • c1e93bf2bb Migrate the contact page over. Magnus Hagander 2010-06-11 14:32:21 +02:00
  • 8833be04c2 Add back the header with search and contact links, etc. Not entirely sure why that was lost in the migration. Magnus Hagander 2010-06-11 14:31:34 +02:00
  • 388d8b170c Indicate if a news article has been migrated, the same way we do for events. Magnus Hagander 2010-06-11 14:22:49 +02:00
  • 93d3450213 Add app to store and view the PostgreSQL Weekly News, including generation of the RSS feed. (Which will receive a new URL now that it lives in the actual app and not in with the static files, so a redirect will be needed there). Magnus Hagander 2010-06-10 20:43:54 +02:00
  • 4eef43a19f Add a couple of conversion scripts used to get data off the old wwwmaster onto the new system. Will be deleted once the migration is done, but it's good to keep them around. Magnus Hagander 2010-06-10 19:11:29 +02:00
  • 509e328d1d Re-fix event sorting, we're supposed to sort by *end* date... Magnus Hagander 2010-06-10 19:08:30 +02:00
  • f95fccc836 Fix sorting of events Magnus Hagander 2010-06-10 19:04:58 +02:00
  • 922e1b3052 Annoyingly enough, EnterpriseDB actually uses more than 100 chars to list their prices.. Magnus Hagander 2010-06-10 16:48:00 +02:00
  • b0953c0504 Sync up contents of static HTML files in the template directory with changes on the main website. Magnus Hagander 2010-06-10 16:05:40 +02:00
  • 521920542b Get the information for the ftp browser from a file that is generated on the ftp server, instead of crawling the directoreis directly. This removes the requirement to sync almost 10Gb worth of ftp site onto the web server... Magnus Hagander 2010-06-10 14:46:16 +02:00
  • 778ffdb158 Set dimensions for upcoming training image on the frontpage. Magnus Hagander 2010-06-10 13:12:31 +02:00
  • 4936664ddb Enforce redirection of /admin/ to https in the django code instead, seems impossible to get it working properly in the webserver... Magnus Hagander 2010-06-09 19:47:27 +02:00
  • 24d2ca6bee Missing include! Magnus Hagander 2010-06-09 16:52:01 +02:00
  • 7d5e50005b Control the caching of the frontpage to 10 minutes Magnus Hagander 2010-06-09 16:50:54 +02:00
  • df378de32c Fix formatting of s-maxage Magnus Hagander 2010-06-09 16:50:44 +02:00
  • 085bb6e736 Fix blue arrow URL Magnus Hagander 2010-06-08 22:16:52 +02:00
  • c4d15b20b4 Fix image name typos. Per report from Selena. Magnus Hagander 2010-06-07 21:01:04 +02:00
  • 323f25f02b Basic styling making form error messages look a little bit better. Magnus Hagander 2010-03-30 18:26:30 +02:00
  • 4ca5d45536 Add page with list of all pending moderation requests, and link it (somewhat hackishly) onto the header of the administration pages. Magnus Hagander 2010-03-21 18:25:00 +01:00
  • c80daa4b4e Add string output for doc comment Magnus Hagander 2010-03-21 18:24:12 +01:00
  • f151a641f0 Include country name in the mirror select list, not just the flag. Magnus Hagander 2010-03-14 16:26:07 +01:00
  • 7d76fe5ce1 Control the headline of forms to say "New" and "Edit" depending on what we're actually doing. Magnus Hagander 2010-02-27 02:09:59 +01:00
  • 06048a791d Proper intro text for account signup form Magnus Hagander 2010-02-27 02:07:42 +01:00
  • 587bda6b9f Make the base form support different names for the save button Magnus Hagander 2010-02-27 02:06:15 +01:00
  • 0e57a048dd Re-instate the new links for different objects, that was accidentally removed earlier. Magnus Hagander 2010-02-27 02:03:34 +01:00
  • 370c083720 Add support for legacy signup URL, since it's linked from external systems. Magnus Hagander 2010-02-26 15:59:18 +01:00
  • c5bba63e41 These are not objects, so the parameter isn't "self" - it's the request object Magnus Hagander 2010-02-26 15:58:27 +01:00
  • 7b54520396 Add support for changing passwords, resetting passwords and signing up for new accounts. Magnus Hagander 2010-02-26 15:57:33 +01:00
  • c3be6c213f Clean up the /accounts/ section. Still need to edit profile somehow, but the submitted objects are now much nicer arranged. Magnus Hagander 2010-02-26 13:58:41 +01:00
  • 41e653c86c Adjust footer to be the same as the main pages Magnus Hagander 2010-02-26 13:18:27 +01:00
  • e3d8eae0ce Add the concept of a "current version", and use this when determining which version to map /current/ to in the docs section. Magnus Hagander 2010-02-26 13:14:03 +01:00
  • 913edf3d47 Properly print event locations that have a state Magnus Hagander 2010-02-26 12:58:13 +01:00
  • d2d359776b Make it possible to add new organisations again - they need to be tagged with the logged in user as the first manager, or they become orphans before they're even created... Magnus Hagander 2010-02-26 12:53:26 +01:00
  • 7b3bb5d09b Make organisations support multiple "managers" and not just one "submitter", thus making it possible for a single person to manage multiple organisations, as well as for a single organisation to have multiple different manages. Magnus Hagander 2010-02-26 12:34:19 +01:00
  • da3e5312ab Make filter_by_user apply to forms when they are edited as well, not just when they are created. This is to make sure the organisation list, for example, doesn't list all non-avaiable organisations when there was a missing field somewhere else in the form. Magnus Hagander 2010-02-26 12:30:28 +01:00
  • 4af5285cb0 Update copyright date to 2010 Magnus Hagander 2010-02-26 11:24:50 +01:00
  • 37c79c7882 Make professional services also use organisations Magnus Hagander 2010-02-25 17:03:12 +01:00
  • 0d55002019 Make each event have an organisation that's not just a free-text field, for future ability to have multiple people manage a single event. Magnus Hagander 2010-02-25 16:46:36 +01:00
  • e82022eb1d Add support for docs comments Magnus Hagander 2010-01-16 20:02:07 +01:00
  • 53fd3fcb83 Support fixed fields in forms, such as the version and filename for a doc comment. Magnus Hagander 2010-01-16 20:01:11 +01:00
  • 2ea1d924c1 Clearly this file was never supposed to be included Magnus Hagander 2010-01-16 19:53:02 +01:00
  • a5ba83bc77 Add images for books Magnus Hagander 2010-01-16 17:25:21 +01:00
  • fd9adcf528 Add legacy URLs for news and events Magnus Hagander 2010-01-16 17:23:06 +01:00
  • c42e6aa740 Add module for legacy URLs, add legacy URLs for press Magnus Hagander 2010-01-16 17:17:49 +01:00
  • 71da5a4dc5 Add press contacts, faq and presskit from old site Magnus Hagander 2010-01-16 17:17:02 +01:00
  • 557d48bad7 Properly anchor URLs at the beginning Magnus Hagander 2010-01-16 17:16:18 +01:00
  • 3afa5ccbb9 Nicer admin of quotes Magnus Hagander 2010-01-14 22:03:01 +01:00
  • f1fd62c0c8 Clean up events handling - clearly it wasn't even remotely ready. Magnus Hagander 2010-01-14 21:38:10 +01:00
  • f3bdf383e0 Proper field length for porganisation name, to match old website so we can migrate Magnus Hagander 2010-01-14 21:37:38 +01:00
  • 68c2ebc845 Implement stackbuilder Magnus Hagander 2010-01-13 23:12:53 +01:00
  • a6537437ce Turn the XML generation helper into a class for better flexibility Magnus Hagander 2010-01-13 23:07:25 +01:00
  • 31400cc2d3 community login API implementation on top of django authentication Magnus Hagander 2010-01-13 22:11:57 +01:00
  • e26e1c55c9 Delete old user when migrating to the new system. Attempt to migrate the full name of the user a bit smarter. Magnus Hagander 2010-01-13 21:58:20 +01:00
  • 056466a21c Implement decorators to control proxy caching (for the reverse proxy), and enable it for the mirror tracking parts Magnus Hagander 2010-01-12 19:52:32 +01:00
  • 6c498a47a3 Factor out the sending of a templated mail to a function, we're sure to want to use this in the future. Magnus Hagander 2010-01-12 19:50:50 +01:00
  • cad9eddd92 Implement the feature matrix Magnus Hagander 2010-01-11 22:55:00 +01:00
  • 4e9c4ef7fc Properly render docs pages with missing index.html in the path. Magnus Hagander 2010-01-11 17:25:47 +01:00
  • 2982541900 Add bug submission form Magnus Hagander 2010-01-11 16:09:49 +01:00
  • 481b7b108b Update model to be supported on django 1.1 Magnus Hagander 2010-01-11 15:29:10 +01:00
  • 78ca49fe27 Add function to render a template to a string Magnus Hagander 2010-01-11 15:25:04 +01:00
  • 7be9312db8 Remove pages app, it was never used Magnus Hagander 2010-01-11 14:55:42 +01:00
  • 86940aaa86 Generate mirrors.xml file Magnus Hagander 2010-01-02 20:24:35 +01:00
  • 4b9efc5bdc Add support for mirror selection and redirection. Magnus Hagander 2010-01-02 19:36:24 +01:00
  • fcc9e08e95 Add simple RSS parser, currently only does planet. Use this for the planet list on the frontpage and the community page. Magnus Hagander 2009-12-28 19:21:32 +01:00
  • 77a5690dc8 Add handling of mailinglist subscription Magnus Hagander 2009-12-28 18:57:01 +01:00
  • 770ef1689e Break out sendmail() to a separate function, so we can use it from more places. Magnus Hagander 2009-12-28 18:52:35 +01:00
  • 2f671fe3d6 Add support for surveys Magnus Hagander 2009-12-28 16:12:44 +01:00
  • 3aa6730487 Make sure organisation and product names are unique Magnus Hagander 2009-12-28 14:31:08 +01:00
  • f216b00037 Implement software catalogue. Break the organisation object out as part of the core, since it seems like it could be useful for other kinds of objects as well in the future, but for now only the software catalogue uses it. Magnus Hagander 2009-12-28 14:22:17 +01:00
  • e41c85bd00 Support short introductory text on a form driven from the model, without the need to create a separate template. (Anything more advanced should still use a template, of course) Magnus Hagander 2009-12-28 14:18:53 +01:00
  • ab1b585e53 Support filtering by indirect usernames when building default forms (such as looking up the user through an intermediate model) Magnus Hagander 2009-12-28 14:18:15 +01:00
  • ffd7084fe5 Exclude fields from notification emails if they are foreign keys pointing to this object, since their data is not available. Magnus Hagander 2009-12-28 14:17:16 +01:00
  • c8cbcf1725 Typo fix Magnus Hagander 2009-12-28 12:15:53 +01:00
  • a894bd5dc7 Fix typo that made listgroup names invisible, per comment from Alvaro. Magnus Hagander 2009-10-07 16:27:34 +02:00
  • bff6f3e379 Generate and send proper MIME messages with notifications. If SUPPRESS_NOTIFICATIONS is set, instead print them to the server output pipe instead (only to be used in development server, obviously). Magnus Hagander 2009-09-18 16:52:57 +02:00
  • 1e1955a588 Add URLs to all modified fields in the notification message. Magnus Hagander 2009-09-18 16:32:15 +02:00
  • 6ab39b4eb7 Add markdown previews for generic forms in the site as well, not just the admin site. Magnus Hagander 2009-09-18 15:40:20 +02:00
  • e808d4cdb3 Add (working) previewing of markdown fields in the admin interface. Magnus Hagander 2009-09-18 10:18:41 +02:00
  • 4f91ae9cc2 Seems password has to be set with set_password... Magnus Hagander 2009-09-16 17:08:15 +02:00
  • 322da0de7e Implement an authentication backend that will look up the user in the old community login system in case it's not present in the django auth one, and if necessary create the object in the django one. Magnus Hagander 2009-09-16 16:43:46 +02:00
  • d69d8a422c Correct links to RSS feeds in header Magnus Hagander 2009-09-16 16:14:12 +02:00
  • e491afc4fe Merge branch 'master' of ssh://git@git.postgresql.org/pgweb Magnus Hagander 2009-09-16 16:11:09 +02:00
  • df91488ae6 Add a template context processor that sets link_root on all secure requests, so that we can generate proper linkbacks to the non-secure version of the site for all static content. Magnus Hagander 2009-09-16 16:08:17 +02:00
  • 6573114605 Add a template context processor that sets link_root on all secure requests, so that we can generate proper linkbacks to the non-secure version of the site for all static content. Magnus Hagander 2009-09-16 16:08:17 +02:00
  • 4be5cd0266 Wrap login views so we can require https Magnus Hagander 2009-09-16 15:54:35 +02:00
  • 5f619889d7 Make https redirection work again. Add a way to skip https redirection, so we can still run it locally, and mark a couple of forms as requiring https. Magnus Hagander 2009-09-16 15:46:17 +02:00
  • f023480689 Actually support logging in without using the admin interface Magnus Hagander 2009-09-16 15:07:23 +02:00
  • c24eea14ab Initial data must not live in initial_data.yaml, that will cause the data that's currently in the database to be overwritten... Put it in a separate file, and add a script that will automatically load all these files if present. Magnus Hagander 2009-09-16 13:16:04 +02:00
  • 3166e0eb55 Include initial data for countries. Magnus Hagander 2009-09-14 14:43:47 +02:00
  • 90b758c247 A first very basic import. Magnus Hagander 2009-09-14 14:39:25 +02:00