Changeset 1385


Ignore:
Timestamp:
05/27/19 16:12:05 (5 years ago)
Author:
bln4
Message:

Added further instructions for adding contact information from another user.

Location:
trunk/src/org/expeditee
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/assets/resources-public/framesets/multiuser/1.exp

    r1371 r1385  
    1 V 175
     1V 192
    22U authadmin
    33D 04Jan2019[10:48]
    4 M authadmin
    5 d 23May2019[14:55]
     4M bryce
     5d 27May2019[16:05]
    66B 100 100 39 100
    77Z
     
    1919h 0.0
    2020p 40
     21_sl F
    2122
    2223S T 32
     
    3334h -1.0
    3435p 40
     36_sl F
    3537
    3638S T 38
     
    4749h -1.0
    4850p 40
     51_sl F
    4952
    5053S T 64
     
    6164h -1.0
    6265p 40
     66_sl F
    6367
    6468S T 57
     
    7478h -1.0
    7579p 40
     80_sl F
    7681
    7782S T 1277
     
    9196h 1.0
    9297p 40
     98_sl F
    9399
    94100S T 1252
     
    108114h 1.0
    109115p 40
     116_sl F
    110117
    111118S T 1307
     
    121128h 0.0
    122129p 40
     130_sl F
    123131
    124132S T 614
     
    141149h 1.0
    142150p 41
     151_sl F
    143152
    144153S T 1124
     
    161170h 1.0
    162171p 41
     172_sl F
    163173
    164174S T 519
     
    180190h 1.0
    181191p 41
     192_sl F
    182193
    183194S T 643
     
    200211h 1.0
    201212p 41
     213_sl F
    202214
    203215S T 1219
     
    207219K 0 0 0 100
    208220P 246 452
    209 T      Make Contact
    210 x F
    211 o authadmin
    212 n F
    213 v S
    214 f tr25
    215 t -1.0
    216 b 0.0
    217 m 0.0
    218 M 200
    219 h 1.0
    220 p 41
     221T     Distribute My
     222T    Contact Details
     223X AuthDistributeContactDetails
     224x F
     225o authadmin
     226n F
     227v S
     228f tr25
     229t -1.0
     230b 0.0
     231m 0.0
     232w 200
     233M 200
     234h 1.0
     235p 41
     236_sl F
    221237
    222238S T 595
     
    238254h 1.0
    239255p 41
     256_sl F
    240257
    241258S T 1167
     
    260277h 1.0
    261278p 41
     279_sl F
     280
     281S T 1319
     282s 27May2019[16:05.04]
     283d 0 0 0 100
     284G 100 100 0 100
     285K 0 0 0 100
     286P 246 529
     287T   Add New Contact
     288X AuthAddContactDetails
     289x F
     290o bryce
     291n F
     292v S
     293f tr25
     294t -1.0
     295b 0.0
     296m 0.0
     297w 200
     298M 200
     299h 1.0
     300_sl F
    262301
    263302Z
     
    267306Z
    268307
    269 ActiveTime:01:43:43
     308ActiveTime:01:54:22
    270309DarkTime:02:59:19
    271 56:52:518 752 458 kCTRL
    272 56:53:018 752 458 kCTRL
    273 56:53:051 752 458 kCTRL
    274 56:53:085 752 458 kCTRL
    275 56:53:118 752 458 kCTRL
    276 56:53:134 752 458 kS
     31005:47:304 741 351 kCTRL
     31105:47:465 741 351 kV
     31205:47:863 749 347 Md
     31305:47:950 749 347 Mu
     31405:48:720 753 342 kSHIFT
     31505:48:878 753 342 kA
     31605:49:118 762 347 kC
     31705:49:454 770 347 kT
     31805:49:622 775 347 kI
     31905:49:662 780 347 kO
     32005:49:718 789 347 kN
     32105:49:910 798 347 kSHIFT
     32205:51:367 806 347 Md
     32305:51:510 806 347 Mu
     32405:52:330 385 511 Md
     32505:52:446 385 511 Mu
     32605:53:386 306 529 Ld
     32705:53:513 306 529 Rd
     32805:53:662 306 529 Lu
     32905:53:687 306 529 Ru
     33005:57:713 717 269 Md
     33105:57:880 717 269 Rd
     33205:58:758 717 269 Ru
     33305:58:791 717 269 Mu
     33405:59:769 306 523 Ld
     33505:59:830 306 523 Lu
     33606:04:976 758 396 kSHIFT
     33706:05:095 758 396 kD
     33806:05:304 771 396 kA
     33906:05:410 779 396 kV
     34006:05:449 788 396 kI
     34106:05:575 793 396 kD
     34206:07:207 786 398 Md
     34306:07:302 786 398 Mu
     34406:08:038 316 529 Ld
     34506:08:174 316 529 Lu
     34606:11:175 787 387 Md
     34706:11:303 787 387 Mu
     34806:17:623 834 392 Md
     34906:17:742 834 392 Mu
     35006:18:472 466 644 Md
     35106:18:585 464 644 Mu
     35206:22:650 443 647 Md
     35306:22:807 443 647 Rd
     35406:23:030 443 647 Ru
     35506:23:086 443 647 Mu
  • trunk/src/org/expeditee/auth/Actions.java

    r1384 r1385  
    55import java.io.FileNotFoundException;
    66import java.io.IOException;
     7import java.net.MalformedURLException;
     8import java.net.URI;
     9import java.net.URISyntaxException;
     10import java.net.URL;
    711import java.nio.file.Files;
    812import java.nio.file.Path;
     
    223227                return sb.toString();
    224228        }
     229        public static void AuthAddContactDetails() {
     230                MessageBay.displayMessage("If a user has sent their contact details to you, running this action again with their username attached to your cursor will display instructions to adding those details to your contacts directory.");
     231        }
     232        public static String AuthAddContactDetails(String username) {
     233                StringBuilder sb = new StringBuilder();
     234                String nl = System.getProperty("line.separator");
     235                String me = UserSettings.UserName.get();
     236                String driveSharedWithMeString = "https://drive.google.com/drive/shared-with-me";
     237                try {
     238                        URI driveSharedWithMeURL = new URL(driveSharedWithMeString).toURI();
     239                        Desktop.getDesktop().browse(driveSharedWithMeURL);
     240                        sb.append("1. We have opened Google Drive to the 'Shared With Me' page in your browser.  Right click on " + username + "-credentials and click on 'Add To My Drive'." + nl);
     241                } catch (IOException | URISyntaxException e) {
     242                        sb.append("1. Open your web browser to " + driveSharedWithMeString + ".  Right click on " + username + "-credentials and click on 'Add To My Drive'." + nl);
     243                }
     244               
     245                sb.append("2. Click organise and navigate the dialog to resources-" + me + "/contacts and click the 'Move Here' button to relocate your copy of " + username + "'s credentials folder.");
     246               
     247                return sb.toString();
     248        }
    225249        //      End Making Contacts Actions
    226250       
Note: See TracChangeset for help on using the changeset viewer.