Commit Graph

971 Commits (9a8bd464a33774741133eb1a36b6d11c8800dfc0)

Author SHA1 Message Date
Thomas Keller 0bae69908b Spelling 2011-04-07 22:40:32 +02:00
Thomas Keller 47a077bc82 Merge branch 'feature.better-home' of projects.ceondo.com:indefero into feature.better-home 2011-04-07 22:38:40 +02:00
William MARTIN 836ff71364 Update code to fix thomas review's 2011-04-06 15:33:26 +02:00
William MARTIN 0afa07b2bd Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-04-06 12:01:04 +02:00
William MARTIN 4ee3d471fe Update the form validation of IDF_Form_ReviewFileComment.
Now we can add a general comment without per file comment.
2011-04-06 12:00:55 +02:00
Thomas Keller 29c7fed81b Merge branch 'develop' of git://projects.ceondo.com/indefero into develop 2011-04-06 03:01:40 +02:00
Thomas Keller fb62061e5a Started with a unit test for the monotone interface.
Main test infrastructure is there, still lots of functionality left
for testing. Fixed a possible bug in the SCM interface already:
Pluf_HTTP_Response_NotFound needs a request instance as ctor argument,
which we don't have at this point, therefor we just throw an exception.
2011-04-06 02:59:26 +02:00
William MARTIN 9b92b7139f Fix copyright 2011-04-05 13:20:55 +02:00
William MARTIN 5ea4b02205 Update copyrigt 2011-04-02 21:37:07 +02:00
Thomas Keller 12d3eef3d1 monotone actually requires interface_version 13.0 or higher because of the extended manifest usage 2011-04-02 15:40:18 +02:00
Thomas Keller 576c06ffaf Merge branch 'feature.better-home' of git://projects.ceondo.com/indefero into feature.better-home 2011-04-02 00:17:51 +02:00
William MARTIN 352dc3e179 Add IDF_Form_ProjectConf
Update template
2011-04-01 16:05:32 +02:00
William MARTIN aa164936f4 Remove commented code 2011-04-01 14:19:07 +02:00
William MARTIN 9a93acd1a5 Update the admin template 2011-04-01 14:17:56 +02:00
William MARTIN 587aa11cda Update the index template 2011-04-01 14:14:30 +02:00
Thomas Keller ecef510f78 Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-04-01 11:18:01 +02:00
Thomas Keller 4976c20935 Its validateRevision, not isValidRevision, here as well 2011-04-01 11:17:21 +02:00
Thomas Keller 5553c37ccd Merge branch 'release-1.1' into develop 2011-04-01 11:17:06 +02:00
Thomas Keller 346b2c6cf8 Call validateRevision(), not isValidRevision(), fixes issue 657 2011-04-01 11:15:13 +02:00
Thomas Keller e408fe8733 Make the function static again; this change silently slipped through. 2011-03-30 00:17:35 +02:00
Stewart Platt 51c6cdb20d Only display those filter options for items the user actually has access to
(fixes issue 655)
2011-03-30 00:12:07 +02:00
Thomas Keller 2ed021f30b Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-03-28 18:00:23 +02:00
Thomas Keller 899fe561df Merge branch 'release-1.1' into develop 2011-03-28 17:59:08 +02:00
Thomas Keller 67d8936083 Start 1.1.2 development 2011-03-28 17:57:15 +02:00
Fernando Sayago Gil 8928b1654c One new string translated. 2011-03-28 17:46:08 +02:00
William MARTIN 977fa0d1d4 Translate a new string. 2011-03-28 12:46:06 +02:00
Thomas Keller 1d89cec2cf Merge branch 'release-1.1' into develop 2011-03-28 01:26:20 +02:00
Thomas Keller 6c6b7d6bb2 Bump to 1.1.1 (not released yet, though) 2011-03-28 01:21:10 +02:00
Thomas Keller 6e58899fdf Add the new string to idf.pot and update the German translation
accordingly.
2011-03-28 01:15:22 +02:00
Thomas Keller 1513598420 Add a short sentence about password recovery on the registration page
(fixes issue 652)
2011-03-28 01:13:15 +02:00
Thomas Keller 9cfc060760 Improve a translation. 2011-03-28 00:56:44 +02:00
Patrick Georgi a531e34ec2 Add IDF_EmailAddress to backup 2011-03-25 20:39:11 +01:00
Jean-Philippe Fleury 2cce23b5b4 Fix a typo in the French translation and add myself to AUTHORS. 2011-03-25 13:17:49 +01:00
Thomas Keller f131083315 Skip linking to a non-existing diff section for changed binary files
(fixes issue 643)
2011-03-25 00:45:06 +01:00
Thomas Keller 002fa05c7f Merge branch 'release-1.1' into develop 2011-03-25 00:14:26 +01:00
Thomas Keller 1a52133fd4 getArchiveStream() should actually be public (issue 648) 2011-03-25 00:11:44 +01:00
Thomas Keller 30900f7196 monotone zip archive entries now all carry the revision date as mtime (issue 645);
add a test case for the zip render response that works with and without PHP's
zip extension
2011-03-24 23:54:52 +01:00
Thomas Keller 78a0402351 Prepare the Stdio class for easier testing.
- create an interface that describes the basic methods
- let the real stdio class implement this interface
- inject the stdio instance into IDF_Scm_Monotone and do not
  create it in the constructor
- ensure in IDF_Scm_Monotone_ZipRender that we get the proper
  constructor arguments
On a slighly unrelated note, make _getAuthOptions() in the stdio
implementation private.
2011-03-23 00:47:17 +01:00
Thomas Keller 5b5705fe90 Add a unit test for monotone's basicio parser and compiler.
Also note a couple of quirks and be less strict (for now) when it
comes to hash parsing and stanza lines without values.
2011-03-23 00:26:26 +01:00
Thomas Keller aa87acd432 Start 1.2 development. 2011-03-20 13:48:49 +01:00
Thomas Keller 627bc4e45f Enter a release date and the proper version 2011-03-20 12:44:21 +01:00
Thomas Keller b7c0b40491 Add basic source version tracking.
Indefero's version is now noted in src/IDF/version.php;
just before a release is made, the '-dev' is removed and
after the release is made, the version should be increased and
'-dev' should be added back to denote that the development
for the next version started.

The revision identifier is automatically set when an archive
is created and is based on the revision that the archive creator
gave to git-archive(1). If people follow development, we try to
get the current deployed version with git-log(1) and if that
fails as well, the revision is determined to be 'unknown'.
Version and revision are then rendered as HTML meta tags in
the header of each template. (All this is done by the new
{appversion} tag.)
2011-03-20 00:57:49 +01:00
Fernando Sayago Gil 48257ccfed Spanish translation updated. 2011-03-19 15:20:29 +01:00
William MARTIN 269949a65f French translation updated. 2011-03-19 15:20:00 +01:00
Thomas Keller e0c6dcd5a4 Merge branch 'release-1.1' of projects.ceondo.com:indefero into release-1.1 2011-03-18 12:12:19 +01:00
Thomas Keller 734ddda363 Fix issue 618 by returning the input unaltered in case PCRE still fails
to evaluate it with the expanded backtrack limit.
2011-03-18 12:10:42 +01:00
Matías Halles 5fc3a987de Mercurial log template and parseLog pattern modification.
Added a template for getting a controlled log; in parseLog, changed the regular
expression to match the pattern used in the template (fixes issues 507 and 508).
2011-03-18 02:47:08 +01:00
Dmitry Dulepov be39d72d3c Fix XML parsing exceptions when revisions with empty log messages are parsed.
This fixes issue 518; Dmitry is added to AUTHORS.
2011-03-18 02:33:54 +01:00
Thomas Keller 045eb766f1 Improve the rendering of the prev / next links in the issue view and note the change in NEWS. 2011-03-18 02:14:22 +01:00
Thomas Keller 5a7bf49cbb Well, I forgot the important stuff in the last commit, sigh. Fixes issue 633 for real now. 2011-03-18 01:05:25 +01:00
Thomas Keller 366d278182 Ignore "bad usage" error code in case `git tag` doesn't know of the `--contains` option. 2011-03-17 23:12:27 +01:00
Loïc d'Anterroches 5f008a14f5 ReFixed in an ugly way the non support of the git --contains option. 2011-03-17 09:28:43 +01:00
Loïc d'Anterroches 21a8c281ec Fixed in an ugly way the non support of the git --contains option. 2011-03-17 09:22:46 +01:00
Thomas Keller 19b35565a2 Fix a notice about variable pass by reference 2011-03-17 01:10:59 +01:00
Patrick Georgi baa88412b9 Rewrite the diff parser and reduce the memory footprint.
The diff parser code was rewritten for clarity and speed and now handles
a couple of ugly cornercases, like SVN's property change output and single
change chunks, much better. Since the path parsing was unified as well,
the SCM interface gained a new method `getPathStripLevel()` which determines
how many path components need to be shoven off a file name for the SCM
to form a valid path in the workspace (similar to patch(1)'s --strip option).
Fixes issue 627. Automated tests follow.
2011-03-16 23:50:41 +01:00
Thomas Keller 6fb9b72e22 Use git tag --contains REV for the IDF_Scm::inTags() implementation.
This works similar to git branch --contains REV; additionally give the
revision id and not some possibly symbolic name to the inBranches()
call when we determine the branches a commit is in.
2011-03-16 23:03:36 +01:00
Thomas Keller b75884c57e Use Pluf_SQL instead of raw SQL, the latter caused problems on installations with table prefixes. 2011-03-16 20:58:13 +01:00
Thomas Keller 8631529268 Re-enable v1.0 URI compatibility wrt update feeds.
The additional filter token introduced 404's for bookmarked feeds;
now the old URLs are re-added and their actions forward the requests
to the new handlers.
Another small change removes a double assignment and puts the
"All Updates" link in the template on top to separate it clearly
from the other filters.

This commit closes issue 605.
2011-03-15 22:54:35 +01:00
Thomas Keller 4b001d8f03 Merge branch 'release-1.1' of git://projects.ceondo.com/indefero into release-1.1 2011-03-14 00:05:26 +01:00
Fernando Sayago Gil a7bec96a80 Update spain translation 2011-03-13 17:43:16 +01:00
William MARTIN a8706e38ca Update french translation 2011-03-13 17:40:48 +01:00
Thomas Keller 265fd41717 Make two translations a little shorter so they don't lead to a line wrap when printed in bold font. 2011-03-13 02:12:09 +01:00
Thomas Keller 67c23ffe24 The word was meant to be translated as noun, not as verb. 2011-03-13 02:10:18 +01:00
William MARTIN e6756a2072 Fix issue 633 : Unset variable ! 2011-03-11 14:27:37 +01:00
William MARTIN bb4fa7ca2f Fix issue 629 : Git commit view is missing the branch 2011-03-11 11:38:04 +01:00
Thomas Keller b7a9a1c8fd Update pot file with the recent changes and translate the fuzzies
in the German translation.
2011-03-10 10:22:43 +01:00
William MARTIN d45566d692 Update language for French and Spain 2011-03-10 09:45:35 +01:00
Ciaran Gultnieks 4411086f29 First set of files with English text corrections (partially resolves
issue 631)
2011-03-10 09:23:01 +01:00
William MARTIN 0b3ce03036 Don't show an empty branch field in the commit view
It's a little hack for issue 629, but don't resolve it.
2011-03-09 22:09:32 +01:00
William MARTIN 027886737d Enable Spain and German in the supported language 2011-03-09 21:55:20 +01:00
William MARTIN 35f45015ea Update the spain translation, language is now supported at 100%
Thanks to Fernando Sayago Gil
2011-03-09 21:54:33 +01:00
Thomas Keller 618f412bed Retranslate a few fuzzies. 2011-03-09 14:38:47 +01:00
Thomas Keller 6ab9c754a5 Update the translations with the recent source and i18n changes from tx. 2011-03-09 13:57:06 +01:00
Thomas Keller c59332c8f8 Mark the header string for translation. 2011-03-09 13:54:16 +01:00
Thomas Keller 32d9d04b4b Merge branch 'release-1.1' of projects.ceondo.com:indefero into develop 2011-03-09 13:51:36 +01:00
William MARTIN 62d0fb6eee Fix missing installation for IDF_EmailAddress in the database 2011-03-09 13:46:58 +01:00
Patrick Georgi bc82ee24d8 Fix a MySQL-ism (closes issue 628) 2011-03-09 02:06:44 +01:00
Thomas Keller 6ab1f4a4f0 Fix some spelling mistakes (closes issue 441) 2011-03-09 02:06:27 +01:00
Thomas Keller 9b7691c1ae Fix some spelling mistakes (closes issue 441) 2011-03-08 14:42:24 +01:00
William MARTIN c3cd494386 Add Project List API 2011-03-07 15:01:51 +01:00
Thomas Keller 00ebe1633c Merge branch 'develop' of git://projects.ceondo.com/indefero into develop 2011-03-03 23:44:10 +01:00
Thomas Keller f63bfcb4f6 Raise PCRE's backtrack_limit for our regex callback usage to avoid
spurious errors on weird input (fixes issue 618).
2011-03-03 23:42:21 +01:00
Patrick Georgi 04069871bb Fixes to bugs introduced by the multiple mail feature 2011-03-03 21:04:24 +01:00
William MARTIN 31469204e0 Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-03-03 15:44:01 +01:00
William MARTIN 9b148c8c4a Fix precondition for API Issue Create
One is supposed to always need auth to post a ticket.
2011-03-03 15:43:51 +01:00
Patrick Georgi 98f4eac82a Merge branch 'multiple-mails' into develop 2011-03-03 14:12:03 +01:00
William MARTIN cc89a7e6f8 Add support of renamed file for IDF_Scm_Git::getchanges() 2011-02-25 11:10:10 +01:00
William MARTIN c486fe98fb Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-02-24 15:22:00 +01:00
William MARTIN f0ac256ff6 Implementation of IDF_Scm_Git::getChanges() 2011-02-24 15:21:51 +01:00
Thomas Keller e4b3adb2f5 Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-02-24 13:39:58 +01:00
Thomas Keller 58a5bc46d9 Temporarily disable the change view and diff download for merge
revisions until issue 581 has been fixed properly.
2011-02-24 13:38:42 +01:00
William MARTIN 52f8261d8c Finalize French translation 2011-02-24 09:10:44 +01:00
William MARTIN 721c385993 Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-02-24 08:59:23 +01:00
William MARTIN 9c80de19d7 Fix url in the tag cloud 2011-02-24 08:58:43 +01:00
Thomas Keller f2c4faf054 * update pot and po files with latest strings from source and tx
* finalize German translation (again)
2011-02-23 23:49:19 +01:00
Thomas Keller bc54b663e0 Improve the english a bit and make the previous error message cleaner 2011-02-23 23:04:47 +01:00
William MARTIN 6f1bb309d4 Apply the UI enhancement of issue tags cloud to wiki and download part too. 2011-02-23 22:35:43 +01:00
William MARTIN cdedaa4604 Fix issue 591
Improve render of issue tag list
2011-02-23 20:20:02 +01:00
William MARTIN 2130b327df Fix issue 616
Patch from Patrick Georgi
2011-02-23 18:24:49 +01:00
William MARTIN 3e238bea0b Enhancement of the invalid revision handler
Show the list of available branch
2011-02-23 18:12:29 +01:00
William MARTIN 266c297632 Merge branch 'develop' of projects.ceondo.com:indefero into develop 2011-02-23 16:23:34 +01:00
William MARTIN 4477b07bc6 Rewrite a string to better handle i18n 2011-02-23 16:22:27 +01:00
Thomas Keller 74b44186d2 Update pot file and translations from source and transifex updates 2011-02-23 16:06:40 +01:00
William MARTIN 5e6d61b3a7 Add more statistics on the projects list page 2011-02-23 14:29:01 +01:00
William MARTIN 4e00051a10 Login form enhancement 2011-02-23 13:31:45 +01:00
Patrick Georgi 38e6e4f8d3 Use all registered email addresses to map Scm users to IDF users. 2011-02-21 10:57:36 +01:00
Patrick Georgi dfa223b39e Manage addition of secondary emails 2011-02-21 10:57:36 +01:00
Patrick Georgi 0a8d771c11 Add UI for adding secondary email addresses 2011-02-21 10:57:36 +01:00
Patrick Georgi 5afd073ff3 If secondary mails exist, print them in account settings, and allow to delete them 2011-02-21 10:57:36 +01:00
Patrick Georgi 46fda14e08 Make sure no secondary email addresses are used for registration or when changing email address 2011-02-21 10:57:36 +01:00
Patrick Georgi bbf9ef8b3d Store secondary email addresses.
Create a place to store additional email addresses and
provide an API to access them
2011-02-21 10:57:36 +01:00
William MARTIN f590b1c5f8 First part of the spanish translate by Mika
Signed-off-by: William MARTIN <william.martin@lcpc.fr>
2011-02-21 09:44:42 +01:00
Thomas Keller bae73f266c German translation finalized. 2011-02-14 00:05:37 +01:00
Thomas Keller b00dbfaeaa Typos fixed. 2011-02-13 01:19:17 +01:00
Thomas Keller e2e1e50890 14 left, but too much for tonight. I fixed a couple of f'ups and
added a short translation intro on top with the proper copyrights.
2011-02-13 01:12:42 +01:00
Thomas Keller 423548dc2c Grammar. 2011-02-13 00:24:18 +01:00
Thomas Keller 545117eeae Punctation fixes and phrase changes. 2011-02-12 01:08:16 +01:00
Thomas Keller 0b0392a274 Another large chunk for the German translation has been finished.
Many fixes also went in.
2011-02-12 00:57:14 +01:00
Thomas Keller 0c0236c766 Russian and German translation updated. 2011-02-11 01:54:48 +01:00
Thomas Keller 067d88136e Updated ru translation from indefero (thanks Denis Kot!) 2011-02-10 01:40:57 +01:00
Thomas Keller d0cd0bb9bf Update the German translation a bit - still lots of work left. 2011-02-10 01:38:50 +01:00
Thomas Keller 69ecb1a049 Add a proper Plural-Forms setting (Chinese doesn't have a plural)
and remove a wrong translation (I'm unable to find out where the %s
should have been put), so again, 'msgfmt -c' is happy now.
2011-02-09 01:30:33 +01:00
Thomas Keller e50f2f2b5f Fix a couple of fatal errors reported by 'msgfmt -c'. 2011-02-09 01:24:36 +01:00
Thomas Keller 905a81a715 'zh' alone is actually not a valid locale, but 'zh_CN' is. 2011-02-09 01:17:08 +01:00
Thomas Keller 4d0d41ef02 Updated idf.pot and all translations with the latest strings. 2011-02-09 01:08:39 +01:00
Thomas Keller 86832e4a36 Started on the overhaul of the German translation:
- The previous translator mixed "Du" and "Sie", I stumbled upon
  "Du" at first and decided to stick with that.
- The poedit extra headers have been removed; a proper plural
  configuration has been added.
- Many strings have been misspelled and were thus fixed, though
  there is still lots of work left.
2011-02-09 00:39:03 +01:00
Baptiste Durand-Bret c6ffc47c24 Fixed issue 611, updated the French translations. 2011-02-04 13:56:04 +01:00
Loïc d'Anterroches 7cedd4af7a Fixed to not work on a bad key. 2011-02-02 10:34:48 +01:00
Loïc d'Anterroches e31f10e648 Fixed error in the cron job if a key has a bad format. 2011-02-01 20:58:24 +01:00
Patrick Georgi 336faa4503 Monotone's diff parsing conflicts with Subversion's - make sure we
do not let mtn recognize svn's underline that marks a new patch.
2011-01-30 00:14:35 +01:00
Patrick Georgi fbd1ebc294 Add the parent property to a subversion commit. 2011-01-30 00:05:09 +01:00
Thomas Keller 7bcfb806b0 Create valid HTML for the branch and tag list headings (no block
elements inside headings) and also use a lower heading, h3 and not h1
for the subheadings.
Reduce the amount of code duplication with include's for each VCS.
2011-01-27 14:12:42 +01:00
Thomas Keller a188e1b275 Use the proper unicode arrow code point instead of "->". 2011-01-26 02:37:34 +01:00
Thomas Keller 52d76cd146 Make the change list in the commit view a little nicer by styling the
individual change types with colored markers and apply a little help
hint to each of them.
2011-01-26 02:27:08 +01:00
Thomas Keller 4eb34044ff Apply the context area changes to git and hg scm views as well
(partially resolves issue 601)
2011-01-26 01:55:58 +01:00
Thomas Keller ccb1bd33d4 Add a clear button to the tag / branch filter input fields; simplify
the jQuery code a bit.
2011-01-26 01:37:29 +01:00
Thomas Keller ddb05e68a3 Implement IDF_Scm::getExtraProperties 2011-01-24 15:11:12 +01:00
Loïc d'Anterroches 07c94b97f9 Merge branch 'feature-merge-history' into develop 2011-01-24 14:20:49 +01:00
Loïc d'Anterroches 116a7e34db Added the display of the commit parents in the changelog view.
The old commits will not have the parents displayed as already cached in the DB, but the new will get them.
2011-01-24 14:20:33 +01:00
Loïc d'Anterroches 207eb1322d Fixed to correctly store utf-8 string in the git cache. 2011-01-24 11:53:24 +01:00
Loïc d'Anterroches 390c9b5048 Added to collect associated data for the commits in one SQL query. 2011-01-23 17:12:19 +01:00
Loïc d'Anterroches 58804923ef Cosmetic fix to prevent wrapping of the date. 2011-01-23 17:08:07 +01:00
Thomas Keller 296091e977 Fetch parent revisions for monotone commits as well. 2011-01-20 23:45:21 +01:00
Thomas Keller 77ba17eb61 Remove commented-out, unneeded manual includes 2011-01-20 23:40:21 +01:00
Loïc d'Anterroches a489cb15b5 Added the display of the merge history in a commit view. 2011-01-20 10:25:41 +01:00
Thomas Keller 74baebde96 I changed my mind: remote automate access should be prevented for
private projects and we should also take care that the symlink that
enables it is dynamically created / removed when the private flag
changes for a project.
2011-01-18 15:43:35 +01:00
Thomas Keller caac979263 Don't throw an exception in case we do not find a branch cert tacked on
a revision from which we want to start our log from, but simply ignore
that and go over to the next revision. Note that this is also a bit
fragile and should probably be converted to plain mtn au log usage.
2011-01-17 11:57:39 +01:00
Thomas Keller bbc9bd6ef4 Forgot to add the JS filter file. 2011-01-17 01:26:32 +01:00
Thomas Keller d445a65788 Beef up the branch and tag lists as per issue 601 - currently
only for the monotone plugin's source view.
2011-01-17 01:20:33 +01:00
Thomas Keller cdebac0b13 The commit object's diff member changed from "changes" to "diff"
so the "dowload the corresponding diff file" link was broken.
2011-01-15 01:02:22 +01:00