CVS log for loncom/debugging_tools/move_construction_spaces.pl

[BACK] Up to [LON-CAPA] / loncom / debugging_tools

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jun 8 13:08:13 2012 UTC (12 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, HEAD
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +43 -3 lines
- Undo of authoring spaces migration.
  - Detect case where user has a UNIX account and authentication in LON-CAPA
    is filesystem auth (i.e., unix:).
  - Set permissions/ownership in /home/<user> accordingly and add www to
    user's group, if not currently included.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jun 8 13:04:08 2012 UTC (12 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
- Fix permissions for /home/<user> and /home/<user>/public_html when
  moving Authoring Spaces from /home/httpd/html/priv to /home to revert
  from 2.11 to 2.10

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Dec 9 03:01:44 2011 UTC (12 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +69 -16 lines
- Use closedir() to close directories opened using opendir()
- Correct order of arguments for chmod()
- When called in "undo" context use rmdir to remove empty domain directories
  in /home/httpd/html/priv/, then empty /home/httpd/html/priv directory.
- Warning in "undo" context if /home/httpd/html/priv not removed, as
  access to /priv/uname/ (old CSTR location)  will not work until
  priv directory is moved.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Oct 30 16:01:20 2011 UTC (13 years ago) by raeburn
Branches: MAIN
CVS tags: language_hyphenation_merge, language_hyphenation
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +173 -41 lines
- Add fourth way to identify domain for <user> with directory:
    /home/<user>/public_html
    - check for username = <user> in allusers table in loncapa mysql database.
  - Consistent order for entering action to take for users in multiple domains or
    without identified domain:
    1 - skip
    2 - exit
    >= 3 - choose domain.
  - Show which users were skipped at end of completed run.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Oct 27 14:01:21 2011 UTC (13 years ago) by raeburn
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +153 -33 lines
- Retrieval of perlvars moved to BEGIN block.
- Checking domain for /home/<user> now in order:
  (1) Look in nohist_domainroles.db for each domain hosted on server.
  (2) Look in /home/httpd/html/res/<domain> for each domain hosted on server.
  (3) Look in /home/httpd/lonUsers/<domain>1/2/3/<user>/roles.db for
      each domain hosted for author role.
- Where domain is specified from command line
   - sanity checking.
   - request confirmation to proceed with chosen domain.
- Counts of number skipped and number moved/would be moved
  displayed when run complete, logged if mode is: "move".

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Oct 27 03:43:53 2011 UTC (13 years ago) by raeburn
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +19 -15 lines
- Early out if configuration information unavailable for:
  lonUsersDir, lonDocRoot, or lonDaemons perlvars.
- Remove duplicated retrieval of configuration information.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 27 03:31:50 2011 UTC (13 years ago) by raeburn
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +324 -60 lines
- Add LON-CAPA boilerplate (GPL etc.).
- Check if Apache is running -- if so provide directions on stopping httpd, and exit.
- Check if lond is running -- if so provide directions on stopping loncontrol, and exit.
- Add logging to /home/httpd/perl/logs/move_construction_spaces.log
- Moving from /home to /home/httpd/html/priv
  - Checks for "restore_O.sh" files in /home/<user> created by lchtmldir
    - writes content to /home/httpd/perl/logs/move_construction_spaces/<domain>/<user>
    - unlinks restore_O.sh file
  - Removes empty /home/<user> directory unless <user> has UNIX account on the server.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Oct 26 17:35:10 2011 UTC (13 years ago) by raeburn
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +105 -71 lines
- Early out if not run as root.
- &mt().

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Oct 26 14:19:42 2011 UTC (13 years ago) by raeburn
Branches: MAIN
- Script to move Construction Spaces from /home to /home/httpd/html/priv
  and vice versa.
  Work in progress.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>